From: Alan Modra Date: Mon, 14 Jan 2013 23:11:56 +0000 (+0000) Subject: * testsuite/Makefile.am (final_layout_script.lds): Handle .got section. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=431ed302a866888bc6aea5a140bee81e43e14ec2;p=binutils-gdb.git * testsuite/Makefile.am (final_layout_script.lds): Handle .got section. * testsuite/Makefile.in: Regenerate. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index f8ed66a16f6..cb6ec9e044a 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2013-01-15 Alan Modra + + * testsuite/Makefile.am (final_layout_script.lds): Handle .got section. + * testsuite/Makefile.in: Regenerate. + 2013-01-14 Alan Modra * testsuite/Makefile.am (MOSTLYCLEANFILES): Add various output files. diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index c2b31d0533a..fa1161f3b50 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 dbed8033fa1..51bdb271dc2 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