Fatal errors
The following conditions produce fatal errors:
-
Specifying more than one -M option on the command line.
-
Specifying both the -r and the -M
option on the same command line.
-
Specifying the -M option without the -dn
option on the command line
(-dy is the default; you must specify -dn
with the -M option).
-
A mapfile cannot be opened or read.
-
A syntax error is found in the mapfile.
NOTE:
ld does not return an error
if a file_name, section_name, segment_name
or symbol_name does not conform
to the rules under
``Mapfile structure and syntax''
unless this condition produces a syntax error.
For instance,
if a name begins with a special character and this name is at the beginning
of a directive line, ld returns an error.
If the name is a section_name (appearing within the directive)
ld does not return an error.
-
More than one segment_type, segment_flags,
virtual_address, physical_address, length, or
alignment value appears on a single declaration line.
-
You attempt to manipulate either the
interp
segment or dynamic
segment in a mapfile.
CAUTION:
The interp
and dynamic
segments are special built-in
segments that you cannot change in any way.
-
A segment grows larger than the size specified by
a your length attribute value.
-
A user-defined virtual_address value causes a segment to
overlap the previous segment.
-
More than one section_name, section_type, or section_flags
value appears on a single directive line.
-
A flag and its complement (for example,
A
and !A
) appear on a single directive line.
Previous topic:
Warnings
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003