From: "Koundinya.K" <kk@ddeorg.soft.net>
To: ian@cygnus.com, ralf@uni-koblenz.de
Cc: gas2@cygnus.com, bfd@cygnus.com
Subject: GNU Linker on MIPS - Interesting observation...
Date: Thu, 04 Feb 1999 23:28:00 -0000 [thread overview]
Message-ID: <199902050733.NAA06926@bombay.ddeorg.soft.net> (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
it.
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.
test.c
******
main()
{
printf("Hello World !!\n");
_exit(0);
}
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
/var/tmp/ccmtjbG6.s
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:
elf32bsmip
-------------------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
Koundinya
P.S:
I think i am Missing out one some of the discussion that went on ...I have
not received any mail like this...
ian@cygnus.com 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:28 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199902050733.NAA06926@bombay.ddeorg.soft.net \
--to=kk@ddeorg.soft.net \
--cc=bfd@cygnus.com \
--cc=gas2@cygnus.com \
--cc=ian@cygnus.com \
--cc=ralf@uni-koblenz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).