From: Kyrylo Tkachov Date: Mon, 7 Jul 2014 09:13:32 +0000 (+0000) Subject: [ARM] Remove deprecated mwords-little-endian. X-Git-Tag: releases/gcc-5.1.0~6476 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8adb5dc735298d2113de33ce442831f4dab9d215;p=thirdparty%2Fgcc.git [ARM] Remove deprecated mwords-little-endian. * config/arm/arm.opt (mwords-little-endian): Delete. * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling of TARGET_LITTLE_WORDS. (WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN. * config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS warning. * doc/invoke.texi: Remove references to -mwords-little-endian. From-SVN: r212326 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 872ce7ba7409..f1115223d11c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2014-07-07 Kyrylo Tkachov + + * config/arm/arm.opt (mwords-little-endian): Delete. + * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling + of TARGET_LITTLE_WORDS. + (WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN. + * config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS + warning. + * doc/invoke.texi: Remove references to -mwords-little-endian. + 2014-07-07 Jakub Jelinek * expmed.c (struct init_expmed_rtl): Change all fields but diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 1c9f28762372..a6af12fe846b 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2618,10 +2618,6 @@ arm_option_override (void) if (TARGET_APCS_FLOAT) warning (0, "passing floating point arguments in fp regs not yet supported"); - if (TARGET_LITTLE_WORDS) - warning (OPT_Wdeprecated, "% is deprecated and " - "will be removed in a future release"); - /* Initialize boolean versions of the flags, for use in the arm.md file. */ arm_arch3m = (insn_flags & FL_ARCH3M) != 0; arm_arch4 = (insn_flags & FL_ARCH4) != 0; diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index c32502694e4e..047df9771b65 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -104,8 +104,6 @@ extern char arm_arch_name[]; builtin_define ("__ARM_BIG_ENDIAN"); \ if (TARGET_THUMB) \ builtin_define ("__THUMBEB__"); \ - if (TARGET_LITTLE_WORDS) \ - builtin_define ("__ARMWEL__"); \ } \ else \ { \ @@ -643,9 +641,8 @@ extern int arm_arch_crc; #define BYTES_BIG_ENDIAN (TARGET_BIG_END != 0) /* Define this if most significant word of a multiword number is the lowest - numbered. - This is always false, even when in big-endian mode. */ -#define WORDS_BIG_ENDIAN (BYTES_BIG_ENDIAN && ! TARGET_LITTLE_WORDS) + numbered. */ +#define WORDS_BIG_ENDIAN (BYTES_BIG_ENDIAN) #define UNITS_PER_WORD 4 diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt index d80f1f13bc32..0a80513e70ff 100644 --- a/gcc/config/arm/arm.opt +++ b/gcc/config/arm/arm.opt @@ -231,10 +231,6 @@ Tune code for the given processor EnumValue Enum(processor_type) String(native) Value(-1) DriverOnly -mwords-little-endian -Target Report RejectNegative Mask(LITTLE_WORDS) -Assume big endian bytes, little endian words. This option is deprecated. - mvectorize-with-neon-quad Target Report RejectNegative InverseMask(NEON_VECTORIZE_DOUBLE) Use Neon quad-word (rather than double-word) registers for vectorization diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 111a67e60f20..a83f6c6ad12a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -518,7 +518,7 @@ Objective-C and Objective-C++ Dialects}. -mapcs-float -mno-apcs-float @gol -mapcs-reentrant -mno-apcs-reentrant @gol -msched-prolog -mno-sched-prolog @gol --mlittle-endian -mbig-endian -mwords-little-endian @gol +-mlittle-endian -mbig-endian @gol -mfloat-abi=@var{name} @gol -mfp16-format=@var{name} -mthumb-interwork -mno-thumb-interwork @gol @@ -12399,15 +12399,6 @@ the default for all standard configurations. Generate code for a processor running in big-endian mode; the default is to compile code for a little-endian processor. -@item -mwords-little-endian -@opindex mwords-little-endian -This option only applies when generating code for big-endian processors. -Generate code for a little-endian word order but a big-endian byte -order. That is, a byte order of the form @samp{32107654}. Note: this -option should only be used if you require compatibility with code for -big-endian ARM processors generated by versions of the compiler prior to -2.8. This option is now deprecated. - @item -march=@var{name} @opindex march This specifies the name of the target ARM architecture. GCC uses this