fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-mmix / sec-5.d
blob044786b5cbd9ee7814f3a030a5676b7b3ba2ef27
1 #source: start.s
2 #ld: -m mmo -T $srcdir/$subdir/mmosec2.ld
3 #objdump: -sh
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.
12 .*: file format mmo
14 Sections:
15 Idx Name Size VMA LMA File off Algn
16 0 \.text 0+ 0+ 0+ 0+ 2\*\*2
18 1 \.MMIX\.sec\.0 0+4 1000000000000000 1000000000000000 0+ 2\*\*2
19 CONTENTS, ALLOC, LOAD
20 Contents of section \.MMIX\.sec\.0:
21 1000000000000000 e3fd0001 .*