public inbox for
 help / color / mirror / Atom feed
From: Ian Lance Taylor <>
Subject: Re: GNU Linker and mips...
Date: Thu, 11 Feb 1999 08:20:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

   Date: Thu, 11 Feb 1999 20:00:02 +0530
   From: "Koundinya.K" <>

	   /* Note that since the MIPS ABI doesn't provide a means for passing
	    * lm from the stub routines, so we must get this information
	    * someplace else.  Here we just start with the head of the list
	    * which is stored in the global variable _ld_loaded.  This may
	    * not be correct for objects which have DT_SYMBOLIC set.
	    * FIXME!
	   lm = _rt_address_to_lm(_ld_loaded,pc);

Can you find out what _ld_loaded is initialized to?

   But how and why is it happening , I could not think.

It looks like your dynamic linker expects some sort of structure which
the GNU linker is not setting up.

   Could there be any problems with the start up file like crti, crt1 and crtn used.

I doubt it.

   Could using the crtbegin and crtend help. Why don't the MIPS targets use them..

I doubt this would make any difference either.  The Irix targets don't
use crtbegin and crtend because the Irix linker has another mechanism
for ensuring that the global constructors will run.  Your target may
need crtbegin and crtend, but using them won't fix the problem you are


  reply	other threads:[~1999-02-11  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-11  6:48 Koundinya.K
1999-02-11  8:20 ` Ian Lance Taylor [this message]
1999-02-18  6:57   ` Problem with GNU Linker on mips Koundinya.K

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).