aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/loadaddr.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/loadaddr.t')
-rw-r--r--ld/testsuite/ld-elf/loadaddr.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/loadaddr.t b/ld/testsuite/ld-elf/loadaddr.t
new file mode 100644
index 0000000..91e9ef2
--- /dev/null
+++ b/ld/testsuite/ld-elf/loadaddr.t
@@ -0,0 +1,10 @@
+SECTIONS
+{
+ . = -0x7ff00000;
+ .text : {*(.text .text.*)}
+ . = ALIGN(64);
+ .foo : { *(.foo) }
+ . = ALIGN(8192);
+ .data : AT (ADDR(.data)) { *(.data) }
+ /DISCARD/ : { *(.*) }
+}