RS6000: Use .machine ppc for some CRT files

Since commit e154242724 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.
This commit is contained in:
Sebastian Huber 2020-04-06 22:30:21 +02:00
parent b9dbb436b7
commit 6671127908
4 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -27,6 +27,7 @@
/* Do any initializations needed for the eabi environment */
.machine ppc
.section ".text"
#include "ppc-asm.h"

View File

@ -27,6 +27,7 @@
/* Do any initializations needed for the eabi environment */
.machine ppc
.section ".text"
#include "ppc-asm.h"

View File

@ -27,6 +27,7 @@
/* Do any initializations needed for the eabi environment */
.machine ppc
.section ".text"
#include "ppc-asm.h"