aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authornobody <>2005-05-19 06:32:02 +0000
committernobody <>2005-05-19 06:32:02 +0000
commit63ffcd5995d258fdabe91571b19383ebdeed6943 (patch)
tree8df0426445a17b31af47fc552553e3ed6a739efc /gas
parenta4b78345228ac7bf3b3ab913c1b2fac0b01921c4 (diff)
downloadgdb-63ffcd5995d258fdabe91571b19383ebdeed6943.zip
gdb-63ffcd5995d258fdabe91571b19383ebdeed6943.tar.gz
gdb-63ffcd5995d258fdabe91571b19383ebdeed6943.tar.bz2
This commit was manufactured by cvs2svn to create branch 'binutils-
2_16-branch'. Cherrypick from master 2005-05-19 06:32:01 UTC Jan Beulich <jbeulich@novell.com> 'gas/': gas/testsuite/gas/ia64/reloc-uw-ilp32.d gas/testsuite/gas/ia64/reloc-uw.d gas/testsuite/gas/ia64/reloc-uw.s
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/ia64/reloc-uw-ilp32.d15
-rw-r--r--gas/testsuite/gas/ia64/reloc-uw.d13
-rw-r--r--gas/testsuite/gas/ia64/reloc-uw.s13
3 files changed, 41 insertions, 0 deletions
diff --git a/gas/testsuite/gas/ia64/reloc-uw-ilp32.d b/gas/testsuite/gas/ia64/reloc-uw-ilp32.d
new file mode 100644
index 0000000..b59eb40
--- /dev/null
+++ b/gas/testsuite/gas/ia64/reloc-uw-ilp32.d
@@ -0,0 +1,15 @@
+#objdump: -r
+#name: ia64 unwind relocations (ilp32)
+#as: -milp32
+#source: reloc-uw.s
+
+.*: +file format .*
+
+RELOCATION RECORDS FOR \[\.IA_64\.unwind\]:
+OFFSET[[:space:]]+TYPE[[:space:]]+VALUE[[:space:]]*
+0*00 SEGREL32[ML]SB[[:space:]]+\.text(\+0x[[:xdigit:]]*0)?
+0*04 SEGREL32[ML]SB[[:space:]]+\.text(\+0x[[:xdigit:]]*0)?
+0*08 SEGREL32[ML]SB[[:space:]]+\.IA_64\.unwind_info(\+0x[[:xdigit:]]*[048c])?
+0*0c SEGREL32[ML]SB[[:space:]]+\.text(\+0x[[:xdigit:]]*0)?
+0*10 SEGREL32[ML]SB[[:space:]]+\.text(\+0x[[:xdigit:]]*0)?
+0*14 SEGREL32[ML]SB[[:space:]]+\.IA_64\.unwind_info(\+0x[[:xdigit:]]*[048c])?
diff --git a/gas/testsuite/gas/ia64/reloc-uw.d b/gas/testsuite/gas/ia64/reloc-uw.d
new file mode 100644
index 0000000..e7af6f1
--- /dev/null
+++ b/gas/testsuite/gas/ia64/reloc-uw.d
@@ -0,0 +1,13 @@
+# objdump: -r
+# name: ia64 unwind relocations
+
+.*: +file format .*
+
+RELOCATION RECORDS FOR \[\.IA_64\.unwind\]:
+OFFSET[[:space:]]+TYPE[[:space:]]+VALUE[[:space:]]*
+0*00 SEGREL64[ML]SB[[:space:]]+\.text(\+0x[[:xdigit:]]*0)?
+0*08 SEGREL64[ML]SB[[:space:]]+\.text(\+0x[[:xdigit:]]*0)?
+0*10 SEGREL64[ML]SB[[:space:]]+\.IA_64\.unwind_info(\+0x[[:xdigit:]]*[08])?
+0*18 SEGREL64[ML]SB[[:space:]]+\.text(\+0x[[:xdigit:]]*0)?
+0*20 SEGREL64[ML]SB[[:space:]]+\.text(\+0x[[:xdigit:]]*0)?
+0*28 SEGREL64[ML]SB[[:space:]]+\.IA_64\.unwind_info(\+0x[[:xdigit:]]*[08])?
diff --git a/gas/testsuite/gas/ia64/reloc-uw.s b/gas/testsuite/gas/ia64/reloc-uw.s
new file mode 100644
index 0000000..1cda453
--- /dev/null
+++ b/gas/testsuite/gas/ia64/reloc-uw.s
@@ -0,0 +1,13 @@
+ .text
+
+ .macro uw, type
+ .proc uw\type
+ .\type uw\type
+uw\type:
+ .unwentry
+ br.ret.sptk rp
+ .endp uw\type
+ .endm
+
+ uw global
+ uw weak