add fix for ldbl C99 math for powerpc32
[buildroot.git] / toolchain / elf2flt / elf2flt.nios2.conditional
blob8442f9385145f3b92062b7d4c2f37bcce2352e31
1 --- elf2flt/elf2flt.ld
2 ++ elf2flt/elf2flt.ld
3 @@ -62,6 +62,10 @@
4                 *(.eh_frame)
5                 *(.gcc_except_table)
6  
7 +               /* nios2 need gp */
8 +               _gp = ABSOLUTE(ALIGN(16) + 0x7ff0);
9 +               PROVIDE(gp = _gp);
11                 /* Microblaze has .sdata and .sbss (small bss).  They must
12                    be contiguous, so please don't move any of this. JW */
13                 _ssrw = . ;