2014-09-12 22:14:23 +00:00
|
|
|
#name: PR ld/12921
|
|
|
|
#as: --64
|
2022-10-27 18:45:45 +00:00
|
|
|
#ld: -melf_x86_64 -z noseparate-code
|
2014-09-12 22:14:23 +00:00
|
|
|
#readelf: -S --wide
|
|
|
|
|
|
|
|
There are 7 section headers, starting at offset 0x[0-9a-f]+:
|
|
|
|
|
|
|
|
Section Headers:
|
|
|
|
+\[Nr\] Name +Type +Address +Off +Size +ES +Flg +Lk +Inf +Al
|
|
|
|
+\[ 0\] +NULL +0+ +0+ +0+ +0+ +0 +0 +0
|
|
|
|
+\[ 1\] .text +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +0+1 00 +AX +0 +0 +4096
|
|
|
|
+\[ 2\] .data +PROGBITS +[0-9a-f]+ +[0-9a-f]+000 +0+28 +00 +WA +0 +0 +4096
|
|
|
|
+\[ 3\] .bss +NOBITS +[0-9a-f]+ +[0-9a-f]+028 +0+10000 +00 +WA +0 +0 +4096
|
2017-04-10 11:32:00 +00:00
|
|
|
+\[ 4\] .symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +18 +5 +[0-9] +8
|
|
|
|
+\[ 5\] .strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +00 +0 +0 +1
|
|
|
|
+\[ 6\] .shstrtab +STRTAB +0+ +[0-9a-f]+ +0+2c +00 +0 +0 +1
|
2014-09-12 22:14:23 +00:00
|
|
|
Key to Flags:
|
|
|
|
#pass
|