We now can always output .machine (if we output it at all for the
current target).

Committing to trunk.


Segher


2019-07-15  Segher Boessenkool  <seg...@kernel.crashing.org>

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

---
 gcc/config/rs6000/rs6000.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index f59f3a9..681acdf 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -5640,9 +5640,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)
-- 
1.8.3.1

Reply via email to