]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RTEMS: Fix powerpc configuration
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 12 Feb 2024 13:53:21 +0000 (14:53 +0100)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Tue, 9 Apr 2024 13:15:12 +0000 (15:15 +0200)
gcc/ChangeLog:

* config/rs6000/rtems.h (OS_MISSING_POWERPC64): Define.

gcc/config/rs6000/rtems.h

index 5a27f02960fb5869bbf13042802417d32d2f831f..06f481fcd7b288bef64023ab0134fa17afda8a43 100644 (file)
 #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