Download 8051 Cross-Assembler, Linker, Utilities User`s Manual

Transcript
Appendix D
D−6
WARNING 20 :
cannot find segment name
A segment name in one of the locating controls on the command line does
not exist. The segment name in the control is ignored.
WARNING 21 :
this bank switch method is no longer supported,
please use the alternate method
The previous linker version supported two methods to perform bank
switching, one of these two methods is no longer supported.
WARNING 22 :
multipe interrupts defined for vector address
addr (modules ’modA’ and ’modB’)
When the same interrupt vector is used in multiple modules this warning
will be triggered.
WARNING 23 :
overlapping interrupts: addr(’mod’)<−>addr(’mod’)
Some devices allow for interrupts to be defined on alternative address
ranges. This warning is triggered when multiple interrupts overlap each
other.
WARNING 24 :
different accelerated interrupt base values used:
addr(’mod’)<−>addr(’mod’)
LINK51 ERRORS
Some devices allow for specification of an interrupt base address. When
multiple modules define different base values this warning is triggered.
3 ERROR MESSAGES
ERROR 101
:
segment ’segment_name’ combination error in
module module_name
A segment is declared in two modules with different memory types or
relocation types. Errors of this type are detected in the first pass of the
linkage process. The linker terminates after creating a list file. An output
file is not made.
ERROR 102
:
external attribute mismatch, symbol ’symbol_name’,
module filename(module_name)
A symbol is declared external in two or more modules. The attributes of
the symbol are used in conflicting context. e.g. declared twice with a
different memory type.