You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
7 years ago
..
LzmaDecode.c ar71xx: add lzma loader 13 years ago
LzmaDecode.h ar71xx: add lzma loader 13 years ago
LzmaTypes.h ar71xx: add lzma loader 13 years ago
Makefile ar71xx: fix lzma-loader build with glibc 7 years ago
ar71xx_regs.h ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND 12 years ago
board.c ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND 12 years ago
cache.c ar71xx: add lzma loader 13 years ago
cache.h ar71xx: add lzma loader 13 years ago
cacheops.h ar71xx: add lzma loader 13 years ago
config.h ar71xx: add lzma loader 13 years ago
cp0regdef.h ar71xx: add lzma loader 13 years ago
head.S ar71xx: fix lzma loader performance issues 7 years ago
loader.c ar71xx: fix lzma-loader kernel command line passing 9 years ago
loader.lds ar71xx: add lzma loader 13 years ago
loader2.lds ar71xx/image: relink loader.elf image to LOADADDR 12 years ago
lzma-data.lds ar71xx: add lzma loader 13 years ago
printf.c ar71xx: add lzma loader 13 years ago
printf.h ar71xx: add lzma loader 13 years ago