public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Correct absolute (SHN_ABS) symbol run-time calculation [BZ #19818]
@ 2018-02-20 18:40 Maciej W. Rozycki
  2018-02-20 18:52 ` [PATCH v2 1/2] elf: Unify symbol address " Maciej W. Rozycki
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Maciej W. Rozycki @ 2018-02-20 18:40 UTC (permalink / raw)
  To: libc-alpha; +Cc: H.J. Lu, Alan Modra, Cary Coutant

Hi,

 This mini patch series addresses the issue filed as BZ #19818 where 
absolute (SHN_ABS) symbol are incorrectly relocated by the base address at 
run time, whereas their values are supposed to remain unaffected by 
relocation.

 As we have run-time symbol address calculations (often made in a slightly 
but insignificantly different way) scattered throughout our tree I have 
decided to unify all that code, hopefully making it cleaner and easier to 
maintain, and made it patch 1/2 in this series.  Then patch 2/2 is the 
actual fix, which owing to 1/2 has become a one-liner.

 This updated v2 addresses Andreas's concern and an issue with dladdr(3) 
family of calls.  It has been regression-tested with the `i686-linux' and 
`x86_64-linux' targets.

 See individual change descriptions for details.

  Maciej

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

end of thread, other threads:[~2018-04-04 22:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-20 18:40 [PATCH v2 0/2] Correct absolute (SHN_ABS) symbol run-time calculation [BZ #19818] Maciej W. Rozycki
2018-02-20 18:52 ` [PATCH v2 1/2] elf: Unify symbol address " Maciej W. Rozycki
2018-03-07 20:23   ` Adhemerval Zanella
2018-04-04 22:18     ` Maciej W. Rozycki
2018-02-20 20:24 ` [PATCH v2 2/2] elf: Correct absolute (SHN_ABS) symbol " Maciej W. Rozycki
2018-03-07 20:25   ` Adhemerval Zanella
2018-03-08 15:40     ` Florian Weimer
2018-04-04 22:20       ` Maciej W. Rozycki
2018-03-01 15:15 ` [PING][PATCH v2 0/2] " 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).