]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[ARM] Remove deprecated mwords-little-endian.
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 7 Jul 2014 09:13:32 +0000 (09:13 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 7 Jul 2014 09:13:32 +0000 (09:13 +0000)
* 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

gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.opt
gcc/doc/invoke.texi

index 872ce7ba7409f99ec5ad293c63512b9a84834c3b..f1115223d11cb87ea9d943f2bdde393db16f9ba8 100644 (file)
@@ -1,3 +1,13 @@
+2014-07-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * 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  <jakub@redhat.com>
 
        * expmed.c (struct init_expmed_rtl): Change all fields but
index 1c9f2876237285d59794e367d9e3cf4be3fead3c..a6af12fe846b80692c105eb3296d1b970fa6ad9a 100644 (file)
@@ -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, "%<mwords-little-endian%> 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;
index c32502694e4ef802d6a5f6f5e7bd9155d7e25b2a..047df9771b6549af46b819eb0749249ae557dbd0 100644 (file)
@@ -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
 
index d80f1f13bc324f5152059c6270c48c5ec1eb73c4..0a80513e70ff1a210d3ad56971b7f42911d02f54 100644 (file)
@@ -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
index 111a67e60f2015012e843fa51e01d2111cfb0230..a83f6c6ad12a81081b7b830349ab495e04f91b39 100644 (file)
@@ -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