mbox series

[0/2] Correct absolute (SHN_ABS) symbol run-time calculation [BZ #19818]

Message ID alpine.DEB.2.00.1802191042010.3553@tp.orcam.me.uk
Headers show
Series Correct absolute (SHN_ABS) symbol run-time calculation [BZ #19818] | expand

Message

Maciej W. Rozycki Feb. 19, 2018, 1:06 p.m. UTC
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.

 See individual change descriptions for details.

  Maciej

Comments

Alan Modra Feb. 20, 2018, 12:18 a.m. UTC | #1
On Mon, Feb 19, 2018 at 01:06:25PM +0000, Maciej W. Rozycki wrote:
>  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.

Thanks very much for taking on this task!