summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-03-26 13:12:59 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2021-03-26 16:14:18 +0100
commit433b6b12dfa5ef109a5d8d40e7b3695dcb749e58 (patch)
tree11ef179716575fc2f7fb30c2bd2bba5325a982ae /gcc/config/mips
parent2892e2f70287f961e3bac990b926232cc2a5b123 (diff)
downloadgcc-433b6b12dfa5ef109a5d8d40e7b3695dcb749e58.tar.gz
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.
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips-d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/mips/mips-d.c b/gcc/config/mips/mips-d.c
index dad101cf7eb..dc57127791c 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
<http://www.gnu.org/licenses/>. */
+#define IN_TARGET_CODE 1
+
#include "config.h"
#include "system.h"
#include "coretypes.h"