This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix s390 as
On Tue, Jan 21, 2003 at 07:27:35PM -0500, Jakub Jelinek wrote:
> On Wed, Jan 22, 2003 at 10:50:20AM +1030, Alan Modra wrote:
> > On Wed, Jan 22, 2003 at 12:35:25AM +0100, Jakub Jelinek wrote:
> > > The following patch fixes this, though I'm not sure if at least
> > > a S_IS_EXTERNAL (fixp->fx_addsy) check shouldn't be done in write.c
> > > directly.
> >
> > Tried that at one stage. Ran into problems with debug info if I
> > remember correctly. ie. gcc was emitting difference expressions that
> > needed to be resolved.
>
> So should it be done for @something only on s390 (ie. copy
> tc_s390_force_relocation into tc_s390_force_relocation_sub_same,
> return 0 first if it is local symbol and kill the S_FORCE_RELOC
> at the end)?
I'm not sure. See what happens with debug info for a weak function,
stabs as well as dwarf.
--
Alan Modra
IBM OzLabs - Linux Technology Centre