aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-08 01:15:50 +0000
committerAlan Modra <amodra@gmail.com>2009-09-08 01:15:50 +0000
commitd981b346f0ebc91643595b9cfaf47cde38a35478 (patch)
tree33f10049444412dee46005ad2521fa8ad9e05e33 /ld
parentfda458eeb1dc5b3dfb112ccf0de65764e47d569f (diff)
downloadgdb-d981b346f0ebc91643595b9cfaf47cde38a35478.zip
gdb-d981b346f0ebc91643595b9cfaf47cde38a35478.tar.gz
gdb-d981b346f0ebc91643595b9cfaf47cde38a35478.tar.bz2
* ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding.
Skip extra CIEs emitted on embedded targets and adjust FDE matches to suit.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-elf/eh5.d22
2 files changed, 17 insertions, 11 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 679613c..b73ba28 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2009-09-08 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-elf/eh5.d: Don't run on hppa64. Allow non-pcrel encoding.
+ Skip extra CIEs emitted on embedded targets and adjust FDE
+ matches to suit.
+
2009-09-05 Jie Zhang <jie.zhang@analog.com>
* ld-elf/sec64k.exp: Use ".set" instead of "=" for bfin-*-*.
diff --git a/ld/testsuite/ld-elf/eh5.d b/ld/testsuite/ld-elf/eh5.d
index 48ab7d7..bc25639 100644
--- a/ld/testsuite/ld-elf/eh5.d
+++ b/ld/testsuite/ld-elf/eh5.d
@@ -4,7 +4,7 @@
#ld:
#readelf: -wf
#target: cfi
-#notarget: alpha*
+#notarget: alpha* hppa64*
Contents of the .eh_frame section:
@@ -14,7 +14,7 @@ Contents of the .eh_frame section:
Code alignment factor: .*
Data alignment factor: .*
Return address column: .*
- Augmentation data: 1b
+ Augmentation data: (0b|1b)
DW_CFA_nop
DW_CFA_nop
@@ -33,7 +33,7 @@ Contents of the .eh_frame section:
Code alignment factor: .*
Data alignment factor: .*
Return address column: .*
- Augmentation data: 03 .. .. .. .. 1b
+ Augmentation data: 03 .. .. .. .. (0b|1b)
DW_CFA_nop
@@ -57,7 +57,7 @@ Contents of the .eh_frame section:
Code alignment factor: .*
Data alignment factor: .*
Return address column: .*
- Augmentation data: 03 .. .. .. .. 0c 1b
+ Augmentation data: 03 .. .. .. .. 0c (0b|1b)
DW_CFA_nop
DW_CFA_nop
@@ -78,7 +78,7 @@ Contents of the .eh_frame section:
Code alignment factor: .*
Data alignment factor: .*
Return address column: .*
- Augmentation data: 1b
+ Augmentation data: (0b|1b)
DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
#...
@@ -93,7 +93,7 @@ Contents of the .eh_frame section:
Code alignment factor: .*
Data alignment factor: .*
Return address column: .*
- Augmentation data: 03 .. .. .. .. 1b
+ Augmentation data: 03 .. .. .. .. (0b|1b)
DW_CFA_nop
@@ -115,7 +115,7 @@ Contents of the .eh_frame section:
Code alignment factor: .*
Data alignment factor: .*
Return address column: .*
- Augmentation data: 03 .. .. .. .. 0c 1b
+ Augmentation data: 03 .. .. .. .. 0c (0b|1b)
DW_CFA_nop
DW_CFA_nop
@@ -136,8 +136,8 @@ Contents of the .eh_frame section:
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
-
-000001(70|88) 00000014 000001(48|5c) FDE cie=000000(2c|30) pc=.*
+#...
+000001(70|88) 00000014 00000(01c|148|15c) FDE cie=00000(02c|030|170) pc=.*
DW_CFA_advance_loc: 4 to .*
DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
DW_CFA_nop
@@ -150,8 +150,8 @@ Contents of the .eh_frame section:
DW_CFA_nop
DW_CFA_nop
DW_CFA_nop
-
-000001(a0|b8) 0000001c 000001(30|44) FDE cie=0000007[48] pc=.*
+#...
+000001(a0|b8|d4) 0000001c 00000(020|130|144) FDE cie=00000(074|078|1b8) pc=.*
Augmentation data: (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef)
DW_CFA_advance_loc: 4 to .*