]> git.efficios.com Git - deliverable/binutils-gdb.git/commitdiff
ld/
authorAlan Modra <amodra@gmail.com>
Mon, 10 Oct 2011 09:05:41 +0000 (09:05 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 10 Oct 2011 09:05:41 +0000 (09:05 +0000)
* emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes.
ld/testsuite/
* ld-powerpc/relbrlt.d: Update for stub alignment change.
* ld-powerpc/tlsexe.g: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsso.r: Likewise.

ld/ChangeLog
ld/emultempl/ppc64elf.em
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/relbrlt.d
ld/testsuite/ld-powerpc/tlsexe.g
ld/testsuite/ld-powerpc/tlsexe.r
ld/testsuite/ld-powerpc/tlsexetoc.g
ld/testsuite/ld-powerpc/tlsexetoc.r
ld/testsuite/ld-powerpc/tlsso.g
ld/testsuite/ld-powerpc/tlsso.r

index 7be0e7db1f4c505a8d6e5647e58cf738c526dcdb..8257eecd837553563aba7d993931672674bde4bd 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-10  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes.
+
 2011-10-09  Alan Modra  <amodra@gmail.com>
 
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Add
index 9df85c4dfc7346d3bc4a843c0862dad2bc573793..0a49c5ba4cf8dc0c9d3899840379d5ab3559f8c0 100644 (file)
@@ -378,7 +378,8 @@ ppc_add_stub_section (const char *stub_sec_name, asection *input_section)
           | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_KEEP);
   stub_sec = bfd_make_section_anyway_with_flags (stub_file->the_bfd,
                                                 stub_sec_name, flags);
-  if (stub_sec == NULL)
+  if (stub_sec == NULL
+      || !bfd_set_section_alignment (stub_file->the_bfd, stub_sec, 5))
     goto err_ret;
 
   output_section = input_section->output_section;
index 29ae5aea533f8a5c1bdf88d86439869b41cd69b0..6d323de1523e54641c43363fb08007e50b9d1c91 100644 (file)
@@ -1,3 +1,13 @@
+2011-10-10  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/relbrlt.d: Update for stub alignment change.
+       * ld-powerpc/tlsexe.g: Likewise.
+       * ld-powerpc/tlsexe.r: Likewise.
+       * ld-powerpc/tlsexetoc.g: Likewise.
+       * ld-powerpc/tlsexetoc.r: Likewise.
+       * ld-powerpc/tlsso.g: Likewise.
+       * ld-powerpc/tlsso.r: Likewise.
+
 2011-10-08  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/13250
index c12017de6de31f7ff498571b69353c2e1d2e63cf..0f0aae0d178ead28bff7e00bb76d9791ad89dd04 100644 (file)
@@ -7,7 +7,7 @@
 
 Disassembly of section \.text:
 
-0*100000b0 <_start>:
+0*100000c0 <_start>:
 [0-9a-f         ]*:    49 bf 00 2d     bl      .*
 [0-9a-f         ]*: R_PPC64_REL24      \.text\+0x37e003c
 [0-9a-f         ]*:    60 00 00 00     nop
@@ -23,38 +23,38 @@ Disassembly of section \.text:
 
 [0-9a-f         ]*<.*plt_branch.*>:
 [0-9a-f         ]*:    e9 62 80 00     ld      r11,-32768\(r2\)
-[0-9a-f         ]*: R_PPC64_TOC16_DS   \*ABS\*\+0x157f00d8
+[0-9a-f         ]*: R_PPC64_TOC16_DS   \*ABS\*\+0x157f00e8
 [0-9a-f         ]*:    7d 69 03 a6     mtctr   r11
 [0-9a-f         ]*:    4e 80 04 20     bctr
 
 [0-9a-f         ]*<.*long_branch.*>:
 [0-9a-f         ]*:    49 bf 00 10     b       .* <far>
-[0-9a-f         ]*: R_PPC64_REL24      \*ABS\*\+0x137e00ec
+[0-9a-f         ]*: R_PPC64_REL24      \*ABS\*\+0x137e00fc
 
 [0-9a-f         ]*<.*plt_branch.*>:
 [0-9a-f         ]*:    e9 62 80 08     ld      r11,-32760\(r2\)
-[0-9a-f         ]*: R_PPC64_TOC16_DS   \*ABS\*\+0x157f00e0
+[0-9a-f         ]*: R_PPC64_TOC16_DS   \*ABS\*\+0x157f00f0
 [0-9a-f         ]*:    7d 69 03 a6     mtctr   r11
 [0-9a-f         ]*:    4e 80 04 20     bctr
        \.\.\.
 
-0*137e00ec <far>:
+0*137e00fc <far>:
 [0-9a-f         ]*:    4e 80 00 20     blr
        \.\.\.
 
-0*13bf00d0 <far2far>:
+0*13bf00e0 <far2far>:
 [0-9a-f         ]*:    4e 80 00 20     blr
        \.\.\.
 
-0*157e00d4 <huge>:
+0*157e00e4 <huge>:
 [0-9a-f         ]*:    4e 80 00 20     blr
 
 Disassembly of section \.branch_lt:
 
-0*157f00d8 <\.branch_lt>:
+0*157f00e8 <\.branch_lt>:
 [0-9a-f         ]*:    00 00 00 00 .*
-[0-9a-f         ]*: R_PPC64_RELATIVE   \*ABS\*\+0x13bf00d0
-[0-9a-f         ]*:    13 bf 00 d0 .*
+[0-9a-f         ]*: R_PPC64_RELATIVE   \*ABS\*\+0x13bf00e0
+[0-9a-f         ]*:    13 bf 00 e0 .*
 [0-9a-f         ]*:    00 00 00 00 .*
-[0-9a-f         ]*: R_PPC64_RELATIVE   \*ABS\*\+0x157e00d4
-[0-9a-f         ]*:    15 7e 00 d4 .*
+[0-9a-f         ]*: R_PPC64_RELATIVE   \*ABS\*\+0x157e00e4
+[0-9a-f         ]*:    15 7e 00 e4 .*
index 558f39ff050b64b6fe60c6b2d87ef11dea770f38..4fc913ab5f35be05e6102653dc104c5417747c87 100644 (file)
@@ -7,6 +7,6 @@
 .*: +file format elf64-powerpc
 
 Contents of section \.got:
-.* 00000000 10018610 ffffffff ffff8018  .*
+.* 00000000 10018620 ffffffff ffff8018  .*
 .* 00000000 00000000 00000000 00000000  .*
 .* 00000000 00000000 00000000 00000000  .*
index d79248ea11a305560f93e8e140b5e159095cb6dc..fa67483b47dc04f9ea44a6670b3f5888b5cf04e9 100644 (file)
@@ -16,7 +16,7 @@ Section Headers:
  +\[[ 0-9]+\] \.dynstr +.*
  +\[[ 0-9]+\] \.rela\.dyn +.*
  +\[[ 0-9]+\] \.rela\.plt +.*
- +\[[ 0-9]+\] \.text +PROGBITS .* 0+128 0+ +AX +0 +0 +8
+ +\[[ 0-9]+\] \.text +PROGBITS .* 0+128 0+ +AX +0 +0 +32
  +\[[ 0-9]+\] \.tdata +PROGBITS .* 0+38 0+ WAT +0 +0 +8
  +\[[ 0-9]+\] \.tbss +NOBITS .* 0+38 0+ WAT +0 +0 +8
  +\[[ 0-9]+\] \.dynamic +DYNAMIC .* 0+160 10 +WA +4 +0 +8
index 50568865cff7942273d829acd0c809bf16db7511..556b2161386067ef487aba25850c9a995df54521 100644 (file)
@@ -7,7 +7,7 @@
 .*: +file format elf64-powerpc
 
 Contents of section \.got:
-.* 00000000 100185a8 00000000 00000000  .*
+.* 00000000 100185c0 00000000 00000000  .*
 .* 00000000 00000000 00000000 00000000  .*
 .* 00000000 00000000 00000000 00000001  .*
 .* 00000000 00000000 00000000 00000001  .*
index d175aa7077f8f38a4142e519edf081002cb502b9..6af3e98da213389d414eddc12db2e973c1039445 100644 (file)
@@ -16,7 +16,7 @@ Section Headers:
  +\[[ 0-9]+\] \.dynstr +.*
  +\[[ 0-9]+\] \.rela\.dyn +.*
  +\[[ 0-9]+\] \.rela\.plt +.*
- +\[[ 0-9]+\] \.text +PROGBITS .* 0+e8 0+ +AX +0 +0 +8
+ +\[[ 0-9]+\] \.text +PROGBITS .* 0+e8 0+ +AX +0 +0 +32
  +\[[ 0-9]+\] \.tdata +PROGBITS .* 0+38 0+ WAT +0 +0 +8
  +\[[ 0-9]+\] \.tbss +NOBITS .* 0+38 0+ WAT +0 +0 +8
  +\[[ 0-9]+\] \.dynamic +DYNAMIC .* 0+160 10 +WA +4 +0 +8
index 330cb1824246b39be1c040d6692973f87c5b037c..82ccc8dc9d5f0da87266a2db618f759ebfd452ad 100644 (file)
@@ -7,7 +7,7 @@
 .*: +file format elf64-powerpc
 
 Contents of section \.got:
-.* 00000000 00018778 00000000 00000000  .*
+.* 00000000 00018780 00000000 00000000  .*
 .* 00000000 00000000 00000000 00000000  .*
 .* 00000000 00000000 00000000 00000000  .*
 .* 00000000 00000000 00000000 00000000  .*
index 3879d505281ea97cc184dbd517eb7cee1d79d3a0..4167b3a5c37590a93770a2f19abbd59b94034f7c 100644 (file)
@@ -48,9 +48,9 @@ Relocation section '\.rela\.dyn' at offset .* contains 16 entries:
 [0-9a-f ]+R_PPC64_TPREL16 +0+60 le0 \+ 0
 [0-9a-f ]+R_PPC64_TPREL16_HA +0+68 le1 \+ 0
 [0-9a-f ]+R_PPC64_TPREL16_LO +0+68 le1 \+ 0
-[0-9a-f ]+R_PPC64_TPREL16_DS +0+105f0 \.tdata \+ 28
-[0-9a-f ]+R_PPC64_TPREL16_HA +0+105f0 \.tdata \+ 30
-[0-9a-f ]+R_PPC64_TPREL16_LO +0+105f0 \.tdata \+ 30
+[0-9a-f ]+R_PPC64_TPREL16_DS +0+105f8 \.tdata \+ 28
+[0-9a-f ]+R_PPC64_TPREL16_HA +0+105f8 \.tdata \+ 30
+[0-9a-f ]+R_PPC64_TPREL16_LO +0+105f8 \.tdata \+ 30
 [0-9a-f ]+R_PPC64_DTPMOD64 +0+
 [0-9a-f ]+R_PPC64_DTPREL64 +0+
 [0-9a-f ]+R_PPC64_DTPREL64 +0+18
This page took 0.032822 seconds and 4 git commands to generate.