MIPS linker status

Koundinya.K kk@ddeorg.soft.net
Thu Jul 1 00:00:00 GMT 1999


Hi !,

mark@codesourcery.com said:
-> I've made good progress with the IRIX6 port of GNU ld.  I expect to
-> have preliminary patches good enough for basic N32 functionality ready
-> for submission within the next two weeks at the outside.

That sounds great !.

-> I've found a lot of problems that look like they would affect IRIX5,
-> and probably other MIPS ABI platforms.  (For example, utter garbage in
-> the GOT.)  Is anybody actually using GNU ld on other MIPS platforms?
-> If so, are they creating dynamic executables?

Yes I have been using the GNU linker for my MIPS ( R4400) based System 
running the SVR4.2 UNIX from Dansk Data Electronik A/S , which is MIPS ABI ( 
version 1.2) Compliant. The reference platform suggested by MIPS ABI is IRIX 
6.2.

But to get the GNU linker working I had to build those startup files ( crt*) 
stuff by myself. But still I am not able to use the linker to generate 
statically linked executables. I am however able to create the dynamic 
executables.

-> I'm curious because I'm wondering when I look at code whether it's
-> just not right for IRIX6, or not right in general.

Though for systems confirming to MIPS ABI version 1.2 , the recommended 
platform is IRIX6.2 or something, but I found that IRIX6* has a different 
way of doing things compared to IRIX5*. I do not have access to any IRIX 
machine here. But reading some documentation made me think so.

Cheers !!

Koundinya

-> Thanks !




More information about the Binutils mailing list