From: Jeffrey A Law <law@cygnus.com>
To: David Huggins-Daines <dhd@linuxcare.com>
Cc: Paul Bame <bame@noam.fc.hp.com>,
Alan Modra <amodra@puffin.external.hp.com>,
parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] Non-bootable kernel problems
Date: Thu, 13 Jul 2000 13:20:35 -0600 [thread overview]
Message-ID: <2654.963516035@upchuck> (raw)
In-Reply-To: Your message of 13 Jul 2000 17:14:55 EDT. <87sntd20mo.fsf@linuxcare.com>
In message <87sntd20mo.fsf@linuxcare.com>you write:
> David Huggins-Daines <dhd@linuxcare.com> writes:
>
> > It looks like binutils is incorrectly treating those fields as
> > unsigned, or has an off by one error, or something similar. The
>
> No. My mistake. binutils is doing the right thing, the problem is
> that, due to the way the LR' and RR' field selectors work, there is a
> bad interaction between cases in which the DPREL21L and DPREL14R (or
> any 21L and 14R relocations actually) are "split" like this, and ld
> -r, which tends to increase the addends to a point where LR' and RR'
> have different effects (LR' expects RR' to be positive, but it isn't).
> Then during final relocation, the wrong thing happens.
How/why is ld -r changing the addends? That seems wrong at first glance.
You might look at how the HP SOM tools handle addends during ld -r;
I suspect they don't change.
To the best of my knowledge GCC is using LR/RR in the prescribed way.
jeff
next prev parent reply other threads:[~2000-07-14 16:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-12 23:35 [parisc-linux] Non-bootable kernel problems Richard Hirst
2000-07-13 17:14 ` Paul Bame
2000-07-13 18:46 ` David Huggins-Daines
2000-07-13 21:14 ` David Huggins-Daines
2000-07-13 19:20 ` Jeffrey A Law [this message]
2000-07-14 16:10 ` David Huggins-Daines
2000-07-14 16:39 ` Jeffrey A Law
2000-07-14 18:53 ` David Huggins-Daines
2000-07-14 20:40 ` David Huggins-Daines
2000-07-14 22:14 ` GAS fix for reloc problems (was Re: [parisc-linux] Non-bootable kernel problems) David Huggins-Daines
2000-07-15 8:33 ` Alan Modra
2000-07-15 1:31 ` [parisc-linux] Non-bootable kernel problems Alan Modra
2000-07-13 23:45 ` David Huggins-Daines
2000-07-14 0:44 ` Alan Modra
2000-07-14 16:02 ` Jeffrey A Law
2000-07-14 16:02 ` David Huggins-Daines
2000-07-14 16:37 ` Jeffrey A Law
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=2654.963516035@upchuck \
--to=law@cygnus.com \
--cc=amodra@puffin.external.hp.com \
--cc=bame@noam.fc.hp.com \
--cc=dhd@linuxcare.com \
--cc=parisc-linux@thepuffingroup.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