| 1 |
#PROG: strip |
| 2 |
#source: compressed-1.s |
| 3 |
#as: --64 --compress-debug-sections -mx86-used-note=no |
| 4 |
#strip: |
| 5 |
#readelf: -S --wide |
| 6 |
#name: strip on compressed debug sections |
| 7 |
|
| 8 |
There are 5 section headers, starting at offset 0x[0-9a-f]+: |
| 9 |
|
| 10 |
Section Headers: |
| 11 |
\[Nr\] Name Type Address Off Size ES Flg Lk Inf Al |
| 12 |
\[ 0\] NULL 0000000000000000 000000 000000 00 0 0 0 |
| 13 |
\[ 1\] .text PROGBITS 0000000000000000 000040 000015 00 AX 0 0 16 |
| 14 |
\[ 2\] .data PROGBITS 0000000000000000 000055 000000 00 WA 0 0 1 |
| 15 |
\[ 3\] .bss NOBITS 0000000000000000 000055 000000 00 WA 0 0 1 |
| 16 |
\[ 4\] .shstrtab STRTAB 0000000000000000 [0-9a-f]+ 00001c 00 .* 0 0 1 |
| 17 |
Key to Flags: |
| 18 |
#... |