2 #ld
: -m mmo
-T
$srcdir
/$subdir
/mmosec2
.ld
5 # Check that sections are automatically created to cope
with contents at
6 # unexpected addresses
. We
do this by linking
.text at an unexpected
7 # address
. As
.text (like
.data
) does
not get a section descriptor
, the
8 # output gets a LOP_LOC at an unexpected address
, and a unique section
is
9 # created
. This
test will have to be changed
if .text gets a section
10 # descriptor
if linked to an unexpected address
.
15 Idx Name Size VMA LMA File off Algn
16 0 \
.text
0+ 0+ 0+ 0+ 2\
*\
*2
18 1 \
.MMIX\
.sec\
.0 0+4 1000000000000000 1000000000000000 0+ 2\
*\
*2
20 Contents of section \
.MMIX\
.sec\
.0:
21 1000000000000000 e3fd0001
.*