]> sourceware.org Git - newlib-cygwin.git/commitdiff
include/elf/
authorAlan Modra <modra@gmail.com>
Fri, 25 Jun 2010 05:20:56 +0000 (05:20 +0000)
committerAlan Modra <modra@gmail.com>
Fri, 25 Jun 2010 05:20:56 +0000 (05:20 +0000)
* ppc64.h (R_PPC64_LO_DS_OPT): Define.
bfd/
* elf64-ppc.c (toc_skip_enum): Define.
(ppc64_elf_edit_toc): Use two low bits of skip array as markers.
Optimize largetoc sequences.
(adjust_toc_syms): Update for skip array change.
(ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT.
ld/
* emultempl/ppc64elf.em (prelim_size_sections): New function.
(ppc_before_allocation): Use it.  Size sections before toc edit too.

include/elf/ChangeLog
include/elf/ppc64.h

index 2442c50861c885faaf7b4c5cf670f02b4827c7ae..8a8e118cac37e153ed1e4d3855ccbf59789639ef 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-25  Alan Modra  <amodra@gmail.com>
+
+       * ppc64.h (R_PPC64_LO_DS_OPT): Define.
+
 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
 
        * tic6x-attrs.h: New.
index dfd775da1c484873837e5dd54963ba79d33440cf..a18edd68fcef0f0ebf21a944ab58e4cf2e1b1831 100644 (file)
@@ -140,6 +140,10 @@ START_RELOC_NUMBERS (elf_ppc64_reloc_type)
   RELOC_NUMBER (R_PPC64_TLSGD,            107)
   RELOC_NUMBER (R_PPC64_TLSLD,            108)
 
+#ifndef RELOC_MACROS_GEN_FUNC
+/* Fake relocation only used internally by ld.  */
+  RELOC_NUMBER (R_PPC64_LO_DS_OPT,        128)
+#endif
 /* Support STT_GNU_IFUNC plt calls.  */
   RELOC_NUMBER (R_PPC64_JMP_IREL,         247)
   RELOC_NUMBER (R_PPC64_IRELATIVE,        248)
This page took 0.034224 seconds and 5 git commands to generate.