public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-8615] RTEMS: Fix powerpc configuration
@ 2024-04-17 7:40 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2024-04-17 7:40 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3bfe591d62551605a9d2c6422257dc67b0fa9a2f
commit r13-8615-g3bfe591d62551605a9d2c6422257dc67b0fa9a2f
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Mon Feb 12 14:53:21 2024 +0100
RTEMS: Fix powerpc configuration
gcc/ChangeLog:
* config/rs6000/rtems.h (OS_MISSING_POWERPC64): Define.
(cherry picked from commit ce3c743d8cfbadc0aaa80267bc002fd05267ffac)
Diff:
---
gcc/config/rs6000/rtems.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h
index 57a2325991b..b36e64fec77 100644
--- a/gcc/config/rs6000/rtems.h
+++ b/gcc/config/rs6000/rtems.h
@@ -36,6 +36,10 @@
#endif
#endif
+/* RTEMS configured for the 32-bit multilibs doesn't support saving and
+ restoring 64-bit regs. */
+#define OS_MISSING_POWERPC64 !TARGET_64BIT
+
/* Copy and paste from linux64.h and freebsd64.h */
#undef TARGET_AIX
#define TARGET_AIX TARGET_64BIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-17 7:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17 7:40 [gcc r13-8615] RTEMS: Fix powerpc configuration Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).