diff mbox series

rs6000: Always output .machine

Message ID 07449f9c9b29d3f2f9a256b59fca1b2d0761aceb.1562533240.git.segher@kernel.crashing.org
State New
Headers show
Series rs6000: Always output .machine | expand

Commit Message

Segher Boessenkool July 15, 2019, 8:55 p.m. UTC
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  <segher@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 mbox series

Patch

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)