summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-04-04 11:28:12 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2012-04-20 14:55:16 +0100
commit2a521d1e7167375a8329e94ea110965d36968139 (patch)
tree6eca1e1c3044552bc2f4172d1a36f2a6e609dfa7
parenta38d59c28b8fe0ecc00beb4b57b11490105fc1fb (diff)
ARM: makefile: work around toolchain bug in recent versions of binutilsael-12.03.00
Recent upstream versions of binutils fail to assembler compressed/head.S when passed the -march=all option: http://lists.gnu.org/archive/html/bug-binutils/2011-04/msg00162.html The recommended workaround from the tools folks is not to pass the option, and instead let the assembler deduce the CPU type based on the features used by the code. Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r--arch/arm/boot/compressed/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index cf0a64ce4b83..5448c3f94e11 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -123,7 +123,6 @@ KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
endif
ccflags-y := -fpic -fno-builtin -I$(obj)
-asflags-y := -Wa,-march=all
# Supply kernel BSS size to the decompressor via a linker symbol.
KBSS_SZ = $(shell $(CROSS_COMPILE)size $(obj)/../../../../vmlinux | \