gcc/libgcc/config/arm
Kyrylo Tkachov c3f808d3f8 [arm][1/2] Remove support for deprecated -march=armv5 and armv5e
The -march=armv5 and armv5e options have been deprecated in GCC 7 [1].
This patch removes support for them.
It's mostly mechanical stuff. The functionality that was previously
gated on arm_arch5 is now gated on arm_arch5t and the functionality
that was gated on arm_arch5e is now gated on arm_arch5te.

A path in TARGET_OS_CPP_BUILTINS for VxWorks is now unreachable and
therefore is deleted.

References to armv5 and armv5e are deleted/updated throughout the
source tree and testsuite.

Bootstrapped and tested on arm-none-linux-gnueabihf.
Also built a cc1 for arm-wrs-vxworks as a sanity check.

        * config/arm/arm-cpus.in (armv5, armv5e): Delete features.
        (armv5t, armv5te): New features.
        (ARMv5, ARMv5e): Delete fgroups.
        (ARMv5t, ARMv5te): Adjust for above changes.
        (ARMv6m): Likewise.
        (armv5, armv5e): Delete arches.
        * config/arm/arm.md (*call_reg_armv5): Use arm_arch5t instead of
        arm_arch5.
        (*call_reg_arm): Likewise.
        (*call_value_reg_armv5): Likewise.
        (*call_value_reg_arm): Likewise.
        (*call_symbol): Likewise.
        (*call_value_symbol): Likewise.
        (*sibcall_insn): Likewise.
        (*sibcall_value_insn): Likewise.
        (clzsi2): Likewise.
        (prefetch): Likewise.
        (define_split and define_peephole2 dependent on arm_arch5):
        Likewise.
        * config/arm/arm.h (TARGET_LDRD): Use arm_arch5te instead of
        arm_arch5e.
        (TARGET_ARM_QBIT): Likewise.
        (TARGET_DSP_MULTIPLY): Likewise.
        (enum base_architecture): Delete BASE_ARCH_5, BASE_ARCH_5E.
        (arm_arch5, arm_arch5e): Delete.
        (arm_arch5t, arm_arch5te): Declare.
        * config/arm/arm.c (arm_arch5, arm_arch5e): Delete.
        (arm_arch5t): Declare.
        (arm_option_reconfigure_globals): Update for the above.
        (arm_options_perform_arch_sanity_checks): Update comment, replace
        use of arm_arch5 with arm_arch5t.
        (use_return_insn): Likewise.
        (arm_emit_call_insn): Likewise.
        (output_return_instruction): Likewise.
        (arm_final_prescan_insn): Likewise.
        (arm_coproc_builtin_available): Likewise.
        * config/arm/arm-c.c (arm_cpu_builtins): Replace arm_arch5 and
        arm_arch5e with arm_arch5t and arm_arch5te.
        * config/arm/arm-protos.h (arm_arch5, arm_arch5e): Delete.
        (arm_arch5t, arm_arch5te): Declare.
        * config/arm/arm-tables.opt: Regenerate.
        * config/arm/t-arm-elf: Remove references to armv5, armv5e.
        * config/arm/t-multilib: Likewise.
        * config/arm/thumb1.md (*call_reg_thumb1_v5): Check arm_arch5t
        instead of arm_arch5.
        (*call_reg_thumb1): Likewise.
        (*call_value_reg_thumb1_v5): Likewise.
        (*call_value_reg_thumb1): Likewise.
        * config/arm/vxworks.h (TARGET_OS_CPP_BUILTINS): Remove now
        unreachable path.
        * doc/invoke.texi (ARM Options): Remove references to armv5, armv5e.

        * gcc.target/arm/pr40887.c: Update comment.
        * lib/target-supports.exp: Don't generate effective target checks
        and related helpers for armv5.  Update comment.
        * gcc.target/arm/armv5_thumb_isa.c: Delete.
        * gcc.target/arm/di-longlong64-sync-withhelpers.c: Update effective
        target check and options.

        * config/arm/libunwind.S: Update comment relating to armv5.

From-SVN: r260362
2018-05-18 13:08:16 +00:00
..
bpabi-lib.h Update copyright years. 2018-01-03 11:03:58 +01:00
bpabi-v6m.S Update copyright years. 2018-01-03 11:03:58 +01:00
bpabi.c Update copyright years. 2018-01-03 11:03:58 +01:00
bpabi.S Update copyright years. 2018-01-03 11:03:58 +01:00
cmse.c arm_cmse.h (cmse_nsfptr_create, [...]): Remove #include <stdint.h>. 2018-05-17 16:36:36 +00:00
cmse_nonsecure_call.S Update copyright years. 2018-01-03 11:03:58 +01:00
crtfastmath.c Update copyright years. 2018-01-03 11:03:58 +01:00
crti.S Update copyright years. 2018-01-03 11:03:58 +01:00
crtn.S Update copyright years. 2018-01-03 11:03:58 +01:00
fp16.c Update copyright years. 2018-01-03 11:03:58 +01:00
freebsd-atomic.c re PR libgcc/84292 (__sync_add_and_fetch returns the old value instead of the new value) 2018-04-27 21:14:05 +02:00
ieee754-df.S Update copyright years. 2018-01-03 11:03:58 +01:00
ieee754-sf.S Update copyright years. 2018-01-03 11:03:58 +01:00
lib1funcs.S Update copyright years. 2018-01-03 11:03:58 +01:00
libgcc-bpabi.ver Update copyright years. 2018-01-03 11:03:58 +01:00
libunwind.S [arm][1/2] Remove support for deprecated -march=armv5 and armv5e 2018-05-18 13:08:16 +00:00
linux-atomic-64bit.c Update copyright years. 2018-01-03 11:03:58 +01:00
linux-atomic.c Update copyright years. 2018-01-03 11:03:58 +01:00
pr-support.c Update copyright years. 2018-01-03 11:03:58 +01:00
sfp-machine.h
symbian-lib.h Update copyright years. 2018-01-03 11:03:58 +01:00
t-arm ARMv8-M Security Extension's cmse_nonsecure_call: use __gnu_cmse_nonsecure_call 2016-12-02 15:33:26 +00:00
t-bpabi
t-elf
t-freebsd configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. 2015-01-09 15:06:02 +01:00
t-linux
t-linux-eabi
t-netbsd
t-softfp elf.h: Use __ARM_ARCH_ISA_THUMB and __ARM_ARCH_ISA_ARM to decide whether to prevent... 2016-07-07 08:54:18 +00:00
t-strongarm-elf
t-symbian
t-vxworks7 config.gcc (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7 as well as arm-wrs-vxworks. 2017-08-01 14:14:21 +00:00
t-wince-pe
unaligned-funcs.c Update copyright years. 2018-01-03 11:03:58 +01:00
unwind-arm-vxworks.c Update copyright years. 2018-01-03 11:03:58 +01:00
unwind-arm.c Update copyright years. 2018-01-03 11:03:58 +01:00
unwind-arm.h Update copyright years. 2018-01-03 11:03:58 +01:00