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 the ``Mapfile Structure and Syntax'' section
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
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004