public inbox for bfd@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@cygnus.com>
To: kk@ddeorg.soft.net
Cc: bfd@cygnus.com, gas2@cygnus.com
Subject: Re: GNU Linker and mips...
Date: Thu, 11 Feb 1999 08:20:00 -0000	[thread overview]
Message-ID: <199902111620.LAA00234@subrogation.cygnus.com> (raw)
In-Reply-To: <199902111430.UAA16259@bombay.ddeorg.soft.net>

   Date: Thu, 11 Feb 1999 20:00:02 +0530
   From: "Koundinya.K" <kk@ddeorg.soft.net>

	   /* 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
encountering.

Ian

  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:32 Koundinya.K
1999-02-11  8:20 ` Ian Lance Taylor [this message]
1999-02-18  6:39   ` 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:
  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=199902111620.LAA00234@subrogation.cygnus.com \
    --to=ian@cygnus.com \
    --cc=bfd@cygnus.com \
    --cc=gas2@cygnus.com \
    --cc=kk@ddeorg.soft.net \
    /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).