bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/22791] PLT32 should be used for 32-bit PC-relative branches


From: rafael.espindola at gmail dot com
Subject: [Bug gas/22791] PLT32 should be used for 32-bit PC-relative branches
Date: Tue, 13 Feb 2018 14:00:05 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22791

--- Comment #22 from Rafael Ávila de Espíndola <rafael.espindola at gmail dot 
com> ---
(In reply to H.J. Lu from comment #21)
> (In reply to Rafael Ávila de Espíndola from comment #20)
> > Note that while the assembler change is a nice improvement, the original
> > issue still exists.
> > 
> > In the testcase that I attached before, the call to foo is now assembled to
> > R_X86_64_PLT32, but
> > 
> >         .long   foo - .
> > 
> > Still produces a R_X86_64_PC32 as it has to.
> > 
> > Since foo has default visibility, the linker could create a canonical plt
> > entry to be the runtime address of foo.
> 
> Please open a separate bug for this.

https://sourceware.org/bugzilla/show_bug.cgi?id=22842

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]