Hello Support,
Can you please let me know the possible values for "attribute" and how to provide multiple attribute values in the command line for the TMS470 Linker option
--mapfile_contents=
attribute?
Thank you.
Regards
Pashan
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Support,
Can you please let me know the possible values for "attribute" and how to provide multiple attribute values in the command line for the TMS470 Linker option
--mapfile_contents=
attribute?
Thank you.
Regards
Pashan
You can run the compiler from the command line with the --mapfile_contents=help linker option and it will tell you the attributes and what they mean:
% cl6x -z --mapfile_contents=help
<linking>
TMS320C6x Linker v7.3.0
Tools Copyright (c) 1996-2011 Texas Instruments Incorporated
The --mapfile_contents option controls display filter settings by specifying a
comma-delimited list of display attributes. When prefixed with the word "no",
an attribute is disabled instead of enabled.
The following attributes are available:
copytables: copy tables (default: on)
crctables: CRC tables (default: on)
dynsym_name: dynamic symbols sorted by name (default: on)
entry: entry point (default: on)
got: Global Offset Table (GOT) entries (default: on)
hidden_sym: hidden symbols (default: on)
impexp_name: imported and exported symbols sorted by name (default: on)
load_addr: display load addresses (default: off)
localized_sym: localized symbols (default: on)
memory: memory ranges (default: on)
plt: Procedure Linkage Table entries (default: on)
sections: sections (default: on)
segments: ELF segments (default: on)
sym_defs: defined symbols per file (default: off)
sym_name: symbols sorted by name (default: on)
sym_runaddr: symbols sorted by run address (default: on)
trampolines: trampolines (default: on)
all: enables all attributes
none: disables all attributes
Examples: --mapfile_contents=copytables,nocrctables
--mapfile_contents=all,nocopytables
--mapfile_contents=none,crctablesThis is also documented in the ARM Assembly Language Tools v4.9 User's Guide (SPNU118 revision J) section 7.4.19 "Managing Map File Contents".
Archaeologist said:You can run the compiler from the command line with the --mapfile_contents=help linker option and it will tell you the attributes
Furthermore, you can ask the shell for help on options, which in this case would tell you about the option Archeologist mentions; for example:
%> cl6x --help --mapfile_contents
--mapfile_contents=attribute
Enable the display of <attribute> or disable with
no<attribute> in the linker generated map file.
Multiple attributes can be specified by separating
them with commas (e.g.
--mapfile_contents=sections,nosymbols). Type
--mapfile_contents=help for a list of attributes.