Add .got.plt output section statement

* testsuite/script_test_3.t: Add .got.plt output section
	statement.
	* testsuite/script_test_4.t: Likewise.
This commit is contained in:
H.J. Lu 2012-09-06 04:46:18 +00:00
parent c04ca053c8
commit 32ed457365
3 changed files with 8 additions and 0 deletions

View File

@ -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,

View File

@ -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;

View File

@ -38,6 +38,7 @@ SECTIONS
.dynamic : { *(.dynamic) }
.data : { *(.data) }
.got : { *(.got .toc) }
.got.plt : { *(.got.plt) }
. += 0x100000;
. = ALIGN(0x100);
.bss : { *(.bss) }