summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-06 22:30:21 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-27 07:45:54 +0200
commit66711279083121b07d909ac0fc2f3a744ac7c937 (patch)
tree149c42fb9657f0c4f14803c2917c9ca8ade1a286 /libgcc
parentb9dbb436b70938ca2b1ddf0cf2d5ffe2e5725dea (diff)
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.
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config/rs6000/crtresfpr.S1
-rw-r--r--libgcc/config/rs6000/crtresxfpr.S1
-rw-r--r--libgcc/config/rs6000/crtsavfpr.S1
4 files changed, 9 insertions, 0 deletions
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 <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 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"