public inbox for
 help / color / mirror / Atom feed
* GNU Linker on MIPS - Interesting observation...
@ 1999-02-04 23:28 Koundinya.K
  0 siblings, 0 replies; only message in thread
From: Koundinya.K @ 1999-02-04 23:28 UTC (permalink / raw)
  To: ian, ralf; +Cc: gas2, bfd

Dear Ian & Ralf,

	First of all thanks for all your responses to mails.

I got the most recent binutils compiled and running here on my MIPS System. 
As again I took the famous "hello world" test program compiled it to test 
the linker. I got the error....

dynamic linker: ./test: unidentifiable procedure reference (address = 
0x40062cd8) Killed

Then after trying to trace at the system call level using the truss utility 
that I have , I added an explicit _exit(0) in the test program and compiled 

To my big surprise program executed normally Which meant that the linker did 
not get killed. For the first time I could see the linker produce output on 
my system.

	printf("Hello World !!\n");

gcc -v test.c -o test

------------ log of test.c compilation ## Earlier stuff not shown 

 /usr/local/mips-dde-sysv4.2MP/bin/as -v -o /var/tmp/ccEYpuNk.o 
GNU assembler version 990118 (mips-dde-elf) using BFD version 990118
 /usr/local/mips-dde-sysv4.2MP/bin/ld -V -Qy -o test /lib/crt1.o /lib/crti.o 
/lib/values-Xa.o -L/usr/local/lib/gcc-lib/mips-dde-sysv4.2MP/egcs-2.91.57 
-L/usr/local/lib /var/tmp/ccEYpuNk.o -lgcc -L/usr/lib -lc -lgcc /lib/crtn.o
GNU ld version 2.9.4 (with BFD 990118)
  Supported emulations:

-------------------Log ends here --------------------------------------------

star:1185 [/tmp] ./test 
Hello World !!

Could there be any problem with the start up files that are being used ???.

I would be happy If you could provide me with any comments of your's.

Thanks again in advance. 

With best regards


	I think i am Missing out one some of the discussion that went on ...I have 
not received any mail like this... said:
-> On Tue, Feb 02, 1999 at 09:37:17PM -0500, Ian Lance Taylor wrote:
->    > I don't know of any system which uses a zero value for __start.
-> Most
->    > systems protect the zero page to catch null pointer dereferences.
->  Why
->    > do you expect __start to be zero?  What sorts of problems are you
->    > seeing?

Has this mail been posted to the gas2 or bfd lists. Or is it between You 
people.. I did not receive any mails regarding this discussion . You could 
probably forward those mails to me if you don't mind.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-02-04 23:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-04 23:28 GNU Linker on MIPS - Interesting observation Koundinya.K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).