From d0542498a0382eeb0776ea4f04d4f663b7d50f21 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 13 Feb 2013 15:03:41 -0800 Subject: [PATCH] Nothing uses ARCH_ARM_HAVE_CLZ or ARCH_ARM_HAVE_FFS. Because every ARM architecture we've ever supported has had both. Change-Id: I607b56416e65073c5ac1b85fb17c092516e02573 --- core/combo/arch/arm/armv4t.mk | 23 ----------------------- core/combo/arch/arm/armv5te.mk | 2 -- core/combo/arch/arm/armv7-a-neon.mk | 2 -- core/combo/arch/arm/armv7-a.mk | 2 -- 4 files changed, 29 deletions(-) delete mode 100644 core/combo/arch/arm/armv4t.mk diff --git a/core/combo/arch/arm/armv4t.mk b/core/combo/arch/arm/armv4t.mk deleted file mode 100644 index abc8fa2dd..000000000 --- a/core/combo/arch/arm/armv4t.mk +++ /dev/null @@ -1,23 +0,0 @@ -# Configuration for Linux on ARM. -# Generating binaries for the ARMv4T architecture and higher -# -# Supporting armv4 (without thumb) does not make much sense since -# it's mostly an obsoleted instruction set architecture (only available -# in StrongArm and arm8). Supporting armv4 will require a lot of conditional -# code in assembler source since the bx (branch and exchange) instruction is -# not supported. -# -$(warning ARMv4t support is currently a work in progress. It does not work right now!) -ARCH_ARM_HAVE_THUMB_SUPPORT := false -ARCH_ARM_HAVE_THUMB_INTERWORKING := false -ARCH_ARM_HAVE_64BIT_DATA := false -ARCH_ARM_HAVE_HALFWORD_MULTIPLY := false -ARCH_ARM_HAVE_CLZ := false -ARCH_ARM_HAVE_FFS := false - -DEFAULT_TARGET_CPU := arm920t - -# Note: Hard coding the 'tune' value here is probably not ideal, -# and a better solution should be found in the future. -# -arch_variant_cflags := -march=armv4t -mtune=arm920t -D__ARM_ARCH_4T__ diff --git a/core/combo/arch/arm/armv5te.mk b/core/combo/arch/arm/armv5te.mk index 29aada6d9..1c25e365e 100644 --- a/core/combo/arch/arm/armv5te.mk +++ b/core/combo/arch/arm/armv5te.mk @@ -5,8 +5,6 @@ ARCH_ARM_HAVE_THUMB_SUPPORT := true ARCH_ARM_HAVE_FAST_INTERWORKING := true ARCH_ARM_HAVE_64BIT_DATA := true ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true -ARCH_ARM_HAVE_CLZ := true -ARCH_ARM_HAVE_FFS := true # Note: Hard coding the 'tune' value here is probably not ideal, # and a better solution should be found in the future. diff --git a/core/combo/arch/arm/armv7-a-neon.mk b/core/combo/arch/arm/armv7-a-neon.mk index 32273ff50..d8ef49933 100644 --- a/core/combo/arch/arm/armv7-a-neon.mk +++ b/core/combo/arch/arm/armv7-a-neon.mk @@ -5,8 +5,6 @@ ARCH_ARM_HAVE_THUMB_SUPPORT := true ARCH_ARM_HAVE_FAST_INTERWORKING := true ARCH_ARM_HAVE_64BIT_DATA := true ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true -ARCH_ARM_HAVE_CLZ := true -ARCH_ARM_HAVE_FFS := true ARCH_ARM_HAVE_ARMV7A := true ARCH_ARM_HAVE_TLS_REGISTER := true ARCH_ARM_HAVE_VFP := true diff --git a/core/combo/arch/arm/armv7-a.mk b/core/combo/arch/arm/armv7-a.mk index 220f7ec5e..7c33a5acc 100644 --- a/core/combo/arch/arm/armv7-a.mk +++ b/core/combo/arch/arm/armv7-a.mk @@ -5,8 +5,6 @@ ARCH_ARM_HAVE_THUMB_SUPPORT := true ARCH_ARM_HAVE_FAST_INTERWORKING := true ARCH_ARM_HAVE_64BIT_DATA := true ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true -ARCH_ARM_HAVE_CLZ := true -ARCH_ARM_HAVE_FFS := true ARCH_ARM_HAVE_ARMV7A := true ARCH_ARM_HAVE_TLS_REGISTER := true ARCH_ARM_HAVE_VFP := true