summaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/add-section.d
blob: 37a24cf5d255c0ba63cc31479cdf406418ae32b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#PROG: objcopy
#name: objcopy add-section
#source: empty.s
#objcopy: --add-section NEW=$srcdir/empty.s
#objdump: -s -j NEW

.*: +file format .*

Contents of section NEW:
 0000 2320416e 20656d70 74792066 696c652e  # An empty file.
 0010 0a                                   .