daily update
[external/binutils.git] / ld / testsuite / ld-mmix / sec-9.d
1 #source: start.s
2 #ld: -m mmo -T $srcdir/$subdir/mmosec2.ld
3 #objdump: -sh
4
5 # This is based on sec-5.d which used to link .text at an unexpected
6 # address to check that a special section was created in objdump when
7 # reading in contents at an unusual location without a proper section
8 # descriptor.  As .text (like .data) now gets a section descriptor when
9 # linked to an unexpected location, the old test is transformed into a
10 # specific check that the section description for .text works.
11
12 .*:     file format mmo
13
14 Sections:
15 Idx Name          Size      VMA               LMA               File off  Algn
16   0 \.text         0+4  1000000000000000  1000000000000000  0+  2\*\*2
17                   CONTENTS, ALLOC, LOAD, READONLY, CODE
18 Contents of section \.text:
19  1000000000000000 e3fd0001                             .*