Specifications
Warning Message Meaning and Remedy
COFF ".file" entry with no file-
name.
Reasons
The COFF symbol table contains a primary entry of ".file"
type but it is not followed by an auxiliary file-name entry.
Action
Supply a correct COFF file for the target program.
COFF line-number table refers to
symbol index N which has no
subprogram scope
Reasons
The COFF table that connects source-code line numbers
with code addresses identifies a source line that does not
seem to be located in a subprogram.
Action
This is probably harmless and no action is needed.
Disabled internal RAM implies
-stack=external
Reasons
The command-line option -internal_ram=disabled overrides
the option (or default setting) -stack=internal. If the internal
RAM is not used, the stack must be in external RAM.
Action
Check the command-line options and correct if necessary.
Displacement D taken as signed = -
S
Reasons The 16-bit displacement D in a register-indirect operand is
large enough (at least 32 768 or 8000 hex) to be interpreted
as a negative (2's complement) offset S.
Action
None. Even if the negative interpretation is wrong, Bound-T
will apply 16-bit wrap-around to the final address which
will compensate.
Fetching code from on-chip register
field at A
Reasons
The immediate reason for this warning is that the control-
flow analysis has given the Program Counter (PC) an
address A that points into the on-chip register field. As the
on-chip registers are usually peripheral control registers, this
is an unusual situation (but perhaps not illegal). It may
mean that a dynamic jump or call has been misanalysed; the
maximum value of a switch/case index may be over-
estimated or the assumption of a constant address table is
wrong. An alternative error is that the wrong device was
chosen, one where the on-chip register field covers some
addresses that contain code in the real target device.
Action
See section 5.6 and check the program. Check that the
-device option is correct for this program.
Fetching from odd address A Reasons
The immediate reason for this warning is that the control-
flow analysis has given the odd value A to the Program
Counter (PC). As instruction words always have an even
octet address this is an unusual situation (but not illegal, the
processor ignores the least significant PC bit). It may mean
that a dynamic jump or call has been misanalysed; the
maximum value of a switch-case index may be overesti-
mated or the assumption of a constant address table is
wrong.
Action
See section 5.6 and check the program
Immediate operand N taken as
signed = -S
Reasons The immediate 8- or 16-bit operand N is large enough (at
least 128 or 32 768) to be interpreted as a negative (2's
complement) number S.
Action
None. However, the interpretation may be wrong and may
prevent the analysis of loop bounds.
Invalid COFF symbol section
number: symbol: section
Reasons The COFF symbol table gives a section number for this
symbol that is not a valid section number in this COFF file.
Action
Supply a correct COFF file for the target program.
36 Warning messages Bound-T for H8/300