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.
+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.
. = ALIGN(0x100);
.data : { *(.data) }
.got : { *(.got .toc) }
+ .got.plt : { *(.got.plt) }
.bss : { *(.bss) }
/* Now the real test. */