]> 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>
Wed, 17 Apr 2024 07:38:50 +0000 (09:38 +0200)
gcc/ChangeLog:

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

(cherry picked from commit ce3c743d8cfbadc0aaa80267bc002fd05267ffac)

gcc/config/rs6000/rtems.h

index 57a2325991b5d25baf15bb5095c2cfd365950bf5..b36e64fec772626331006d49080b80c7429383ce 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