aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/sh/fdpic.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/sh/fdpic.d')
-rw-r--r--gas/testsuite/gas/sh/fdpic.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/sh/fdpic.d b/gas/testsuite/gas/sh/fdpic.d
new file mode 100644
index 0000000..33dfc71
--- /dev/null
+++ b/gas/testsuite/gas/sh/fdpic.d
@@ -0,0 +1,13 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: FDPIC relocations
+
+dump.o: file format elf32-sh.*
+
+Disassembly of section .text:
+ \.\.\.
+ 0: R_SH_REL32 foo
+ 4: R_SH_FUNCDESC foo
+ 8: R_SH_GOT32 foo
+ c: R_SH_GOTOFF foo
+ 10: R_SH_GOTFUNCDESC foo
+ 14: R_SH_GOTOFFFUNCDESC foo