aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nds32/diff.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-nds32/diff.d')
-rw-r--r--ld/testsuite/ld-nds32/diff.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-nds32/diff.d b/ld/testsuite/ld-nds32/diff.d
new file mode 100644
index 0000000..ef79586
--- /dev/null
+++ b/ld/testsuite/ld-nds32/diff.d
@@ -0,0 +1,16 @@
+#as: -Os
+#ld: -static --relax -T $srcdir/$subdir/diff.ld
+#objdump: -D --prefix-addresses -j .data --show-raw-insn
+
+.*: file format .*nds32.*
+
+
+Disassembly of section .data:
+00008000 <WORD> (7e 00 00 00|00 00 00 7e).*
+00008004 <HALF> (7e 00 7e fe|00 7e 7e fe).*
+00008006 <BYTE> 7e fe 00 fe.*
+00008007 <ULEB128> fe 00.*
+ ...
+00008009 <ULEB128_2> fe 00.*
+.*
+.*