mbox series

[0/2] Accept absolute symbols whose value is zero [BZ #23307]

Message ID alpine.DEB.2.00.1806181533590.20622@tp.orcam.me.uk
Headers show
Series Accept absolute symbols whose value is zero [BZ #23307] | expand

Message

Maciej W. Rozycki June 18, 2018, 6:06 p.m. UTC
Hi,

 With a prototype fix for PR ld/21375 I have triggered another issue with 
the dynamic loader, where symbols whose `st_value' is zero are silently 
ignored in lookup.  Consequently references to a global absolute symbol 
whose value is zero cannot be resolved.

 I have created a small patch series to address this problem.  The first 
part is the actual fix.  The second part is an ABI bump, so that the 
linker can set the minimum ABI required for an absolute symbol created to 
address the issue covered in PR ld/21375 and make old dynamic loaders fail 
with "ELF file ABI version invalid" rather than confusing "undefined 
symbol".

 See the individual patch descriptions for further details.

  Maciej