summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-scripts/section-match-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-scripts/section-match-1.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-scripts/section-match-1.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-scripts/section-match-1.d b/binutils-2.21/ld/testsuite/ld-scripts/section-match-1.d
new file mode 100644
index 0000000..c68dbb8
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-scripts/section-match-1.d
@@ -0,0 +1,16 @@
+#source: section-match-1.s
+#ld: -T section-match-1.t
+#objdump: -s
+#notarget: *-*-osf* *-*-aix* *-*-pe *-*-*aout *-*-*oldld *-*-ecoff *-*-netbsd *-*-vms h8300-*-* tic30-*-*
+# This test uses arbitary section names, which are not support by some
+# file formts. Also these section names must be present in the
+# output, not translated into some other name, eg .text
+
+.*: file format .*
+
+#...
+Contents of section \.secA:
+ [0-9a-f]* (01)?0+(01)? .*
+Contents of section \.secC:
+ [0-9a-f]* (02)?0+(02)? .*
+#pass