old-cross-binutils/ld/testsuite/ld-mmix/sec-5.d
Hans-Peter Nilsson 5ff4a71ef3 * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d,
ld-mmix/loc4.d, ld-mmix/loc4m.d, ld-mmix/loc6.d, ld-mmix/loc6m.d,
	ld-mmix/locdo-1.d, ld-mmix/sec-1.d, ld-mmix/sec-2.d,
	ld-mmix/sec-3.d, ld-mmix/sec-4.d, ld-mmix/sec-5.d,
	ld-mmix/sec-7m.d, ld-mmix/sec-8m.d, ld-mmix/spec802.d,
	ld-mmix/spec803.d, ld-mmix/spec804.d, ld-mmix/spec805.d,
	ld-mmix/spec806.d, ld-mmix/spec807.d, ld-mmix/spec808.d: Tweak for
	objdump no longer truncating dump addresses.
2003-05-12 05:45:38 +00:00

21 lines
866 B
Makefile

#source: start.s
#ld: -m mmo -T $srcdir/$subdir/mmosec2.ld
#objdump: -sh
# Check that sections are automatically created to cope with contents at
# unexpected addresses. We do this by linking .text at an unexpected
# address. As .text (like .data) does not get a section descriptor, the
# output gets a LOP_LOC at an unexpected address, and a unique section is
# created. This test will have to be changed if .text gets a section
# descriptor if linked to an unexpected address.
.*: file format mmo
Sections:
Idx Name Size VMA LMA File off Algn
0 \.text 0+ 0+ 0+ 0+ 2\*\*2
1 \.MMIX\.sec\.0 0+4 1000000000000000 1000000000000000 0+ 2\*\*2
CONTENTS, ALLOC, LOAD
Contents of section \.MMIX\.sec\.0:
1000000000000000 e3fd0001 .*