aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-06-13 11:14:57 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-06-13 11:15:12 -0700
commit3328c04b103286c3422aed59b97595bbbd9bbef5 (patch)
treeaae8f7f9aa8456879fa30bd13302b71547f85028 /gold
parent712ec27916b5604d29d928dec060fd1ba0fd9edb (diff)
downloadgdb-3328c04b103286c3422aed59b97595bbbd9bbef5.zip
gdb-3328c04b103286c3422aed59b97595bbbd9bbef5.tar.gz
gdb-3328c04b103286c3422aed59b97595bbbd9bbef5.tar.bz2
Add .got.plt to testsuite/script_test_2.t
The .got.plt section must be placed right after the .got section. Otherwise, GOT offset will be wrong. PR gold/20246 * testsuite/script_test_2.t: Add .got.plt after .got.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/testsuite/script_test_2.t1
2 files changed, 6 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index c1b833b..2819653 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gold/20246
+ * testsuite/script_test_2.t: Add .got.plt after .got.
+
2016-06-10 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
* mips.cc (struct Mips_abiflags): New struct.
diff --git a/gold/testsuite/script_test_2.t b/gold/testsuite/script_test_2.t
index 0baa428..0ce9408 100644
--- a/gold/testsuite/script_test_2.t
+++ b/gold/testsuite/script_test_2.t
@@ -33,6 +33,7 @@ SECTIONS
. = ALIGN(0x100);
.data : { *(.data) }
.got : { *(.got .toc) }
+ .got.plt : { *(.got.plt) }
.bss : { *(.bss) }
/* Now the real test. */