summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/binutils/testsuite/binutils-all/add-empty-section.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/binutils/testsuite/binutils-all/add-empty-section.d')
-rw-r--r--binutils-2.25/binutils/testsuite/binutils-all/add-empty-section.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils-2.25/binutils/testsuite/binutils-all/add-empty-section.d b/binutils-2.25/binutils/testsuite/binutils-all/add-empty-section.d
new file mode 100644
index 00000000..c9162a50
--- /dev/null
+++ b/binutils-2.25/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]+
+#...