From: Iain Buclaw Date: Fri, 26 Mar 2021 12:12:59 +0000 (+0100) Subject: d: Define IN_TARGET_CODE in all machine-specific D language files. X-Git-Tag: basepoints/gcc-12~409 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=433b6b12dfa5ef109a5d8d40e7b3695dcb749e58;p=thirdparty%2Fgcc.git d: Define IN_TARGET_CODE in all machine-specific D language files. This is to be consistent with the rest of the back-end. gcc/ChangeLog: * config/aarch64/aarch64-d.c (IN_TARGET_CODE): Define. * config/arm/arm-d.c (IN_TARGET_CODE): Likewise. * config/i386/i386-d.c (IN_TARGET_CODE): Likewise. * config/mips/mips-d.c (IN_TARGET_CODE): Likewise. * config/pa/pa-d.c (IN_TARGET_CODE): Likewise. * config/riscv/riscv-d.c (IN_TARGET_CODE): Likewise. * config/rs6000/rs6000-d.c (IN_TARGET_CODE): Likewise. * config/s390/s390-d.c (IN_TARGET_CODE): Likewise. * config/sparc/sparc-d.c (IN_TARGET_CODE): Likewise. --- diff --git a/gcc/config/aarch64/aarch64-d.c b/gcc/config/aarch64/aarch64-d.c index 5c9b4fa6fb8f..4fce593ac273 100644 --- a/gcc/config/aarch64/aarch64-d.c +++ b/gcc/config/aarch64/aarch64-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/arm/arm-d.c b/gcc/config/arm/arm-d.c index 76ede3b6d44d..2cb9f4bd899a 100644 --- a/gcc/config/arm/arm-d.c +++ b/gcc/config/arm/arm-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/i386/i386-d.c b/gcc/config/i386/i386-d.c index cbd3ceb187d7..b79be85e6612 100644 --- a/gcc/config/i386/i386-d.c +++ b/gcc/config/i386/i386-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/mips/mips-d.c b/gcc/config/mips/mips-d.c index dad101cf7eb1..dc57127791c8 100644 --- a/gcc/config/mips/mips-d.c +++ b/gcc/config/mips/mips-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/pa/pa-d.c b/gcc/config/pa/pa-d.c index 1de49df12cc8..663e749995a4 100644 --- a/gcc/config/pa/pa-d.c +++ b/gcc/config/pa/pa-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/riscv/riscv-d.c b/gcc/config/riscv/riscv-d.c index 2b690b18cfd7..b20b778bd353 100644 --- a/gcc/config/riscv/riscv-d.c +++ b/gcc/config/riscv/riscv-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/rs6000/rs6000-d.c b/gcc/config/rs6000/rs6000-d.c index 14c4133f3054..6bfe8130dd37 100644 --- a/gcc/config/rs6000/rs6000-d.c +++ b/gcc/config/rs6000/rs6000-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/s390/s390-d.c b/gcc/config/s390/s390-d.c index 155144ce7b85..2f945ebfa126 100644 --- a/gcc/config/s390/s390-d.c +++ b/gcc/config/s390/s390-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h" diff --git a/gcc/config/sparc/sparc-d.c b/gcc/config/sparc/sparc-d.c index 186e965ae84a..0eb663bb132f 100644 --- a/gcc/config/sparc/sparc-d.c +++ b/gcc/config/sparc/sparc-d.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#define IN_TARGET_CODE 1 + #include "config.h" #include "system.h" #include "coretypes.h"