for DW_CFA_offset_extended_sf results. Allow for differing nops.
* gas/cfi/cfi-hppa-1.d: Invert data alignment sign. Change
offsets to match 64-bit offsets.
* gas/cfi/cfi.exp: Don't run common tests on hppa64.
+2008-08-21 Richard Henderson <rth@redhat.com>
+
+ * gas/cfi/cfi-common-1.d: Allow for differing offsets, and
+ for DW_CFA_offset_extended_sf results. Allow for differing nops.
+ * gas/cfi/cfi-hppa-1.d: Invert data alignment sign. Change
+ offsets to match 64-bit offsets.
+ * gas/cfi/cfi.exp: Don't run common tests on hppa64.
+
2008-08-20 Bob Wilson <bob.wilson@acm.org>
* gas/all/gas.exp: Expect the redef test to fail on Xtensa.
DW_CFA_nop
DW_CFA_nop
-00000014 00000018 00000018 FDE cie=00000000 pc=.*
+00000014 000000(18|1c|20) 00000018 FDE cie=00000000 pc=.*
DW_CFA_advance_loc: 4 to .*
DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
- DW_CFA_offset: r1( \((rdx|ecx)\)|) at cfa-8
+ DW_CFA_offset(_extended_sf|): r1( \((rdx|ecx)\)|) at cfa-8
DW_CFA_advance_loc: 4 to .*
DW_CFA_def_cfa_offset: 32
- DW_CFA_offset: r2( \((rcx|edx)\)|) at cfa-24
+ DW_CFA_offset(_extended_sf|): r2( \((rcx|edx)\)|) at cfa-24
+#...
Version: 1
Augmentation: "zR"
Code alignment factor: 4
- Data alignment factor: -[48]
+ Data alignment factor: [48]
Return address column: 2
- Augmentation data: 1b
+ Augmentation data: 1[bc]
DW_CFA_def_cfa: r30 ofs 0
-00000014 00000018 00000018 FDE cie=00000000 pc=00000000..00000018
+00000014 000000(18|20) 00000018 FDE cie=00000000 pc=00000000..00000018
DW_CFA_advance_loc: 8 to 00000008
DW_CFA_def_cfa_register: r3
DW_CFA_advance_loc: 4 to 0000000c
DW_CFA_def_cfa_register: r30
DW_CFA_nop
-00000030 00000018 00000034 FDE cie=00000000 pc=00000018..00000040
+0000003[08] 000000(18|20) 0000003[4c] FDE cie=00000000 pc=00000018..00000040
DW_CFA_advance_loc: 12 to 00000024
DW_CFA_def_cfa_register: r3
- DW_CFA_offset: r2 at cfa-24
+ DW_CFA_offset_extended_sf: r2 at cfa-24
DW_CFA_advance_loc: 24 to 0000003c
DW_CFA_def_cfa_register: r30
DW_CFA_nop
DW_CFA_nop
- DW_CFA_nop
-0000004c 00000010 00000050 FDE cie=00000000 pc=00000040..00000048
+000000[45]c 0000001[08] 000000[56]0 FDE cie=00000000 pc=00000040..00000048
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
}
run_list_test "cfi-diag-1" ""
-run_dump_test "cfi-common-1"
-run_dump_test "cfi-common-2"
-run_dump_test "cfi-common-3"
-run_dump_test "cfi-common-4"
-run_dump_test "cfi-common-5"
-# MIPS doesn't support PC relative cfi directives
+# HPPA64 uses 64-bit relocations, which results in all of the dump
+# offset numbers not matching up.
+if { ![istarget "hppa64*-*"] } then {
+ run_dump_test "cfi-common-1"
+ run_dump_test "cfi-common-2"
+ run_dump_test "cfi-common-3"
+ run_dump_test "cfi-common-4"
+ run_dump_test "cfi-common-5"
+}
+
+# MIPS doesn't support PC relative cfi directives.
if { ![istarget "mips*-*"] } then {
run_dump_test "cfi-common-6"
}