Author: jogo Date: 2016-01-24 13:36:15 +0100 (Sun, 24 Jan 2016) New Revision: 48474
Modified: trunk/target/linux/generic/image/relocate/Makefile Log: 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 <[email protected]> Modified: trunk/target/linux/generic/image/relocate/Makefile =================================================================== --- trunk/target/linux/generic/image/relocate/Makefile 2016-01-24 12:36:10 UTC (rev 48473) +++ trunk/target/linux/generic/image/relocate/Makefile 2016-01-24 12:36:15 UTC (rev 48474) @@ -29,7 +29,8 @@ 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 \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
