summaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/add-empty-section.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/add-empty-section.d')
-rw-r--r--binutils/testsuite/binutils-all/add-empty-section.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/add-empty-section.d b/binutils/testsuite/binutils-all/add-empty-section.d
new file mode 100644
index 0000000..c9162a5
--- /dev/null
+++ b/binutils/testsuite/binutils-all/add-empty-section.d
@@ -0,0 +1,9 @@
+#PROG: objcopy
+#name: objcopy add-empty-section
+#source: empty.s
+#objcopy: --add-section NEW=$srcdir/empty-file
+#readelf: -S --wide
+
+#...
+ \[[ 0-9]+\] NEW[ \t]+PROGBITS[ \t]+[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+0+[ \t]+[ \t0-9a-f]+
+#...