public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: DJ Delorie <dj@redhat.com>
Cc: aoliva@redhat.com, binutils@sources.redhat.com
Subject: Re: mn10300: relaxing vs section merging
Date: Wed, 26 May 2004 01:09:00 -0000	[thread overview]
Message-ID: <20040526000238.GL2564@bubble.modra.org> (raw)
In-Reply-To: <200405252357.i4PNvGNv016951@greed.delorie.com>

On Tue, May 25, 2004 at 07:57:16PM -0400, DJ Delorie wrote:
> 
> Hmmm... it doesn't work without that, I suppose we could conditionally
> add it in for cases where _bfd_elf_rela_local_sym twiddles the value.
> Does that sound right?  All the other code in that region is adding in
> the vma and output offset, we need to do so also when we move a merged
> symbol.

Adding the difference between the old addend and the adjusted one, or
something like that, would probably be the right thing to do.  Also,
you have some dead code assigning symval before the rela_local_sym call.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

  reply	other threads:[~2004-05-26  0:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05 18:18 DJ Delorie
2004-05-06  7:14 ` Alexandre Oliva
2004-05-07  1:19   ` DJ Delorie
2004-05-11 22:36     ` Alexandre Oliva
2004-05-12  1:35       ` Alan Modra
2004-05-25 23:14         ` DJ Delorie
2004-05-25 23:31           ` Alan Modra
2004-05-25 23:43             ` DJ Delorie
2004-05-26  0:02               ` Alan Modra
2004-05-26  0:18                 ` DJ Delorie
2004-05-26  1:09                   ` Alan Modra [this message]
2004-05-28  2:15                     ` DJ Delorie
2004-05-28  2:36                       ` Alexandre Oliva
2004-05-28  4:11                         ` Alexandre Oliva
2004-05-28  4:17                           ` DJ Delorie
2004-05-28  4:30                             ` Alexandre Oliva
2004-05-28 21:49                               ` DJ Delorie
2004-05-28  4:55                             ` Alexandre Oliva

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=20040526000238.GL2564@bubble.modra.org \
    --to=amodra@bigpond.net.au \
    --cc=aoliva@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=dj@redhat.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).