summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/ifunc-static.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/ifunc-static.ld')
-rw-r--r--ld/testsuite/ld-arm/ifunc-static.ld21
1 files changed, 21 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/ifunc-static.ld b/ld/testsuite/ld-arm/ifunc-static.ld
new file mode 100644
index 0000000..80cf6a2
--- /dev/null
+++ b/ld/testsuite/ld-arm/ifunc-static.ld
@@ -0,0 +1,21 @@
+OUTPUT_ARCH(arm)
+ENTRY(_start)
+SECTIONS
+{
+ . = 0x08000;
+ .rel.dyn : {
+ PROVIDE_HIDDEN (__irel_start = .);
+ *(.rel.iplt)
+ PROVIDE_HIDDEN (__irel_end = .);
+ }
+ . = 0x09000;
+ .iplt : { *(.iplt) }
+ . = 0x0A000;
+ .text : { *(.text) }
+ . = 0x10000;
+ .data : { *(.data) }
+ . = 0x11000;
+ .got : { *(.got.plt) *(.igot.plt) *(.got) *(.igot) }
+ . = 0x12000;
+ .bss : { *(.bss) }
+}