Linker Options
7-16
For each supported environment variable, the ’C54x linker also supports a
processor-specific environment variable with a C54X_ prefix (e.g.,
C54X_C_DIR). The linker searches for the processor-specific variable first; if
the variable isn’t found, the linker searches for the generic variable. If both vari-
ables are set, the settings of the processor-specific variable are used. The
processor-specific variables are useful when you are using Texas Instruments
tools for different processors at the same time. If you are using the tool set for
only one type of processor, these environment variables are unnecessary.
7.4.10 Disable Conditional Linking (–j Option)
The –j option disables conditional linking that has been set up with the
assembler .clink directive. By default, all sections are unconditionally linked.
7.4.11 Ignore Alignment Flags (–k Option)
The –k option forces the linker to ignore any SECTIONS directive alignment
specifications. For more information on the SECTIONS directive, see Section
7.8, “The SECTIONS Directive”.
7.4.12 Create a Map File (–m
filename Option)
The –m option creates a linker map listing and puts it in
filename. The syntax
for the –m option is:
–m
filename
The linker map describes:
-
Memory configuration
-
Input and output section allocation
-
The addresses of external symbols after they have been relocated
The map file contains the name of the output module and the entry point; it may
also contain up to three tables:
-
A table showing the new memory configuration if any non-default memory
is specified
-
A table showing the linked addresses of each output section and the input
sections that make up the output sections
-
A table showing each external symbol and its address. This table has two
columns: the left column contains the symbols sorted by name, and the
right column contains the symbols sorted by address
Summary of Contents for TMS320C54x
Page 38: ......
Page 39: ......
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 44: ......
Page 45: ......
Page 46: ......
Page 47: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 51: ......
Page 52: ......
Page 53: ......
Page 54: ......
Page 55: ......
Page 56: ......
Page 57: ......
Page 58: ......
Page 59: ......
Page 60: ......
Page 61: ......
Page 62: ......
Page 276: ......
Page 277: ......
Page 278: ......
Page 279: ......
Page 280: ......
Page 281: ......
Page 282: ......
Page 283: ......
Page 284: ......
Page 285: ......
Page 286: ......
Page 287: ......
Page 288: ......
Page 289: ......
Page 290: ......
Page 291: ......
Page 292: ......
Page 293: ......
Page 294: ......
Page 295: ......
Page 296: ......
Page 297: ......
Page 298: ......
Page 299: ......
Page 300: ......
Page 301: ......
Page 302: ......