2001-10-30 15:20:14 +00:00
|
|
|
#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
|
2001-11-11 11:47:37 +00:00
|
|
|
|
2001-10-30 15:20:14 +00:00
|
|
|
1 \.MMIX\.sec\.0 0+4 1000000000000000 1000000000000000 0+ 2\*\*2
|
|
|
|
CONTENTS, ALLOC, LOAD
|
|
|
|
Contents of section \.MMIX\.sec\.0:
|
* 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
|
|
|
1000000000000000 e3fd0001 .*
|