You copied the Doc URL to your clipboard.

Placement of Arm® C and C++ library code

You can place code from the Arm® standard C and C++ libraries using a scatter file.

Use *armlib* or *libcxx* so that the linker can resolve library naming in your scatter file.

Some Arm C and C++ library sections must be placed in a root region, for example __main.o, __scatter*.o, __dc*.o, and *Region$$Table. This list can change between releases. The linker can place all these sections automatically in a future-proof way with InRoot$$Sections.


For AArch64, __rtentry*.o is moved to a root region.

This section contains the following subsections: