This is the mail archive of the binutils@sourceware.org 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]

[PATCH 0/3] BFD, MIPS: Fix the handling of branch relocations against absolute symbols


Hi,

 This small patch set fixes issues with limited-range PC-relative MIPS 
branch relocations against absolute local symbols, especially on REL 
targets.  Being PC-relative they cannot be resolved in GAS and have to be 
deferred to the static link time even though the symbol is constant and 
the limited range and LSB truncation means we need to be careful and avoid 
an overflow or losing bits.  As three independent issues need addressing 
here for a complete fix, I have split the change into self-contained 
parts.

 As 1/3 pokes at bfd/reloc.c and therefore requires a general maintainer's 
approval I'm sending these changes as an RFA, although I consider input 
for 2/3 and 3/3 optional.

  Maciej


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