diff options
author | Jonas Gorski <jogo@openwrt.org> | 2016-01-24 12:36:15 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2016-01-24 12:36:15 +0000 |
commit | 96afb90f3f96c15cd4bfd6a050538292074cf9da (patch) | |
tree | 1f79caa16b8b54bf4e145a49f1ee8e378f698717 /target/linux/generic/image | |
parent | 065a240345e83f3610c4a52dace6bac4e0d4b8ae (diff) | |
download | upstream-96afb90f3f96c15cd4bfd6a050538292074cf9da.tar.gz upstream-96afb90f3f96c15cd4bfd6a050538292074cf9da.tar.bz2 upstream-96afb90f3f96c15cd4bfd6a050538292074cf9da.zip |
generic: fix relocate build with binutils 2.25.1
The new .abiflags section was kept, pushing the appended arguments to
the wrong offset and causing it to read the section instead, making
it fail on boot.
Fix this by dropping this section as well as the other sections.
Closes #21679.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48474
Diffstat (limited to 'target/linux/generic/image')
-rw-r--r-- | target/linux/generic/image/relocate/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic/image/relocate/Makefile b/target/linux/generic/image/relocate/Makefile index 5f6ebeb096..19e701968f 100644 --- a/target/linux/generic/image/relocate/Makefile +++ b/target/linux/generic/image/relocate/Makefile @@ -29,7 +29,8 @@ LD := $(CROSS_COMPILE)ld OBJCOPY := $(CROSS_COMPILE)objcopy OBJDUMP := $(CROSS_COMPILE)objdump -BIN_FLAGS := -O binary -R .reginfo -R .note -R .comment -R .mdebug -S +BIN_FLAGS := -O binary -R .reginfo -R .note -R .comment -R .mdebug \ + -R .MIPS.abiflags -S CFLAGS = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os \ -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 \ |