9.3.2. Building shared objects

To build SysV shared libraries the code must be compiled for position independence using the --apcs=/fpic option. This is because a shared library can be loaded to any suitable address in the memory map. Again, the compiler option --no_hide_all is normally used. The linker options required to build a SysV shared library are --sysv and --shared.

Copyright © 2010 ARM. All rights reserved.ARM DAI 0242A
Non-ConfidentialID011411