public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Ian Lance Taylor <iant@google.com>
Cc: Fumiaki Isoya <isoyaf@gmail.com>, gcc@gcc.gnu.org
Subject: Re: The Extension to ELF
Date: Wed, 08 Aug 2012 13:34:00 -0000	[thread overview]
Message-ID: <20120808133418.GB18489@redhat.com> (raw)
In-Reply-To: <CAKOQZ8wWzn1te8BkeF16ZXmYpnoraH-gY68k6WNR0BwMML9cmQ@mail.gmail.com>

Hi -

On Wed, Aug 08, 2012 at 06:23:52AM -0700, Ian Lance Taylor wrote:
> [...]
> > This has been merged into gnu binutils some time ago, though is not
> > widely known, and only used by a single cgen-based gas port.  See the
> > OBJ_COMPLEX_RELC conditionals in gas/*, the BSF_*RELC/STT_RELC logic
> > in bfd/*.
> 
> Thanks, I was trying to remember that.
> 
> It is perhaps also worth noting that the IEEE-695 object file format
> supports arbitrary expressions in a number of different ways,
> including for relocation calculations.  The format is not widely used
> today, for more or less that reason.

It is quite different from ELF for sure.  One certainly wouldn't want
to use such a complex-relocation facility unnecessarily - when the
hard-coded normal ones will do the job.  But if you need something
more, and are willing to pay the longer linking time (than what?),
it's worth considering.


- FChE

  reply	other threads:[~2012-08-08 13:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08  5:39 Fumiaki Isoya
2012-08-08  6:32 ` Ian Lance Taylor
2012-08-08  7:47   ` Fumiaki Isoya
2012-08-08 11:23   ` Frank Ch. Eigler
2012-08-08 13:24     ` Ian Lance Taylor
2012-08-08 13:34       ` Frank Ch. Eigler [this message]
2012-08-08 15:42     ` Fumiaki Isoya
2012-08-08 16:23       ` Frank Ch. Eigler
2012-08-08 17:36         ` Fumiaki Isoya

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=20120808133418.GB18489@redhat.com \
    --to=fche@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.com \
    --cc=isoyaf@gmail.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).