[PATCH v2 0/3] Fixes for NT weak externals

Octavian Purdila octavian.purdila@intel.com
Mon Oct 26 13:57:00 GMT 2015


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



More information about the Binutils mailing list