Displaying 1 result from an estimated 1 matches for "__apcs_fpic".
2015 Dec 04
3
[RFC][ARM] Add support for embedded position-independent code (ROPI/RWPI)
...and access them as RO
rather than RW data.
I have also prohibited using ROPI with C++ (the vtables and RTTI are
read-only data, that must contain absolute pointers to other RO data),
but this can be overridden with -fallow-unsupported.
This also adds 3 new pre-defined macros for ARM targets:
__APCS_FPIC
__APCS_ROPI
__APCS_RWPI
They are defined when building code with the -fpic, -fropi and -frwpi
options, respectively. __APCS_FPIC is also defined for AArch64 targets,
but the other two are not supported for AArch64. These macros are not
defined in the ACLE or any other standard, they are named...