This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] Accept absolute symbols whose value is zero [BZ #23307]
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: <libc-alpha at sourceware dot org>
- Cc: Alan Modra <amodra at gmail dot com>
- Date: Mon, 18 Jun 2018 19:06:16 +0100
- Subject: [PATCH 0/2] Accept absolute symbols whose value is zero [BZ #23307]
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