Datasheet
Differences
ARM DUI 0064D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-55
-arch
Select architecture (use
-cpu
instead).
Impact
Use DWARF2 format for new projects and update your existing tools to use the
DWARF2 format.
2.4.5 Changed linker behavior
This section describes linker behavior that is changed, deprecated, or obsolete. Obsolete
features are identified explicitly. Their use is faulted in ADS. Deprecated features will
be made obsolete in future releases. Their use is warned about in ADS.
New or changed linker behavior
The following new or significantly changed options are available in the linker:
• The linker is now an ELF-only linker.
• The syntax of the
-remove
command has been expanded to include section
attribute qualifiers. This is backwardly compatible with SDT 2.50/2.51.
The linker now has
-remove
as its default option. The SDT 2.50/2.51 default was
-noremove
. The
-remove
option is strongly recommended with C++ in order to
reduce code size. Use the new linker option
-keep
if you want to keep sections that
are not referenced.
• The syntax of
-first
and
-last
has been changed to identify both object and
section name, not just section name as in SDT 2.50/2.51. There is no backward
compatibility with SDT 2.50/2.51.
• The syntax of the
-entry
command has been changed to allow more flexible
selection. Only one entry point can be specified to the linker. There is some
backward compatibility with SDT 2.50/2.51.
• The
veneers
argument has been added to the
-info
option.
• The linker now generates conventionally named region-related symbols for non
scatter-loaded images, in a similar way to those generated for scatter-loaded
images.
The following new armlink options have been added:
-partial
Generate a partially-linked ELF object
-ropi
RO execution region is position-independent
-rwpi
RW execution region is position-independent
-split
Image has two load regions