diff options
author | Alan Modra <amodra@gmail.com> | 2013-01-14 23:11:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-01-14 23:11:56 +0000 |
commit | 431ed302a866888bc6aea5a140bee81e43e14ec2 (patch) | |
tree | 758bc0a1ea44dd2500e5a0c39a85912e507fce0b | |
parent | c56e69a0ca83e0e38b9b07fe7bcfd48b194ca952 (diff) | |
download | gdb-431ed302a866888bc6aea5a140bee81e43e14ec2.zip gdb-431ed302a866888bc6aea5a140bee81e43e14ec2.tar.gz gdb-431ed302a866888bc6aea5a140bee81e43e14ec2.tar.bz2 |
* testsuite/Makefile.am (final_layout_script.lds): Handle .got section.
* testsuite/Makefile.in: Regenerate.
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/testsuite/Makefile.am | 2 | ||||
-rw-r--r-- | gold/testsuite/Makefile.in | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index f8ed66a..cb6ec9e 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2013-01-15 Alan Modra <amodra@gmail.com> + + * testsuite/Makefile.am (final_layout_script.lds): Handle .got section. + * testsuite/Makefile.in: Regenerate. + 2013-01-14 Alan Modra <amodra@gmail.com> * testsuite/Makefile.am (MOSTLYCLEANFILES): Add various output files. diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index c2b31d0..fa1161f 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -252,7 +252,7 @@ final_layout.o: final_layout.cc final_layout_sequence.txt: (echo "*_Z3barv*" && echo ".text._Z3bazv" && echo "*_Z3foov*" && echo "*global_varb*" && echo "*global_vara*" && echo "*global_varc*") > final_layout_sequence.txt final_layout_script.lds: - (echo "SECTIONS { .text : { *(.text*) } .bss : { *(.bss*) } }") > final_layout_script.lds + (echo "SECTIONS { .text : { *(.text*) } .got : { *(.got .toc) } .bss : { *(.bss*) } }") > final_layout_script.lds final_layout: final_layout.o final_layout_sequence.txt final_layout_script.lds gcctestdir/ld $(CXXLINK) -Bgcctestdir/ -Wl,--section-ordering-file,final_layout_sequence.txt -Wl,-T,final_layout_script.lds final_layout.o final_layout.stdout: final_layout diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index dbed803..51bdb27 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -4367,7 +4367,7 @@ uninstall-am: @GCC_TRUE@@NATIVE_LINKER_TRUE@final_layout_sequence.txt: @GCC_TRUE@@NATIVE_LINKER_TRUE@ (echo "*_Z3barv*" && echo ".text._Z3bazv" && echo "*_Z3foov*" && echo "*global_varb*" && echo "*global_vara*" && echo "*global_varc*") > final_layout_sequence.txt @GCC_TRUE@@NATIVE_LINKER_TRUE@final_layout_script.lds: -@GCC_TRUE@@NATIVE_LINKER_TRUE@ (echo "SECTIONS { .text : { *(.text*) } .bss : { *(.bss*) } }") > final_layout_script.lds +@GCC_TRUE@@NATIVE_LINKER_TRUE@ (echo "SECTIONS { .text : { *(.text*) } .got : { *(.got .toc) } .bss : { *(.bss*) } }") > final_layout_script.lds @GCC_TRUE@@NATIVE_LINKER_TRUE@final_layout: final_layout.o final_layout_sequence.txt final_layout_script.lds gcctestdir/ld @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXLINK) -Bgcctestdir/ -Wl,--section-ordering-file,final_layout_sequence.txt -Wl,-T,final_layout_script.lds final_layout.o @GCC_TRUE@@NATIVE_LINKER_TRUE@final_layout.stdout: final_layout |