PR target/89093
* config/arm/arm.c (aapcs_vfp_is_call_or_return_candidate): Diagnose
if used with general-regs-only.
(arm_conditional_register_usage): Don't add non-general regs if
general-regs-only.
(arm_valid_target_attribute_rec): Handle general-regs-only.
* config/arm/arm.h (TARGET_HARD_FLOAT): Return false if
general-regs-only.
(TARGET_HARD_FLOAT_SUB): Define.
(TARGET_SOFT_FLOAT): Define as negation of TARGET_HARD_FLOAT_SUB.
(TARGET_REALLY_IWMMXT): Add && !TARGET_GENERAL_REGS_ONLY.
(TARGET_REALLY_IWMMXT2): Likewise.
* config/arm/arm.opt: Add -mgeneral-regs-only.
* doc/extend.texi: Document ARM general-regs-only target.
* doc/invoke.texi: Document ARM -mgeneral-regs-only.
libgcc/
* config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
* config/arm/unwind-arm.c: Likewise.
* unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
attribute for ARM.
libobjc/
* exception.c (PERSONALITY_FUNCTION): Add general-regs-only target
attribute for ARM.
libphobos/
* libdruntime/gcc/deh.d: Import gcc.attribute.
(personality_fn_attributes): New enum.
(scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
Add @personality_fn_attributes.
libstdc++-v3/
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Add
general-regs-only target attribute for ARM.
Co-Authored-By: Bernd Edlinger <bernd.edlinger@hotmail.de>
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r270504
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| objc | Loading commit data... | |
| objc-private | Loading commit data... | |
| ChangeLog | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| NXConstStr.m | Loading commit data... | |
| Object.m | Loading commit data... | |
| Protocol.m | Loading commit data... | |
| README | Loading commit data... | |
| THREADS | Loading commit data... | |
| accessors.m | Loading commit data... | |
| acinclude.m4 | Loading commit data... | |
| aclocal.m4 | Loading commit data... | |
| class.c | Loading commit data... | |
| config.h.in | Loading commit data... | |
| configure | Loading commit data... | |
| configure.ac | Loading commit data... | |
| encoding.c | Loading commit data... | |
| error.c | Loading commit data... | |
| exception.c | Loading commit data... | |
| gc.c | Loading commit data... | |
| hash.c | Loading commit data... | |
| init.c | Loading commit data... | |
| ivars.c | Loading commit data... | |
| libobjc.def | Loading commit data... | |
| linking.m | Loading commit data... | |
| memory.c | Loading commit data... | |
| methods.c | Loading commit data... | |
| nil_method.c | Loading commit data... | |
| objc-foreach.c | Loading commit data... | |
| objc-sync.c | Loading commit data... | |
| objects.c | Loading commit data... | |
| protocols.c | Loading commit data... | |
| sarray.c | Loading commit data... | |
| selector.c | Loading commit data... | |
| sendmsg.c | Loading commit data... | |
| thr.c | Loading commit data... |