From: Sebastian Huber Date: Mon, 12 Feb 2024 13:53:21 +0000 (+0100) Subject: RTEMS: Fix powerpc configuration X-Git-Tag: releases/gcc-13.3.0~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bfe591d62551605a9d2c6422257dc67b0fa9a2f;p=thirdparty%2Fgcc.git RTEMS: Fix powerpc configuration gcc/ChangeLog: * config/rs6000/rtems.h (OS_MISSING_POWERPC64): Define. (cherry picked from commit ce3c743d8cfbadc0aaa80267bc002fd05267ffac) --- diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h index 57a2325991b5..b36e64fec772 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