1 #name: PR ld/12718 2 #as: --64 3 #ld: -melf_x86_64 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\] +.shstrtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +0+ +0 +0 +1 13 +\[ 3\] +.symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 18 +4 +[0-9] +8 14 +\[ 4\] +.strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 00 +0 +0 +1 15 Key to Flags: 16 W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\) 17 I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) 18 O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) 19 #pass 20