https://gcc.gnu.org/g:ce3c743d8cfbadc0aaa80267bc002fd05267ffac

commit r14-9871-gce3c743d8cfbadc0aaa80267bc002fd05267ffac
Author: Sebastian Huber <sebastian.hu...@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.

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 5a27f02960f..06f481fcd7b 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

Reply via email to