aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/add-section.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/add-section.d')
-rw-r--r--binutils/testsuite/binutils-all/add-section.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/add-section.d b/binutils/testsuite/binutils-all/add-section.d
new file mode 100644
index 0000000..37a24cf
--- /dev/null
+++ b/binutils/testsuite/binutils-all/add-section.d
@@ -0,0 +1,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 .