summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/provide-hidden-s.ld
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2013-05-03 14:57:14 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2013-05-03 14:57:14 +0000
commit6eae209bcd49c70b388bfbefb235e5cca7081538 (patch)
tree8c5f4764c617caa26fc7cfc6ce2bd2f69432f6da /ld/testsuite/ld-elf/provide-hidden-s.ld
parentaedb19303ef4c709795936372315b5b961fd13cc (diff)
downloadbinutils-redhat-6eae209bcd49c70b388bfbefb235e5cca7081538.tar.gz
* ld-elf/provide-hidden-s.nd: New test.
* ld-elf/provide-hidden-abs.nd: New test. * ld-elf/provide-hidden-def.nd: New test. * ld-elf/provide-hidden-dyn.nd: New test. * ld-elf/provide-hidden-sec.nd: New test. * ld-elf/provide-hidden-dynabs.nd: New test. * ld-elf/provide-hidden-dynsec.nd: New test. * ld-elf/provide-hidden-s.ld: New test linker script. * ld-elf/provide-hidden-1.ld: New test linker script. * ld-elf/provide-hidden-2.ld: New test linker script. * ld-elf/provide-hidden-1.s: New test source. * ld-elf/provide-hidden-2.s: New test source. * ld-elf/provide-hidden-3.s: New test source. * ld-elf/provide-hidden-4.s: New test source. * ld-elf/provide-hidden.exp: New test script.
Diffstat (limited to 'ld/testsuite/ld-elf/provide-hidden-s.ld')
-rw-r--r--ld/testsuite/ld-elf/provide-hidden-s.ld11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/provide-hidden-s.ld b/ld/testsuite/ld-elf/provide-hidden-s.ld
new file mode 100644
index 0000000000..cca804f775
--- /dev/null
+++ b/ld/testsuite/ld-elf/provide-hidden-s.ld
@@ -0,0 +1,11 @@
+SECTIONS
+{
+ . = 0x12300000;
+ .data : { *(.data) }
+ .got : { *(.got) }
+ .interp : { *(.interp) }
+ .dynsym : { *(.dynsym) }
+ .dynstr : { *(.dynstr) }
+ .dynamic : { *(.dynamic) }
+ .hash : { *(.hash) }
+}