aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-arc/arclinux-nps.d50
-rw-r--r--ld/testsuite/ld-arc/arclinux-nps.s46
2 files changed, 96 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arc/arclinux-nps.d b/ld/testsuite/ld-arc/arclinux-nps.d
new file mode 100644
index 0000000..5ccd7fc
--- /dev/null
+++ b/ld/testsuite/ld-arc/arclinux-nps.d
@@ -0,0 +1,50 @@
+#source: arclinux-nps.s
+#as: -mnps400
+#ld: -marclinux_nps
+#objdump: -dr
+
+.*: +file format .*arc.*
+
+Disassembly of section .text:
+
+[0-9a-f]+ <.*>:
+ [0-9a-f]+: 200a 0f80 57f0 0000 mov r0,0x57f00000
+ [0-9a-f]+: 200a 0f80 57f0 0000 mov r0,0x57f00000
+ [0-9a-f]+: 200a 0f80 57f0 8000 mov r0,0x57f08000
+ [0-9a-f]+: 200a 0f80 57f0 8000 mov r0,0x57f08000
+ [0-9a-f]+: 200a 0f80 5800 0000 mov r0,0x58000000
+ [0-9a-f]+: 200a 0f80 5880 0000 mov r0,0x58800000
+ [0-9a-f]+: 200a 0f80 5900 0000 mov r0,0x59000000
+ [0-9a-f]+: 200a 0f80 5980 0000 mov r0,0x59800000
+ [0-9a-f]+: 200a 0f80 5a00 0000 mov r0,0x5a000000
+ [0-9a-f]+: 200a 0f80 5a80 0000 mov r0,0x5a800000
+ [0-9a-f]+: 200a 0f80 5b00 0000 mov r0,0x5b000000
+ [0-9a-f]+: 200a 0f80 5b80 0000 mov r0,0x5b800000
+ [0-9a-f]+: 200a 0f80 5c00 0000 mov r0,0x5c000000
+ [0-9a-f]+: 200a 0f80 5c80 0000 mov r0,0x5c800000
+ [0-9a-f]+: 200a 0f80 5d00 0000 mov r0,0x5d000000
+ [0-9a-f]+: 200a 0f80 5d80 0000 mov r0,0x5d800000
+ [0-9a-f]+: 200a 0f80 5e00 0000 mov r0,0x5e000000
+ [0-9a-f]+: 200a 0f80 5e80 0000 mov r0,0x5e800000
+ [0-9a-f]+: 200a 0f80 5f00 0000 mov r0,0x5f000000
+ [0-9a-f]+: 200a 0f80 5f80 0000 mov r0,0x5f800000
+ [0-9a-f]+: 200a 0f80 57f0 0000 mov r0,0x57f00000
+ [0-9a-f]+: 200a 0f80 57f0 0000 mov r0,0x57f00000
+ [0-9a-f]+: 200a 0f80 57f0 8000 mov r0,0x57f08000
+ [0-9a-f]+: 200a 0f80 57f0 8000 mov r0,0x57f08000
+ [0-9a-f]+: 200a 0f80 5800 0000 mov r0,0x58000000
+ [0-9a-f]+: 200a 0f80 5880 0000 mov r0,0x58800000
+ [0-9a-f]+: 200a 0f80 5900 0000 mov r0,0x59000000
+ [0-9a-f]+: 200a 0f80 5980 0000 mov r0,0x59800000
+ [0-9a-f]+: 200a 0f80 5a00 0000 mov r0,0x5a000000
+ [0-9a-f]+: 200a 0f80 5a80 0000 mov r0,0x5a800000
+ [0-9a-f]+: 200a 0f80 5b00 0000 mov r0,0x5b000000
+ [0-9a-f]+: 200a 0f80 5b80 0000 mov r0,0x5b800000
+ [0-9a-f]+: 200a 0f80 5c00 0000 mov r0,0x5c000000
+ [0-9a-f]+: 200a 0f80 5c80 0000 mov r0,0x5c800000
+ [0-9a-f]+: 200a 0f80 5d00 0000 mov r0,0x5d000000
+ [0-9a-f]+: 200a 0f80 5d80 0000 mov r0,0x5d800000
+ [0-9a-f]+: 200a 0f80 5e00 0000 mov r0,0x5e000000
+ [0-9a-f]+: 200a 0f80 5e80 0000 mov r0,0x5e800000
+ [0-9a-f]+: 200a 0f80 5f00 0000 mov r0,0x5f000000
+ [0-9a-f]+: 200a 0f80 5f80 0000 mov r0,0x5f800000
diff --git a/ld/testsuite/ld-arc/arclinux-nps.s b/ld/testsuite/ld-arc/arclinux-nps.s
new file mode 100644
index 0000000..38bf897
--- /dev/null
+++ b/ld/testsuite/ld-arc/arclinux-nps.s
@@ -0,0 +1,46 @@
+ .text
+ .global __start
+__start:
+ mov r0, _cmem_start
+ mov r0, _cmem_alter_start
+ mov r0, _cmem_shared_start
+ mov r0, _cmem_shared_alter_start
+
+ mov r0, _fmt_slot0_start
+ mov r0, _fmt_slot1_start
+ mov r0, _fmt_slot2_start
+ mov r0, _fmt_slot3_start
+ mov r0, _fmt_slot4_start
+ mov r0, _fmt_slot5_start
+ mov r0, _fmt_slot6_start
+ mov r0, _fmt_slot7_start
+ mov r0, _fmt_slot8_start
+ mov r0, _fmt_slot9_start
+ mov r0, _fmt_slot10_start
+ mov r0, _fmt_slot11_start
+ mov r0, _fmt_slot12_start
+ mov r0, _fmt_slot13_start
+ mov r0, _fmt_slot14_start
+ mov r0, _fmt_slot15_start
+
+ mov r0, _cmem_end
+ mov r0, _cmem_alter_end
+ mov r0, _cmem_shared_end
+ mov r0, _cmem_shared_alter_end
+
+ mov r0, _fmt_slot0_end
+ mov r0, _fmt_slot1_end
+ mov r0, _fmt_slot2_end
+ mov r0, _fmt_slot3_end
+ mov r0, _fmt_slot4_end
+ mov r0, _fmt_slot5_end
+ mov r0, _fmt_slot6_end
+ mov r0, _fmt_slot7_end
+ mov r0, _fmt_slot8_end
+ mov r0, _fmt_slot9_end
+ mov r0, _fmt_slot10_end
+ mov r0, _fmt_slot11_end
+ mov r0, _fmt_slot12_end
+ mov r0, _fmt_slot13_end
+ mov r0, _fmt_slot14_end
+ mov r0, _fmt_slot15_end