public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@airs.com>
To: Paul Brook <paul@codesourcery.com>
Cc: binutils@sources.redhat.com, Julian Brown <julian@codesourcery.com>
Subject: Re: [PATCH] Indicate dependency on personality routines for ARM EHABI
Date: Wed, 09 Feb 2005 17:32:00 -0000	[thread overview]
Message-ID: <m3acqdllhg.fsf@gossamer.airs.com> (raw)
In-Reply-To: <200502091646.42378.paul@codesourcery.com>

Paul Brook <paul@codesourcery.com> writes:

> On Wednesday 09 February 2005 16:32, Ian Lance Taylor wrote:
> > More generally, I think it's kind of dubious to use a zero reloc to
> > mean anything at all.  And why do you need a relocation entry?  Why is
> > it not sufficient to enter the symbol in the symbol table as an
> > undefined symbol? 
> 
> Isn't a linker allowed to discard symbols if nothing uses them?

An undefined symbol in the symbol table will normally be enough to
bring in an object from a static library.

> > Is the use of a zero reloc mandated by the ARM ABI? 
> 
> Yes. The ABI defines and requires the use of a zero reloc (R_ARM_NONE).

Then, this approach is fine in any case.  But it should still use
BFD_RELOC_NONE, I think.

Ian

  reply	other threads:[~2005-02-09 16:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 17:06 Julian Brown
2005-02-09 17:09 ` Ian Lance Taylor
2005-02-09 17:24   ` Paul Brook
2005-02-09 17:32     ` Ian Lance Taylor [this message]
2005-02-09 19:43     ` Andreas Schwab
2005-02-09 17:28   ` Richard Earnshaw
2005-02-09 17:42     ` Ian Lance Taylor
2005-02-09 18:26       ` Richard Earnshaw
2005-02-09 19:02   ` Julian Brown
2005-02-09 20:27     ` Ian Lance Taylor
2005-02-09 20:35     ` Richard Earnshaw
2005-02-09 21:48       ` Julian Brown
2005-02-09 22:21       ` Julian Brown
2005-02-10 14:07         ` Richard Earnshaw
2005-02-09 17:12 ` Richard Earnshaw

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=m3acqdllhg.fsf@gossamer.airs.com \
    --to=ian@airs.com \
    --cc=binutils@sources.redhat.com \
    --cc=julian@codesourcery.com \
    --cc=paul@codesourcery.com \
    /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).