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 0/5] [GOLD] PowerPC pc-relative support


This patch series adds support to gold for the new PowerPC prefix
instructions with pc-relative addressing.  (See git dd7efa7915 and
following for binutils and ld.bfd patches.)  As with the bfd linker,
I've added support for notoc calls even when pc-relative insns are not
available, but this won't often be needed as notoc calls really only
make sense when generating pc-relative code.

PATCH 2/5 makes changes to gold's target-independent .eh_frame
support, but powerpc is the only user of that code.

The patch series has been compiled with current gcc and older gcc that
defaults to -std=c++98.  Testing so far is fairly light.  I'll be
running more rigorous simulator tests before committing.

Alan Modra (5):
  [GOLD] PowerPC64 ELFv2 notoc support
  [GOLD] PowerPC notoc eh_frame
  [GOLD] PowerPC relocations for prefix insns
  [GOLD] PowerPC got reloc optimisation
  [GOLD] PowerPC R_PPC64_PCREL_OPT support

 elfcpp/powerpc.h |   22 +
 gold/ehframe.cc  |   47 +-
 gold/ehframe.h   |   25 +-
 gold/layout.cc   |    9 +-
 gold/layout.h    |    6 +-
 gold/powerpc.cc  | 1872 +++++++++++++++++++++++++++++++++++++---------
 6 files changed, 1583 insertions(+), 398 deletions(-)


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