aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/tilepro
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-08-25 11:56:18 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-08-26 10:03:56 +0200
commit27e5d7c77218c0b5dd1a421a55234573e687e927 (patch)
treed599859bb923275fd4dd04f7b8c583e0af6bc4bf /gcc/config/tilepro
parent64c60422461e11401677ed42382eac9ba0902bed (diff)
downloadgcc-27e5d7c77218c0b5dd1a421a55234573e687e927.zip
gcc-27e5d7c77218c0b5dd1a421a55234573e687e927.tar.gz
gcc-27e5d7c77218c0b5dd1a421a55234573e687e927.tar.bz2
tilepro: Update generator file to define IN_TARGET_CODE in target file.
The target files tilegx/mul-tables.c and tilepri/mul-tables.c were updated in SVN r255743, but the generator file that produces them wasn't, so it was reverting this change during builds. gcc/ChangeLog: * config/tilepro/gen-mul-tables.cc (main): Define IN_TARGET_CODE to 1 in the target file.
Diffstat (limited to 'gcc/config/tilepro')
-rw-r--r--gcc/config/tilepro/gen-mul-tables.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/tilepro/gen-mul-tables.cc b/gcc/config/tilepro/gen-mul-tables.cc
index 2a34502..7f9fb65 100644
--- a/gcc/config/tilepro/gen-mul-tables.cc
+++ b/gcc/config/tilepro/gen-mul-tables.cc
@@ -1252,6 +1252,8 @@ main ()
printf ("/* Note this file is auto-generated from gen-mul-tables.cc.\n");
printf (" Make any required changes there. */\n");
printf ("\n");
+ printf ("#define IN_TARGET_CODE 1\n");
+ printf ("\n");
printf ("#include \"config.h\"\n");
printf ("#include \"system.h\"\n");
printf ("#include \"coretypes.h\"\n");