Add MMIX support
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mmix / sec-5.d
1 #source: start.s
2 #ld: -m mmo -T $srcdir/$subdir/mmosec2.ld
3 #objdump: -sh
4
5 # Check that sections are automatically created to cope with contents at
6 # unexpected addresses. We do this by linking .text at an unexpected
7 # address. As .text (like .data) does not get a section descriptor, the
8 # output gets a LOP_LOC at an unexpected address, and a unique section is
9 # created. This test will have to be changed if .text gets a section
10 # descriptor if linked to an unexpected address.
11
12 .*: file format mmo
13
14 Sections:
15 Idx Name Size VMA LMA File off Algn
16 0 \.text 0+ 0+ 0+ 0+ 2\*\*2
17
18 1 \.MMIX\.sec\.0 0+4 1000000000000000 1000000000000000 0+ 2\*\*2
19 CONTENTS, ALLOC, LOAD
20 Contents of section \.MMIX\.sec\.0:
21 0000 e3fd0001 .*
This page took 0.043051 seconds and 5 git commands to generate.