This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Preserve PLT flag in copy_indirect


On Wed, Aug 20, 2003 at 07:05:04PM +0930, Alan Modra wrote:
> On Mon, Aug 18, 2003 at 10:05:42PM -0400, Daniel Jacobowitz wrote:
> > Is the patch right
> 
> Possibly.  It's unusual to link the shared lib before your normal object
> files, but ought to work.

I don't think the order matters for the bug I was seeing.  Could be
wrong...

> > and what's still wrong on i386?
> 
> x86 doesn't have branch specific relocs.  check_relocs can't know that a
> call using an R_386_PC32 reloc is any different from a pcrel reference
> to a variable.

Hmm, so it's just not solveable on x86.  I think I'm going to fix the
library and not worry about it, then.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]