Problems with the GNU linker....

Tue Jan 5 03:17:00 GMT 1999

Hi all,
	I have been using the egcs-2.91.57 19980901 (egcs-1.1 release) gcc and g++ 
compilers and all the other tools on my system which is MIPS (R4000) based 
running the SVR4.2 UNIX on the Supermax Business Server for a few months now 
and they seem to work fine.

	How ever I am still not able to use the GNU linker. For making the egcs 
port I used the native linker ( from the EPC - Edinberg portable compiler 
and Tools) and it took me 6 months !!. I am not able to generate the dynamic 
libraries. The GNU assembler (gas) and the native ld pair does not seem to 

So again I decided to try making the latest ld from the most recent 
snapshots from

For getting the ld compiled I used the following in the ld/configure.tgt as 

	mips-*-sysv*)           targ_emul=elf32bsmip ;;

Got the ld compiled. But when I try to compile the famous Hello world 
program I get

--------------- Output of test --------------------------------------------
Hello World
dynamic linker: ./test: unidentifiable procedure reference (address = 


I tried to use the readelf utility , but got no clues.

The ldd -d ./test shows that that the C libraries are dynamically loaded.

Is the support for the GNU linker on most of the MIPS platforms still not 
complete. ? Is this a known problem ?. Please help me. Are there any patches 
available ?.

Thanks a lot for any help received.

With best regards


More information about the Gas2 mailing list