From: Sebastian Huber Date: Mon, 6 Apr 2020 20:30:21 +0000 (+0200) Subject: RS6000: Use .machine ppc for some CRT files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66711279083121b07d909ac0fc2f3a744ac7c937;p=gcc.git RS6000: Use .machine ppc for some CRT files Since commit e154242724b084380e3221df7c08fcdbd8460674 the flag -many is sometimes not passed to the assembler. Use .machine ppc to prevent errors if these files are assembled for an ISA which does not support FPRs. libgcc/ * config/rs6000/crtresfpr.S: Use .machine ppc. * config/rs6000/crtresxfpr.S: Likewise. * config/rs6000/crtsavfpr.S: Likewise. --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index da419ff4b0a..7dbab3ef499 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2020-04-27 Sebastian Huber + + * config/rs6000/crtresfpr.S: Use .machine ppc. + * config/rs6000/crtresxfpr.S: Likewise. + * config/rs6000/crtsavfpr.S: Likewise. + 2020-04-21 Szabolcs Nagy PR target/94514 diff --git a/libgcc/config/rs6000/crtresfpr.S b/libgcc/config/rs6000/crtresfpr.S index 6c0d01bf9c1..99e6f086026 100644 --- a/libgcc/config/rs6000/crtresfpr.S +++ b/libgcc/config/rs6000/crtresfpr.S @@ -27,6 +27,7 @@ /* Do any initializations needed for the eabi environment */ + .machine ppc .section ".text" #include "ppc-asm.h" diff --git a/libgcc/config/rs6000/crtresxfpr.S b/libgcc/config/rs6000/crtresxfpr.S index 9f01fa5094b..9931db244f7 100644 --- a/libgcc/config/rs6000/crtresxfpr.S +++ b/libgcc/config/rs6000/crtresxfpr.S @@ -27,6 +27,7 @@ /* Do any initializations needed for the eabi environment */ + .machine ppc .section ".text" #include "ppc-asm.h" diff --git a/libgcc/config/rs6000/crtsavfpr.S b/libgcc/config/rs6000/crtsavfpr.S index fa043ddd078..dd8743ae058 100644 --- a/libgcc/config/rs6000/crtsavfpr.S +++ b/libgcc/config/rs6000/crtsavfpr.S @@ -27,6 +27,7 @@ /* Do any initializations needed for the eabi environment */ + .machine ppc .section ".text" #include "ppc-asm.h"