1 #name: PR ld/12718 2 #as: --64 3 #ld: -melf_x86_64 -z noseparate-code 4 #readelf: -S --wide 5 6 There are 5 section headers, starting at offset 0x[0-9a-f]+: 7 8 Section Headers: 9 +\[Nr\] Name +Type +Address +Off +Size +ES +Flg +Lk +Inf +Al 10 +\[ 0\] +NULL +0+ +0+ +0+ +0+ +0 +0 +0 11 +\[ 1\] +.text +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +000006 00 +AX +0 +0 +1 12 +\[ 2\] +.symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 18 +3 +[0-9] +8 13 +\[ 3\] +.strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 00 +0 +0 +1 14 +\[ 4\] +.shstrtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +0+ +0 +0 +1 15 Key to Flags: 16 #pass 17