aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-09-06 04:46:18 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-09-06 04:46:18 +0000
commit32ed457365212f981a588e211655960828944795 (patch)
tree1dcd426cb232f46317b744e8706fa7d12e344076
parentc04ca053c8072a96432e4110ed3a72aa7223d22f (diff)
downloadgdb-32ed457365212f981a588e211655960828944795.zip
gdb-32ed457365212f981a588e211655960828944795.tar.gz
gdb-32ed457365212f981a588e211655960828944795.tar.bz2
Add .got.plt output section statement
* testsuite/script_test_3.t: Add .got.plt output section statement. * testsuite/script_test_4.t: Likewise.
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/testsuite/script_test_3.t1
-rw-r--r--gold/testsuite/script_test_4.t1
3 files changed, 8 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index c2fe2cd..320f832 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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,
diff --git a/gold/testsuite/script_test_3.t b/gold/testsuite/script_test_3.t
index 9c75194..accd055 100644
--- a/gold/testsuite/script_test_3.t
+++ b/gold/testsuite/script_test_3.t
@@ -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;
diff --git a/gold/testsuite/script_test_4.t b/gold/testsuite/script_test_4.t
index f5569c5..3ba5e93 100644
--- a/gold/testsuite/script_test_4.t
+++ b/gold/testsuite/script_test_4.t
@@ -38,6 +38,7 @@ SECTIONS
.dynamic : { *(.dynamic) }
.data : { *(.data) }
.got : { *(.got .toc) }
+ .got.plt : { *(.got.plt) }
. += 0x100000;
. = ALIGN(0x100);
.bss : { *(.bss) }