diff options
author | Fangrui Song <maskray@gcc.gnu.org> | 2024-10-27 12:37:21 -0700 |
---|---|---|
committer | Fangrui Song <maskray@gcc.gnu.org> | 2024-10-27 12:53:12 -0700 |
commit | 8e6cc1e7cdbb431a0950e491ed2830213f3ad81b (patch) | |
tree | 8b7f457711da626d5e61ef32783e002aa0f2d773 /libstdc++-v3/testsuite | |
parent | 211459e12147e9ed42c0a0947b1b95b551e03ef3 (diff) | |
download | gcc-8e6cc1e7cdbb431a0950e491ed2830213f3ad81b.zip gcc-8e6cc1e7cdbb431a0950e491ed2830213f3ad81b.tar.gz gcc-8e6cc1e7cdbb431a0950e491ed2830213f3ad81b.tar.bz2 |
arm: Support -mfdpic for more targets
Targets that are not arm*-*-uclinuxfdpiceabi can use -S -mfdpic, but -c
-mfdpic does not pass --fdpic to gas. This is an unnecessary
restriction. Just define the ASM_SPEC in bpabi.h.
Additionally, use armelf[b]_linux_fdpiceabi emulations for -mfdpic in
linux-eabi.h. This will allow a future musl fdpic port to use the
desired BFD emulation.
gcc/ChangeLog:
* config/arm/bpabi.h (TARGET_FDPIC_ASM_SPEC): Transform -mfdpic.
* config/arm/linux-eabi.h (TARGET_FDPIC_LINKER_EMULATION): Define.
(SUBTARGET_EXTRA_LINK_SPEC): Use TARGET_FDPIC_LINKER_EMULATION
if -mfdpic.
Diffstat (limited to 'libstdc++-v3/testsuite')
0 files changed, 0 insertions, 0 deletions