Commit 66711279 by Sebastian Huber

RS6000: Use .machine ppc for some CRT files

Since commit e1542427 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.
parent b9dbb436
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> 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
PR target/94514 PR target/94514
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
/* Do any initializations needed for the eabi environment */ /* Do any initializations needed for the eabi environment */
.machine ppc
.section ".text" .section ".text"
#include "ppc-asm.h" #include "ppc-asm.h"
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
/* Do any initializations needed for the eabi environment */ /* Do any initializations needed for the eabi environment */
.machine ppc
.section ".text" .section ".text"
#include "ppc-asm.h" #include "ppc-asm.h"
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
/* Do any initializations needed for the eabi environment */ /* Do any initializations needed for the eabi environment */
.machine ppc
.section ".text" .section ".text"
#include "ppc-asm.h" #include "ppc-asm.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment