1 #name: PR ld/12921 2 #as: --64 3 #ld: -melf_x86_64 4 #readelf: -S --wide 5 6 There are 7 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]+ +0+1 00 +AX +0 +0 +4096 12 +\[ 2\] .data +PROGBITS +[0-9a-f]+ +[0-9a-f]+000 +0+28 +00 +WA +0 +0 +4096 13 +\[ 3\] .bss +NOBITS +[0-9a-f]+ +[0-9a-f]+028 +0+10000 +00 +WA +0 +0 +4096 14 +\[ 4\] .shstrtab +STRTAB +0+ +[0-9a-f]+ +0+2c +00 +0 +0 +1 15 +\[ 5\] .symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +18 +6 +[0-9] +8 16 +\[ 6\] .strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +00 +0 +0 +1 17 Key to Flags: 18 W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\) 19 I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) 20 O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) 21 #pass 22