You copied the Doc URL to your clipboard.

Placing 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.

Note

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

This section contains the following subsections:

Was this page helpful? Yes No