[RFC PATCH 0/4] oFixes for NT weak externals

Octavian Purdila octavian.purdila@intel.com
Thu Oct 22 16:11:00 GMT 2015


Hi,

This patch series contains (mostly linker) fixes for weak
externals. Besides the examples mentioned in the commit messages, they
have been tested by building an updated version of Linux kernel
library [1] which is a special port of Linux and which uses weak
symbols extensively.

[1] https://github.com/lkl/lkl-linux-2.6


Octavian Purdila (4):
  [BFD][LD] Fix linker error when using NT weak externals
  Fix relocations for NT weak external symbols
  [BFD] Relocate aux entries for NT weak externals
  Convert NT weak externals to locals

 bfd/ChangeLog         | 23 +++++++++++++++++++++++
 bfd/coffcode.h        |  1 +
 bfd/coffgen.c         | 43 +++++++++++++++++++++++++++++++++++++++++++
 bfd/cofflink.c        | 17 +++++++++++++----
 bfd/libcoff.h         |  2 ++
 bfd/linker.c          |  4 ++--
 binutils/ChangeLog    |  6 ++++++
 binutils/objcopy.c    |  5 ++++-
 gas/ChangeLog         |  5 +++++
 gas/config/obj-coff.c |  1 +
 10 files changed, 100 insertions(+), 7 deletions(-)

-- 
2.1.0



More information about the Binutils mailing list