12.65 --fpic

Enables you to link Position-Independent Code (PIC).

Usage

PIC is code that has been compiled using the --apcs=/fpic qualifier. Relative addressing is only implemented when your code makes use of System V shared libraries.

Note:

The linker outputs a downgradable error if --shared is used and --fpic is not used.

You must use --fpic with --sysv and --shared.

Non-ConfidentialPDF file icon PDF versionARM DUI0474M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.