aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog10
-rw-r--r--ld/testsuite/ld-elf/eh1.d8
-rw-r--r--ld/testsuite/ld-elf/eh2.d8
-rw-r--r--ld/testsuite/ld-elf/eh3.d8
-rw-r--r--ld/testsuite/ld-elf/eh4.d4
-rw-r--r--ld/testsuite/ld-elf/eh5.d22
6 files changed, 35 insertions, 25 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index ed802de..2034795 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with
+ DW_CFA_def_cfa_register. Updated for i386/x86-64 register
+ names.
+ * ld-elf/eh2.d: Likewise.
+ * ld-elf/eh3.d: Likewise.
+ * ld-elf/eh4.d: Likewise.
+ * ld-elf/eh5.d: Likewise.
+
2008-01-28 Alan Modra <amodra@bigpond.net.au>
* ld-spu/ovl.d: Update.
diff --git a/ld/testsuite/ld-elf/eh1.d b/ld/testsuite/ld-elf/eh1.d
index d7a5b15..a672f5b 100644
--- a/ld/testsuite/ld-elf/eh1.d
+++ b/ld/testsuite/ld-elf/eh1.d
@@ -13,8 +13,8 @@ The section .eh_frame contains:
Data alignment factor: -8
Return address column: 16
- DW_CFA_def_cfa: r7 ofs 8
- DW_CFA_offset: r16 at cfa-8
+ DW_CFA_def_cfa: r7 \(rsp\) ofs 8
+ DW_CFA_offset: r16 \(rip\) at cfa-8
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
@@ -25,9 +25,9 @@ The section .eh_frame contains:
00000018 0000001c 0000001c FDE cie=00000000 pc=00400078..00400078
DW_CFA_advance_loc: 0 to 00400078
DW_CFA_def_cfa_offset: 16
- DW_CFA_offset: r6 at cfa-16
+ DW_CFA_offset: r6 \(rbp\) at cfa-16
DW_CFA_advance_loc: 0 to 00400078
- DW_CFA_def_cfa_reg: r6
+ DW_CFA_def_cfa_register: r6 \(rbp\)
00000038 ZERO terminator
diff --git a/ld/testsuite/ld-elf/eh2.d b/ld/testsuite/ld-elf/eh2.d
index c1ef399..788d23d 100644
--- a/ld/testsuite/ld-elf/eh2.d
+++ b/ld/testsuite/ld-elf/eh2.d
@@ -13,8 +13,8 @@ The section .eh_frame contains:
Data alignment factor: -8
Return address column: 16
- DW_CFA_def_cfa: r7 ofs 8
- DW_CFA_offset: r16 at cfa-8
+ DW_CFA_def_cfa: r7 \(rsp\) ofs 8
+ DW_CFA_offset: r16 \(rip\) at cfa-8
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
@@ -25,9 +25,9 @@ The section .eh_frame contains:
00000018 0000001c 0000001c FDE cie=00000000 pc=00400078..00400078
DW_CFA_advance_loc: 0 to 00400078
DW_CFA_def_cfa_offset: 16
- DW_CFA_offset: r6 at cfa-16
+ DW_CFA_offset: r6 \(rbp\) at cfa-16
DW_CFA_advance_loc: 0 to 00400078
- DW_CFA_def_cfa_reg: r6
+ DW_CFA_def_cfa_register: r6 \(rbp\)
00000038 ZERO terminator
diff --git a/ld/testsuite/ld-elf/eh3.d b/ld/testsuite/ld-elf/eh3.d
index f1d2a52..6816313 100644
--- a/ld/testsuite/ld-elf/eh3.d
+++ b/ld/testsuite/ld-elf/eh3.d
@@ -13,8 +13,8 @@ The section .eh_frame contains:
Data alignment factor: -8
Return address column: 16
- DW_CFA_def_cfa: r7 ofs 8
- DW_CFA_offset: r16 at cfa-8
+ DW_CFA_def_cfa: r7 \(rsp\) ofs 8
+ DW_CFA_offset: r16 \(rip\) at cfa-8
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
@@ -25,9 +25,9 @@ The section .eh_frame contains:
00000018 0000001c 0000001c FDE cie=00000000 pc=00400078..00400078
DW_CFA_advance_loc: 0 to 00400078
DW_CFA_def_cfa_offset: 16
- DW_CFA_offset: r6 at cfa-16
+ DW_CFA_offset: r6 \(rbp\) at cfa-16
DW_CFA_advance_loc: 0 to 00400078
- DW_CFA_def_cfa_reg: r6
+ DW_CFA_def_cfa_register: r6 \(rbp\)
00000038 ZERO terminator
#pass
diff --git a/ld/testsuite/ld-elf/eh4.d b/ld/testsuite/ld-elf/eh4.d
index 5fdd722..5efecab 100644
--- a/ld/testsuite/ld-elf/eh4.d
+++ b/ld/testsuite/ld-elf/eh4.d
@@ -14,8 +14,8 @@ The section .eh_frame contains:
Return address column: 16
Augmentation data: 1b
- DW_CFA_def_cfa: r7 ofs 8
- DW_CFA_offset: r16 at cfa-8
+ DW_CFA_def_cfa: r7 \(rsp\) ofs 8
+ DW_CFA_offset: r16 \(rip\) at cfa-8
DW_CFA_nop
DW_CFA_nop
diff --git a/ld/testsuite/ld-elf/eh5.d b/ld/testsuite/ld-elf/eh5.d
index c12562a..13bff08 100644
--- a/ld/testsuite/ld-elf/eh5.d
+++ b/ld/testsuite/ld-elf/eh5.d
@@ -21,7 +21,7 @@ The section .eh_frame contains:
#...
0000001[48] 00000014 0000001[8c] FDE cie=00000000 pc=.*
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
@@ -38,14 +38,14 @@ The section .eh_frame contains:
0000004[48] 00000014 0000001c FDE cie=000000(2c|30) pc=.*
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
000000(5c|60) 00000014 0000006[04] FDE cie=00000000 pc=.*
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
@@ -66,7 +66,7 @@ The section .eh_frame contains:
Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef)
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
@@ -79,7 +79,7 @@ The section .eh_frame contains:
Return address column: .*
Augmentation data: 1b
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
#...
000000(c4|d0) 0000001[04] 0000001[8c] FDE cie=000000b[08] pc=.*
DW_CFA_nop
@@ -98,7 +98,7 @@ The section .eh_frame contains:
00000(0f|10)0 00000014 0000001c FDE cie=000000[de]8 pc=.*
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
@@ -124,28 +124,28 @@ The section .eh_frame contains:
Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef)
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
000001(58|70) 00000014 000001(5c|74) FDE cie=00000000 pc=.*
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
000001(70|88) 00000014 000001(48|5c) FDE cie=000000(2c|30) pc=.*
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
000001(88|a0) 00000014 000001(8c|a4) FDE cie=00000000 pc=.*
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
@@ -154,7 +154,7 @@ The section .eh_frame contains:
Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef)
DW_CFA_advance_loc: 4 to .*
- DW_CFA_def_cfa: r0 ofs 16
+ DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop