From 433b6b12dfa5ef109a5d8d40e7b3695dcb749e58 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Fri, 26 Mar 2021 13:12:59 +0100 Subject: 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. --- gcc/config/aarch64/aarch64-d.c | 2 ++ gcc/config/arm/arm-d.c | 2 ++ gcc/config/i386/i386-d.c | 2 ++ gcc/config/mips/mips-d.c | 2 ++ gcc/config/pa/pa-d.c | 2 ++ gcc/config/riscv/riscv-d.c | 2 ++ gcc/config/rs6000/rs6000-d.c | 2 ++ gcc/config/s390/s390-d.c | 2 ++ gcc/config/sparc/sparc-d.c | 2 ++ 9 files changed, 18 insertions(+) (limited to 'gcc') diff --git a/gcc/config/aarch64/aarch64-d.c b/gcc/config/aarch64/aarch64-d.c index 5c9b4fa..4fce593 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 76ede3b..2cb9f4b 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 cbd3ceb..b79be85 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 dad101c..dc57127 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 1de49df..663e749 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 2b690b1..b20b778 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 14c4133..6bfe813 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 155144c..2f945eb 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 186e965..0eb663b 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" -- cgit v1.1