This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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/3] Fixes for NT weak externals


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


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