aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/provide-hidden-2.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/provide-hidden-2.ld')
-rw-r--r--ld/testsuite/ld-elf/provide-hidden-2.ld12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/provide-hidden-2.ld b/ld/testsuite/ld-elf/provide-hidden-2.ld
new file mode 100644
index 0000000..0b04c49
--- /dev/null
+++ b/ld/testsuite/ld-elf/provide-hidden-2.ld
@@ -0,0 +1,12 @@
+SECTIONS
+{
+ . = 0x12300000;
+ PROVIDE_HIDDEN (foo = . + 0x11100000);
+ .data : { *(.data) }
+ .got : { *(.got) }
+ .interp : { *(.interp) }
+ .dynsym : { *(.dynsym) }
+ .dynstr : { *(.dynstr) }
+ .dynamic : { *(.dynamic) }
+ .hash : { *(.hash) }
+}