diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-04-06 22:30:21 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-04-27 07:45:54 +0200 |
commit | 66711279083121b07d909ac0fc2f3a744ac7c937 (patch) | |
tree | 149c42fb9657f0c4f14803c2917c9ca8ade1a286 | |
parent | b9dbb436b70938ca2b1ddf0cf2d5ffe2e5725dea (diff) | |
download | gcc-66711279083121b07d909ac0fc2f3a744ac7c937.zip gcc-66711279083121b07d909ac0fc2f3a744ac7c937.tar.gz gcc-66711279083121b07d909ac0fc2f3a744ac7c937.tar.bz2 |
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.
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/rs6000/crtresfpr.S | 1 | ||||
-rw-r--r-- | libgcc/config/rs6000/crtresxfpr.S | 1 | ||||
-rw-r--r-- | libgcc/config/rs6000/crtsavfpr.S | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index da419ff..7dbab3e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * config/rs6000/crtresfpr.S: Use .machine ppc. + * config/rs6000/crtresxfpr.S: Likewise. + * config/rs6000/crtsavfpr.S: Likewise. + 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com> PR target/94514 diff --git a/libgcc/config/rs6000/crtresfpr.S b/libgcc/config/rs6000/crtresfpr.S index 6c0d01b..99e6f08 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 9f01fa5..9931db2 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 fa043dd..dd8743a 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" |