]> gcc.gnu.org Git - gcc.git/commitdiff
rs6000: Always output .machine
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 15 Jul 2019 20:57:53 +0000 (22:57 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 15 Jul 2019 20:57:53 +0000 (22:57 +0200)
We now can always output .machine (if we output it at all for the
current target).

PR target/91050
* config/rs6000/rs6000.c (rs6000_file_start): Never skip emitting a
.machine directive.

From-SVN: r273498

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 92aed39806b818e0c586050f3ef4d03f22d83b87..7ab87dad279174a46040dff0ba51c946bad8b3bf 100644 (file)
@@ -1,3 +1,9 @@
+2019-07-15  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       PR target/91050
+       * config/rs6000/rs6000.c (rs6000_file_start): Never skip emitting a
+       .machine directive.
+
 2019-07-15  Uroš Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (@test<mode>_ccno_1):
index 827894c463998e6757f4286ebd4973ef0d4aff69..63f3075a98d45110b37323204c25233b337c4060 100644 (file)
@@ -5644,9 +5644,7 @@ rs6000_file_start (void)
 
 #ifdef USING_ELFOS_H
   rs6000_machine = rs6000_machine_from_flags ();
-  if (!(rs6000_default_cpu && rs6000_default_cpu[0])
-      && !global_options_set.x_rs6000_cpu_index)
-    emit_asm_machine ();
+  emit_asm_machine ();
 #endif
 
   if (DEFAULT_ABI == ABI_ELFv2)
This page took 0.116715 seconds and 5 git commands to generate.