From: Jan Beulich Date: Mon, 14 Oct 2024 12:38:23 +0000 (+0200) Subject: ia64/ELF: fix HPUX testsuite fallout X-Git-Tag: gdb-16-branchpoint~667 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4444dac5173e2e6ecd3053d22719049a3016836d;p=thirdparty%2Fbinutils-gdb.git ia64/ELF: fix HPUX testsuite fallout ... from 1f1b5e506bf0 ("bfd/ELF: restrict file alignment for object files"), as noticed / reported by Alan. --- diff --git a/gas/testsuite/gas/ia64/alias-ilp32.d b/gas/testsuite/gas/ia64/alias-ilp32.d index fb760008e9f..59df5a7c34f 100644 --- 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 offset .*: 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 diff --git a/gas/testsuite/gas/ia64/secname-ilp32.d b/gas/testsuite/gas/ia64/secname-ilp32.d index 0b8a77193d0..17747e402f9 100644 --- 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 offset .*: 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 diff --git a/gas/testsuite/gas/ia64/unwind-ilp32.d b/gas/testsuite/gas/ia64/unwind-ilp32.d index 9c12aad5a54..4ab49d0bd53 100644 --- 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 offset .*: 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