public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] BFD, MIPS: Fix the handling of branch relocations against absolute symbols
@ 2016-07-12  0:29 Maciej W. Rozycki
  2016-07-12  0:30 ` [PATCH, RFA 1/3] BFD: Let targets handle " Maciej W. Rozycki
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Maciej W. Rozycki @ 2016-07-12  0:29 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-14 19:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12  0:29 [PATCH 0/3] BFD, MIPS: Fix the handling of branch relocations against absolute symbols Maciej W. Rozycki
2016-07-12  0:30 ` [PATCH, RFA 1/3] BFD: Let targets handle " Maciej W. Rozycki
2016-07-12  6:15   ` Alan Modra
2016-07-14 19:15     ` Maciej W. Rozycki
2016-07-12  0:31 ` [PATCH 3/3] MIPS/GAS: Don't convert PC-relative REL " Maciej W. Rozycki
2016-07-12  0:31 ` [PATCH 2/3] MIPS/GAS: Keep the ISA bit in the addend of branch relocations Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).