1 #name: PR ld/12921 2 #as: --32 3 #ld: -melf_i386 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 +Addr +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+20 +00 +WA +0 +0 +4096 13 +\[ 3\] .bss +NOBITS +[0-9a-f]+ +[0-9a-f]+020 +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]+ +10 +6 +[0-9] +4 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\) 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