summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-mmix/sec-7m.d
diff options
context:
space:
mode:
authorJing Yu <jingyu@google.com>2011-12-20 10:27:58 -0800
committerJing Yu <jingyu@google.com>2011-12-20 10:27:58 -0800
commitcf3cdbf8b3cda61a619299e7966a83df66244036 (patch)
tree201e2bcfc955f16802d3257112d29736cb3a3ce8 /binutils-2.21/ld/testsuite/ld-mmix/sec-7m.d
parente4df3e0a5bb640ccfa2f30ee67fe9b3146b152d6 (diff)
downloadtoolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.zip
toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.gz
toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.bz2
Add binutils-2.21.
Use --enable-gold=default for dual linker support. Change-Id: Id1a744c7db58a0b5e7a3be174cdfa875f2f86e49
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-mmix/sec-7m.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-mmix/sec-7m.d38
1 files changed, 38 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mmix/sec-7m.d b/binutils-2.21/ld/testsuite/ld-mmix/sec-7m.d
new file mode 100644
index 0000000..bc930e5
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-mmix/sec-7m.d
@@ -0,0 +1,38 @@
+#source: start.s
+#source: sec-7a.s
+#source: sec-7b.s
+#source: sec-7c.s
+#source: sec-7d.s
+#source: sec-7e.s
+#ld: -m mmo
+#objcopy_linked_file:
+#objdump: -hs
+
+# When producing mmo output: sections with an input length not a
+# multiple of 4, and whose total length in linked output
+# exceeded the "chunk size" (32768), would get to-4-padding
+# inserted at each chunk division. Also check that section
+# sizes aren't rounded up at objcopy.
+
+.*: file format mmo
+
+Sections:
+Idx Name[ ]+Size[ ]+VMA[ ]+LMA[ ]+File off Algn
+ 0 \.text[ ]+0+4 0+ 0+ 0+ 2\*\*2
+[ ]+CONTENTS, ALLOC, LOAD, CODE
+ 1 \.di +0+27ffb +0+4 +0+4 +0+ +2\*\*2
+[ ]+CONTENTS, READONLY
+Contents of section \.text:
+ 0000 e3fd0001[ ]+.*
+Contents of section \.di:
+ 00000 2a000000 00000000 00000000 00000000 .*
+#...
+ 07ff0 00000000 00000000 00000000 2b2c0000 .*
+#...
+ 0fff0 00000000 00000000 00002d2e 00000000 .*
+#...
+ 17ff0 00000000 00000000 002f3000 00000000 .*
+#...
+ 1fff0 00000000 00000000 00313200 00000000 .*
+#...
+ 27ff0 00000000 00000000 000033[ ]+.*