summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/all/weakref1.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/all/weakref1.d')
-rw-r--r--binutils-2.25/gas/testsuite/gas/all/weakref1.d97
1 files changed, 97 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/all/weakref1.d b/binutils-2.25/gas/testsuite/gas/all/weakref1.d
new file mode 100644
index 00000000..d1167077
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/all/weakref1.d
@@ -0,0 +1,97 @@
+#objdump: -r
+#name: weakref tests, relocations
+# ecoff (OSF/alpha) lacks .weak support
+# pdp11 lacks .long
+# darwin (mach-o) reverses the order of relocs.
+# the following must be present in all weakref1*.d
+#not-target: alpha*-*-osf* *-*-ecoff pdp11-*-aout *-*-darwin*
+
+#...
+RELOCATION RECORDS FOR \[(\.text|\$CODE\$)\]:
+OFFSET +TYPE +VALUE *
+# the rest of this file is generated with the following script:
+# # script begin
+# echo \#...
+# sed -n 's:^[ ]*\.long \(W\|\)\(.*[^a-z]\)[a-z]*\(\| - .*\)$:\2:p' weakref1.s | sed -e 's,^[lg].*,(&|\\.text)(\\+0x[0-9a-f]+)?,' | sed 's,^,[0-9a-f]+ [^ ]* +,'
+# # script output:
+#...
+[0-9a-f]+ [^ ]* +wa1
+[0-9a-f]+ [^ ]* +ua2
+[0-9a-f]+ [^ ]* +ua3
+[0-9a-f]+ [^ ]* +ua3
+[0-9a-f]+ [^ ]* +ua4
+[0-9a-f]+ [^ ]* +ua4
+[0-9a-f]+ [^ ]* +wb1
+[0-9a-f]+ [^ ]* +ub2
+[0-9a-f]+ [^ ]* +ub3
+[0-9a-f]+ [^ ]* +ub3
+[0-9a-f]+ [^ ]* +ub4
+[0-9a-f]+ [^ ]* +ub4
+[0-9a-f]+ [^ ]* +wc1
+[0-9a-f]+ [^ ]* +wc1
+[0-9a-f]+ [^ ]* +uc2
+[0-9a-f]+ [^ ]* +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