2009-06-26 Kai Tietz <kai.tietz@onevision.com>
[binutils.git] / ld / testsuite / ld-mmix / sec-7m.d
blob0bba4f5c23b4077f6feff20c161555b4e2ef5ad2
1 #source: start.s
2 #source: sec-7a.s
3 #source: sec-7b.s
4 #source: sec-7c.s
5 #source: sec-7d.s
6 #source: sec-7e.s
7 #ld: -m mmo
8 #objcopy_linked_file:
9 #objdump: -hs
11 # When producing mmo output: sections with an input length not a
12 # multiple of 4, and whose total length in linked output
13 # exceeded the "chunk size" (32768), would get to-4-padding
14 # inserted at each chunk division. Also check that section
15 # sizes aren't rounded up at objcopy.
17 .*: file format mmo
19 Sections:
20 Idx Name[ ]+Size[ ]+VMA[ ]+LMA[ ]+File off Algn
21 0 \.text[ ]+0+4 0+ 0+ 0+ 2\*\*2
22 [ ]+CONTENTS, ALLOC, LOAD, CODE
23 1 \.di +0+27ffb +0+4 +0+4 +0+ +2\*\*2
24 [ ]+CONTENTS, READONLY
25 Contents of section \.text:
26 0000 e3fd0001[ ]+.*
27 Contents of section \.di:
28 00004 2a000000 00000000 00000000 00000000 .*
29 #...
30 07ff4 00000000 00000000 00000000 2b2c0000 .*
31 #...
32 0fff4 00000000 00000000 00002d2e 00000000 .*
33 #...
34 17ff4 00000000 00000000 002f3000 00000000 .*
35 #...
36 1fff4 00000000 00000000 00313200 00000000 .*
37 #...
38 27ff4 00000000 00000000 000033[ ]+.*