Add ability to change linker warning messages into errors when reporting executable...
[binutils-gdb.git] / ld / testsuite / ld-mmix / sec-9.d
blob4bddc35472cbe0b141bbffa6e69beab691db0243
1 #source: start.s
2 #ld: -m mmo -T $srcdir/$subdir/mmosec2.ld
3 #objdump: -sh
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.
12 .*: file format mmo
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 .*