Download MCUEZLNK User Guide - Freescale Semiconductor

Transcript
Freescale Semiconductor, Inc.
Linker Messages
Linker Messages Reference
6.3.44 L1124: '+' or '-' Should Directly Follow Filename
Type:
Error
The + or - suffix specified after a filename in the NAMES block does not
directly follow the filename. A space probably exists between the filename and
suffix.
Example:
LINK
fibo.abs
NAMES fibo.o + startup.o END
^
ERROR: '+' or '-' should directly follow the filename
SEGMENTS
MY_RAM = READ_WRITE 0x800 TO 0x80F;
MY_ROM = READ_ONLY 0x810 TO 0xAFF;
MY_STK = READ_WRITE 0xB00 TO 0xBFF;
END
PLACEMENT
.text
INTO MY_ROM;
.data
INTO MY_RAM;
.stack
INTO MY_STK;
END
Freescale Semiconductor, Inc...
Description:
/* Set reset vector on _Startup */
VECTOR ADDRESS 0xFFFE _Startup
Tip:
Example:
Remove the extra space after the filename.
LINK
fibo.abs
NAMES fibo.o+ startup.o
SEGMENTS
MY_RAM = READ_WRITE
MY_ROM = READ_ONLY
MY_STK = READ_WRITE
END
PLACEMENT
.text
INTO
.data
INTO
.stack
INTO
END
END
0x800
0x810
0xB00
TO 0x80F;
TO 0xAFF;
TO 0xBFF;
MY_ROM;
MY_RAM;
MY_STK;
/* Set reset vector on _Startup */
VECTOR ADDRESS 0xFFFE _Startup
MCUez Linker
MOTOROLA
User’s Manual
Linker Messages
For More Information On This Product,
Go to: www.freescale.com
143