This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mn10300: relaxing vs section merging
On May 27, 2004, DJ Delorie <dj@redhat.com> wrote:
> The problem I've run into is that we want to fixup relocations that
> happen in SEC_CODE segments, regardless of where they point
?!?
I don't think so. Unless I failed to describe the PIC jump table
problem properly, or I misremember where such jump tables are located
(I think it's in the text segment), this won't do you much good.
> but NOT fixups that happen in non-code segments. Unfortunately,
> fixP's don't have a reference to where they're coming from, just
> where they're going to.
Yeah, I vaguely remember this dilemma myself. More than once I
considered adding a new variant of tc_fix_adjustable that took an
additional argument, but never got around to implementing it.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}