Skip to content

Commit 80cec14

Browse files
Russell KingRussell King
authored andcommitted
[ARM] Add -march=all to assembly file build in arch/arm/boot/compressed
This allows assembly files to be crafted to cover all ARM CPU types rather than erroring out on instructions only in later CPUs. We are careful in these files to only execute CPU specific code when the CPU ID says we can. Signed-off-by: Russell King <[email protected]>
1 parent fbd3bdb commit 80cec14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/boot/compressed/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
7676
endif
7777

7878
EXTRA_CFLAGS := -fpic -fno-builtin
79-
EXTRA_AFLAGS :=
79+
EXTRA_AFLAGS := -Wa,-march=all
8080

8181
# Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via
8282
# linker symbols. We only define initrd_phys and params_phys if the

0 commit comments

Comments
 (0)