diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-06-13 11:14:57 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-06-13 11:15:12 -0700 |
commit | 3328c04b103286c3422aed59b97595bbbd9bbef5 (patch) | |
tree | aae8f7f9aa8456879fa30bd13302b71547f85028 /gold/testsuite | |
parent | 712ec27916b5604d29d928dec060fd1ba0fd9edb (diff) | |
download | gdb-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/testsuite')
-rw-r--r-- | gold/testsuite/script_test_2.t | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |