ld-elf/eh5 remove xfail hppa64

Message ID ZIBPFJst5wp+jM/O@squeak.grove.modra.org
State Unresolved
Headers
Series ld-elf/eh5 remove xfail hppa64 |

Checks

Context Check Description
snail/binutils-gdb-check warning Git am fail log

Commit Message

Alan Modra June 7, 2023, 9:34 a.m. UTC
  Commit cb81e84c72 resulted in an xpass for hppa64-hp-hpux11, but the
test still fails on hpp64-linux.  Let's make it pass for hppa64-linux
too, by accepting pcrel sdata8 encoding in the augmentation data.
  

Patch

diff --git a/ld/testsuite/ld-elf/eh5.d b/ld/testsuite/ld-elf/eh5.d
index 3f3fd2d0354..cec87105915 100644
--- a/ld/testsuite/ld-elf/eh5.d
+++ b/ld/testsuite/ld-elf/eh5.d
@@ -4,7 +4,7 @@ 
 #ld:
 #readelf: -wf
 #target: [check_as_cfi]
-#xfail: alpha-*-*ecoff hppa64-*-* tile*-*-* visium-*-*
+#xfail: alpha-*-*ecoff tile*-*-* visium-*-*
 
 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:     (0b|0c|1b)
+  Augmentation data:     [01][bc]
 
   DW_CFA_nop
   DW_CFA_nop
@@ -37,7 +37,7 @@  Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     03 .. .. .. .. (0b|0c|1b)
+  Augmentation data:     03 .. .. .. .. [01][bc]
 
   DW_CFA_nop
 
@@ -61,7 +61,7 @@  Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     03 .. .. .. .. 0c (0b|0c|1b)
+  Augmentation data:     03 .. .. .. .. 0c [01][bc]
 
   DW_CFA_nop
   DW_CFA_nop
@@ -86,7 +86,7 @@  Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     (0b|0c|1b)
+  Augmentation data:     [01][bc]
 
   DW_CFA_def_cfa: r0(.*) ofs 16
 #?  DW_CFA_nop
@@ -109,7 +109,7 @@  Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     03 .. .. .. .. (0b|0c|1b)
+  Augmentation data:     03 .. .. .. .. [01][bc]
 
   DW_CFA_nop
 #?  DW_CFA_nop
@@ -139,7 +139,7 @@  Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     03 .. .. .. .. 0c (0b|0c|1b)
+  Augmentation data:     03 .. .. .. .. 0c [01][bc]
 
   DW_CFA_nop
   DW_CFA_nop