| 1 |
#PROG: strip |
| 2 |
#source: compressed-1.s |
| 3 |
#as: --32 --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 Addr Off Size ES Flg Lk Inf Al |
| 12 |
\[ 0\] NULL 00000000 000000 000000 00 0 0 0 |
| 13 |
\[ 1\] .text PROGBITS 00000000 000040 00001b 00 AX 0 0 16 |
| 14 |
\[ 2\] .data PROGBITS 00000000 00005b 000000 00 WA 0 0 1 |
| 15 |
\[ 3\] .bss NOBITS 00000000 00005b 000000 00 WA 0 0 1 |
| 16 |
\[ 4\] .shstrtab STRTAB 00000000 [0-9a-f]+ 00001c 00 .* 0 0 1 |
| 17 |
Key to Flags: |
| 18 |
#... |