From: H.J. Lu Date: Mon, 13 Jun 2016 18:14:57 +0000 (-0700) Subject: Add .got.plt to testsuite/script_test_2.t X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3328c04b103286c3422aed59b97595bbbd9bbef5;p=binutils-gdb.git 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. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index c1b833b6356..2819653abe2 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2016-06-13 H.J. Lu + + PR gold/20246 + * testsuite/script_test_2.t: Add .got.plt after .got. + 2016-06-10 Vladimir Radosavljevic * mips.cc (struct Mips_abiflags): New struct. diff --git a/gold/testsuite/script_test_2.t b/gold/testsuite/script_test_2.t index 0baa42817ce..0ce9408d40b 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. */