diff options
Diffstat (limited to 'ppc-amigaos/recipes/patches/gcc/0003-Disable-.machine-directive-generation.p')
-rw-r--r-- | ppc-amigaos/recipes/patches/gcc/0003-Disable-.machine-directive-generation.p | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ppc-amigaos/recipes/patches/gcc/0003-Disable-.machine-directive-generation.p b/ppc-amigaos/recipes/patches/gcc/0003-Disable-.machine-directive-generation.p index edadf9d..2d5dc30 100644 --- a/ppc-amigaos/recipes/patches/gcc/0003-Disable-.machine-directive-generation.p +++ b/ppc-amigaos/recipes/patches/gcc/0003-Disable-.machine-directive-generation.p @@ -1,7 +1,7 @@ -From 43dda55bb84a70181e84f496fd8417ed3c22db54 Mon Sep 17 00:00:00 2001 +From 0f8e76ecc9220e1d4e1f311a52a5e80bd4ad8bb8 Mon Sep 17 00:00:00 2001 From: Sebastian Bauer <mail@sebastianbauer.info> Date: Thu, 9 Jul 2015 06:54:37 +0200 -Subject: [PATCH 3/6] Disable .machine directive generation. +Subject: [PATCH 3/9] Disable .machine directive generation. It breaks manual args to the assembler with different flavor, e.g., -Wa,-m440. This is probably not the right fix. @@ -12,10 +12,10 @@ This reverts parts of a commit from 2015-03-03. 1 file changed, 3 insertions(+) diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c -index ee0ea2ffabb6b9c6fdcba687d88be1e1164374ee..19544afa364f7f7ab1a5c5a61ad7891218398f99 100644 +index cd79b2034b59168b07c84dd6bf32faaf4a648cd0..14b40fe386382a6b418176084c57ec8db73b4280 100644 --- gcc/config/rs6000/rs6000.c +++ gcc/config/rs6000/rs6000.c -@@ -5191,12 +5191,14 @@ rs6000_file_start (void) +@@ -5689,12 +5689,14 @@ rs6000_file_start (void) } #ifdef USING_ELFOS_H @@ -25,12 +25,12 @@ index ee0ea2ffabb6b9c6fdcba687d88be1e1164374ee..19544afa364f7f7ab1a5c5a61ad78912 + /* Temporarily disabled as it overrides e.g., -mcpu=440 */ +#if 0 fputs ("\t.machine ", asm_out_file); - if ((rs6000_isa_flags & OPTION_MASK_DIRECT_MOVE) != 0) + if ((rs6000_isa_flags & OPTION_MASK_MODULO) != 0) + fputs ("power9\n", asm_out_file); + else if ((rs6000_isa_flags & OPTION_MASK_DIRECT_MOVE) != 0) fputs ("power8\n", asm_out_file); else if ((rs6000_isa_flags & OPTION_MASK_POPCNTD) != 0) - fputs ("power7\n", asm_out_file); - else if ((rs6000_isa_flags & OPTION_MASK_CMPB) != 0) -@@ -5206,12 +5208,13 @@ rs6000_file_start (void) +@@ -5706,12 +5708,13 @@ rs6000_file_start (void) else if ((rs6000_isa_flags & OPTION_MASK_MFCRF) != 0) fputs ("power4\n", asm_out_file); else if ((rs6000_isa_flags & OPTION_MASK_POWERPC64) != 0) @@ -43,7 +43,7 @@ index ee0ea2ffabb6b9c6fdcba687d88be1e1164374ee..19544afa364f7f7ab1a5c5a61ad78912 if (DEFAULT_ABI == ABI_ELFv2) fprintf (file, "\t.abiversion 2\n"); - + } -- -2.1.4 +1.9.1 |