This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH v2 0/3] Fixes for NT weak externals
- From: Octavian Purdila <octavian dot purdila at intel dot com>
- To: binutils at sourceware dot org
- Cc: Octavian Purdila <octavian dot purdila at intel dot com>
- Date: Mon, 26 Oct 2015 15:57:32 +0200
- Subject: [PATCH v2 0/3] Fixes for NT weak externals
- Authentication-results: sourceware.org; auth=none
This patch set fixes a few issues with NT weak externals.
Changes since v1:
* Use a different approach to fix the linker error when dealing with
NT weak externals. Instead of changing the generic linker state
machine we change the coff linker relocation code to look for weak
externals even for undefined symbols.
Octavian Purdila (3):
[BFD][COFF] Fix linker error when using NT weak externals
[BFD/GAS] Relocate aux entries for NT weak externals
[BFD/OBJCOPY] Convert NT weak externals to locals
bfd/ChangeLog | 23 +++++++++++++++
bfd/coffcode.h | 1 +
bfd/coffgen.c | 43 ++++++++++++++++++++++++++++
bfd/cofflink.c | 79 ++++++++++++++++++++++++++++++---------------------
bfd/libcoff.h | 2 ++
binutils/ChangeLog | 6 ++++
binutils/objcopy.c | 5 +++-
gas/ChangeLog | 5 ++++
gas/config/obj-coff.c | 1 +
9 files changed, 132 insertions(+), 33 deletions(-)
--
2.1.0