ar71xx: fix build of lzma-loader with binutils 2.25.1
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 12 Sep 2015 18:57:37 +0000 (18:57 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 12 Sep 2015 18:57:37 +0000 (18:57 +0000)
commitf4aed4f5a6ef63bdc922a8c69cbd87833f324850
tree55fbb9426a281945c3588530fc3ae3f53bc10ef9
parentc342762e71205c0fe6ad6db8a2b734235c768345
ar71xx: fix build of lzma-loader with binutils 2.25.1

To make the lzma-loader build with binutils 2.25.1 it is needed to
remove the .MIPS.abiflags section otherwise I get the following compile
error:

mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S loader loader.bin
mips-openwrt-linux-musl-objcopy: Warning: Writing section `.text' to huge (ie negative) file offset 0xffffffff80a00000.
mips-openwrt-linux-musl-objcopy:loader.bin[.text]: File truncated

This should close #20487.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46893 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/image/lzma-loader/src/Makefile