summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/arm.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/arm.ld')
-rw-r--r--ld/testsuite/ld-arm/arm.ld16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/arm.ld b/ld/testsuite/ld-arm/arm.ld
new file mode 100644
index 00000000000..23d914b14fd
--- /dev/null
+++ b/ld/testsuite/ld-arm/arm.ld
@@ -0,0 +1,16 @@
+/* Script for ld testsuite */
+OUTPUT_ARCH(arm)
+ENTRY(_start)
+SECTIONS
+{
+ /* Read-only sections, merged into text segment: */
+ PROVIDE (__executable_start = 0x8000); . = 0x8000;
+ .text :
+ {
+ *(.before)
+ *(.text)
+ *(.after)
+ } =0
+ . = 0x9000;
+ .got : { *(.got) *(.got.plt)}
+}