[PATCH] ia64/ELF: fix HPUX testsuite fallout

Jan Beulich jbeulich@suse.com
Mon Oct 14 12:33:52 GMT 2024


... from 1f1b5e506bf0 ("bfd/ELF: restrict file alignment for object
files"), as noticed / reported by Alan.

--- a/gas/testsuite/gas/ia64/alias-ilp32.d
+++ b/gas/testsuite/gas/ia64/alias-ilp32.d
@@ -8,10 +8,10 @@ There are 8 section headers, starting at
 Section Headers:
  +\[Nr\] +Name +Type +Addr +Off +Size +ES +Flg +Lk +Inf +Al
  +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0
- +\[ 1\] .text +PROGBITS +00000000 000040 000000 00 +AX +0 +0 16
- +\[ 2\] .data +PROGBITS +00000000 000040 000000 00 +WA +0 +0 +1
- +\[ 3\] .bss +NOBITS +00000000 000040 000000 00 +WA +0 +0 +1
- +\[ 4\] 1234 +PROGBITS +00000000 000040 000005 00 +WA +0 +0 +1
+ +\[ 1\] .text +PROGBITS +00000000 0+[0-9a-f]+ 000000 00 +AX +0 +0 16
+ +\[ 2\] .data +PROGBITS +00000000 0+[0-9a-f]+ 000000 00 +WA +0 +0 +1
+ +\[ 3\] .bss +NOBITS +00000000 0+[0-9a-f]+ 000000 00 +WA +0 +0 +1
+ +\[ 4\] 1234 +PROGBITS +00000000 0+[0-9a-f]+ 000005 00 +WA +0 +0 +1
  +\[ 5\] .symtab +SYMTAB +00000000 [0-9a-f]+ 000060 10 +6 +6 +4
  +\[ 6\] .strtab +STRTAB +00000000 [0-9a-f]+ 000006 00 +0 +0 +1
  +\[ 7\] .shstrtab +STRTAB +00000000 [0-9a-f]+ 000031 00 +0 +0 +1
--- a/gas/testsuite/gas/ia64/secname-ilp32.d
+++ b/gas/testsuite/gas/ia64/secname-ilp32.d
@@ -8,10 +8,10 @@ There are 8 section headers, starting at
 Section Headers:
   \[Nr\] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
   \[ 0\]                   NULL            00000000 000000 000000 00      0   0  0
-  \[ 1\] .text             PROGBITS        00000000 000040 000000 00  AX  0   0 16
-  \[ 2\] .data             PROGBITS        00000000 000040 000000 00  WA  0   0  1
-  \[ 3\] .bss              NOBITS          00000000 000040 000000 00  WA  0   0  1
-  \[ 4\] .foo              PROGBITS        00000000 000040 000008 00  WA  0   0  8
+  \[ 1\] .text             PROGBITS        00000000 0+[0-9a-f]+ 000000 00  AX  0   0 16
+  \[ 2\] .data             PROGBITS        00000000 0+[0-9a-f]+ 000000 00  WA  0   0  1
+  \[ 3\] .bss              NOBITS          00000000 0+[0-9a-f]+ 000000 00  WA  0   0  1
+  \[ 4\] .foo              PROGBITS        00000000 0+[0-9a-f]+ 000008 00  WA  0   0  8
   \[ 5\] .symtab           SYMTAB          00000000 [0-9a-f]+ 000050 10      6   5  4
   \[ 6\] .strtab           STRTAB          00000000 [0-9a-f]+ 000001 00      0   0  1
   \[ 7\] .shstrtab         STRTAB          00000000 [0-9a-f]+ 000031 00      0   0  1
--- a/gas/testsuite/gas/ia64/unwind-ilp32.d
+++ b/gas/testsuite/gas/ia64/unwind-ilp32.d
@@ -8,11 +8,11 @@ There are 9 section headers, starting at
 Section Headers:
   \[Nr\] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
   \[ 0\]                   NULL            00000000 000000 000000 00      0   0  0
-  \[ 1\] .text             PROGBITS        00000000 000040 000000 00  AX  0   0 16
-  \[ 2\] .data             PROGBITS        00000000 000040 000000 00  WA  0   0  1
-  \[ 3\] .bss              NOBITS          00000000 000040 000000 00  WA  0   0  1
-  \[ 4\] .IA_64.unwind_inf PROGBITS        00000000 000040 000008 00   A  0   0  8
-  \[ 5\] .IA_64.unwind     IA_64_UNWIND    00000000 000048 000008 00  AL  1   1  8
+  \[ 1\] .text             PROGBITS        00000000 0+[0-9a-f]+ 000000 00  AX  0   0 16
+  \[ 2\] .data             PROGBITS        00000000 0+[0-9a-f]+ 000000 00  WA  0   0  1
+  \[ 3\] .bss              NOBITS          00000000 0+[0-9a-f]+ 000000 00  WA  0   0  1
+  \[ 4\] .IA_64.unwind_inf PROGBITS        00000000 0+[0-9a-f]+ 000008 00   A  0   0  8
+  \[ 5\] .IA_64.unwind     IA_64_UNWIND    00000000 0+[0-9a-f]+ 000008 00  AL  1   1  8
   \[ 6\] .symtab           SYMTAB          00000000 [0-9a-f]+ 000060 10      7   6  4
   \[ 7\] .strtab           STRTAB          00000000 [0-9a-f]+ 000001 00      0   0  1
   \[ 8\] .shstrtab         STRTAB          00000000 [0-9a-f]+ 00004d 00      0   0  1


More information about the Binutils mailing list