From d981b346f0ebc91643595b9cfaf47cde38a35478 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 8 Sep 2009 01:15:50 +0000 Subject: [PATCH] * 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. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-elf/eh5.d | 22 +++++++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 679613c3858..b73ba28729e 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-09-08 Alan Modra + + * 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 * 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 48ab7d72cbc..bc25639cc7f 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 .* -- 2.30.2