summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/xtensa/loc.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/xtensa/loc.d')
-rw-r--r--gas/testsuite/gas/xtensa/loc.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/gas/xtensa/loc.d b/gas/testsuite/gas/xtensa/loc.d
new file mode 100644
index 00000000000..71983cc9005
--- /dev/null
+++ b/gas/testsuite/gas/xtensa/loc.d
@@ -0,0 +1,10 @@
+#as:
+#objdump: -r
+#name: .loc directive relocs
+
+.*: +file format .*xtensa.*
+
+RELOCATION RECORDS FOR \[\.debug_line\]:
+#...
+.*R_XTENSA_DIFF16.*\.text\+0x00009c42
+#...