aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/copy-3.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-05-03 14:21:18 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-05-03 14:21:18 +0000
commit81fc501adbf7c1219caabb3403c4c8950e8209c8 (patch)
treec4b04be257863430e8fec76645fe3da8b19e471c /binutils/testsuite/binutils-all/copy-3.d
parentbd75c995a741ebdb45a8398f1c9070f11d6c2dc7 (diff)
downloadgdb-81fc501adbf7c1219caabb3403c4c8950e8209c8.zip
gdb-81fc501adbf7c1219caabb3403c4c8950e8209c8.tar.gz
gdb-81fc501adbf7c1219caabb3403c4c8950e8209c8.tar.bz2
2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/copy-3.d: New. * objcopy.exp: Run copy-3.
Diffstat (limited to 'binutils/testsuite/binutils-all/copy-3.d')
-rw-r--r--binutils/testsuite/binutils-all/copy-3.d17
1 files changed, 17 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/copy-3.d b/binutils/testsuite/binutils-all/copy-3.d
new file mode 100644
index 0000000..373c10f
--- /dev/null
+++ b/binutils/testsuite/binutils-all/copy-3.d
@@ -0,0 +1,17 @@
+#PROG: objcopy
+#objdump: -h
+#objcopy: --set-section-flags .text=alloc,data
+#name: copy with setting section flags 3
+#source: bintest.s
+#not-target: *-*-aout *-*-*pe* *-*-*coff i*86-*-cygwin* i*86-*-mingw32*
+# The .text # section in PE/COFF has a fixed set of flags and these
+# cannot be changed. We skip it for them.
+
+.*: +file format .*
+
+Sections:
+Idx.*
+#...
+ [0-9]* .text.*
+ CONTENTS, ALLOC, LOAD, RELOC, DATA
+#...