Add .got.plt output section statement
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 6 Sep 2012 04:46:18 +0000 (04:46 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 6 Sep 2012 04:46:18 +0000 (04:46 +0000)
* testsuite/script_test_3.t: Add .got.plt output section
statement.
* testsuite/script_test_4.t: Likewise.

gold/ChangeLog
gold/testsuite/script_test_3.t
gold/testsuite/script_test_4.t

index c2fe2cd..320f832 100644 (file)
@@ -1,3 +1,9 @@
+2012-09-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/script_test_3.t: Add .got.plt output section
+       statement.
+       * testsuite/script_test_4.t: Likewise.
+
 2012-09-05  Alan Modra  <amodra@gmail.com>
 
        * powerpc.cc (Powerpc_relocate_functions): Upcase enum values,
index 9c75194..accd055 100644 (file)
@@ -36,6 +36,7 @@ SECTIONS
   .dynamic : { *(.dynamic) } :data :dynamic
   .data : { *(.data) } :data
   .got : { *(.got .toc) }
+  .got.plt : { *(.got.plt) } 
   .tdata : { *(.tdata*) } :data :tls
   .tbss : { *(.tbss*) } :data :tls
   . += 0x100000;
index f5569c5..3ba5e93 100644 (file)
@@ -38,6 +38,7 @@ SECTIONS
   .dynamic : { *(.dynamic) }
   .data : { *(.data) }
   .got : { *(.got .toc) }
+  .got.plt : { *(.got.plt) } 
   . += 0x100000;
   . = ALIGN(0x100);
   .bss : { *(.bss) }