public inbox for
 help / color / mirror / Atom feed
From: "Koundinya.K" <>
Subject: GNU Linker on MIPS - Interesting observation...
Date: Thu, 04 Feb 1999 23:27:00 -0000	[thread overview]
Message-ID: <> (raw)

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.

                 reply	other threads:[~1999-02-04 23:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).