old-cross-binutils/ld/testsuite/ld-mmix/sec-9.d
Hans-Peter Nilsson 1fddb8daad * ld-mmix/sec-8m.d: Adjust test for dump using correct section
length.
	* ld-mmix/sec-9.d: Renamed test, formerly known as sec-5.d.
	* ld-mmix/sec-5.d, ld-mmix/b-offloc.s: Rewritten test.
2004-10-24 21:39:30 +00:00

19 lines
817 B
Makefile

#source: start.s
#ld: -m mmo -T $srcdir/$subdir/mmosec2.ld
#objdump: -sh
# This is based on sec-5.d which used to link .text at an unexpected
# address to check that a special section was created in objdump when
# reading in contents at an unusual location without a proper section
# descriptor. As .text (like .data) now gets a section descriptor when
# linked to an unexpected location, the old test is transformed into a
# specific check that the section description for .text works.
.*: file format mmo
Sections:
Idx Name Size VMA LMA File off Algn
0 \.text 0+4 1000000000000000 1000000000000000 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, READONLY, CODE
Contents of section \.text:
1000000000000000 e3fd0001 .*