This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 v2 0/2] Correct absolute (SHN_ABS) symbol run-time calculation [BZ #19818]


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


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