This change
2009-12-25 Frank Everdij<f.p.x.everdij@tudelft.nl>
[...]
* src/mips/n32.S: Put '#ifdef linux' around '.abicalls' and '.eh_frame'
since they are Linux/GNU Assembler specific.
broke the N64 libffi.so build on mips-sgi-irix6.5:
ld64: FATAL 45 : Non-PIC (src/mips/.libs/n32.o) used in shared/call_shared link.
collect2: ld returned 4 exit status
make[7]: *** [libffi.la] Error 1
.abicalls was introduced in 2005 to fix just that error (PR
libgcj/21943). I'm now checking for __GNUC__ instead of linux here,
since GCC on IRIX 5/6 requires gas, which supports both, and Linux uses
gas anyway.
The patch allowed the bootstrap to continue.
Ok for mainline?