openwrtv3/target/linux/ar71xx/image/lzma-loader/src
Jonas Gorski eeeee885fb ar71xx: fix lzma-loader build with glibc
For an unknown reason gcc tries to link in crti.o when building with a
glibc toolchain (this does not happen with other targets). Prevent this
by telling gcc explicitly to not do that.

Fixes the following build error:

/home/jonas/git/lede/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/lib/gcc/mips-openwrt-linux-gnu/5.5.0/../../../../mips-openwrt-linux-gnu/lib/crti.o: In function `_init':
(.init+0x18): relocation truncated to fit: R_MIPS_GOT16 against `__gmon_start__'
/home/jonas/git/lede/staging_dir/toolchain-mips_24kc_gcc-5.5.0_glibc/lib/gcc/mips-openwrt-linux-gnu/5.5.0/../../../../mips-openwrt-linux-gnu/lib/crti.o: In function `_init':
(.init+0x28): relocation truncated to fit: R_MIPS_CALL16 against `__gmon_start__'
collect2: error: ld returned 1 exit status

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2017-12-13 11:34:51 +01:00
..
ar71xx_regs.h ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND 2012-08-02 09:54:41 +00:00
board.c ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND 2012-08-02 09:54:41 +00:00
cache.c ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
cache.h ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
cacheops.h ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
config.h ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
cp0regdef.h ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
head.S ar71xx: fix lzma loader performance issues 2017-10-24 13:24:04 +02:00
loader.c ar71xx: fix lzma-loader kernel command line passing 2015-08-02 15:06:54 +00:00
loader.lds ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
loader2.lds ar71xx/image: relink loader.elf image to LOADADDR 2012-11-20 12:17:41 +00:00
lzma-data.lds ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
LzmaDecode.c ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
LzmaDecode.h ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
LzmaTypes.h ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
Makefile ar71xx: fix lzma-loader build with glibc 2017-12-13 11:34:51 +01:00
printf.c ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00
printf.h ar71xx: add lzma loader 2011-12-05 14:52:25 +00:00