| 1 |
#PROG: objcopy |
| 2 |
#name: objcopy add-empty-section |
| 3 |
#source: empty.s |
| 4 |
#objcopy: --add-section NEW=$srcdir/$subdir/empty-file |
| 5 |
#readelf: -S --wide |
| 6 |
|
| 7 |
#... |
| 8 |
\[[ 0-9]+\] NEW[ \t]+PROGBITS[ \t]+[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+0+[ \t]+[ \t0-9a-f]+ |
| 9 |
#... |