summaryrefslogtreecommitdiff
path: root/gold/testsuite/script_test_11.t
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2013-04-15 16:34:12 +0000
committerCary Coutant <ccoutant@google.com>2013-04-15 16:34:12 +0000
commit4dd4ce7fa6432bc9b99606f52e48c59a626e9dd4 (patch)
treee4758110e50c997d96f2d72b98a91d748b7f3410 /gold/testsuite/script_test_11.t
parente013e072ea4403e85a099a92a2d47c4f77af651a (diff)
downloadbinutils-redhat-4dd4ce7fa6432bc9b99606f52e48c59a626e9dd4.tar.gz
gold/
* symtab.cc (Symbol_table::sized_write_globals): Subtract section starting address for relocatable link. * testsuite/Makefile.am (script_test_11): New test. * testsuite/Makefile.in: Regenerate. * testsuite/script_test_11.c: New source file. * testsuite/script_test_11.t: New linker script.
Diffstat (limited to 'gold/testsuite/script_test_11.t')
-rw-r--r--gold/testsuite/script_test_11.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/testsuite/script_test_11.t b/gold/testsuite/script_test_11.t
new file mode 100644
index 0000000000..0ec6bcdeaf
--- /dev/null
+++ b/gold/testsuite/script_test_11.t
@@ -0,0 +1,8 @@
+SECTIONS
+{
+ .foo : {
+ __foo_start = .;
+ KEEP(*(.foo))
+ __foo_end = .;
+ }
+}