aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2021-06-28 22:54:42 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2021-06-28 22:59:54 -0400
commit095a01cf6e3883b3083cf339b680cdb39910f529 (patch)
treeaf8b7de7790e4235bf971348428744f913d7f8ee
parentc8abc2058e96dd12454078d66be9982dfebfd154 (diff)
downloadgcc-095a01cf6e3883b3083cf339b680cdb39910f529.zip
gcc-095a01cf6e3883b3083cf339b680cdb39910f529.tar.gz
gcc-095a01cf6e3883b3083cf339b680cdb39910f529.tar.bz2
bootstrap: Include tm_p.h in btfout.c and ctfout.c.
btfout.c and ctfout.c reference target-specific macros that may reference target-specific functions that are declared in a target-specific header. tm_p.h must be included to provide the target-specific header. gcc/ChangeLog: * btfout.c: Include tm_p.h. * ctfout.c: Same.
-rw-r--r--gcc/btfout.c1
-rw-r--r--gcc/ctfout.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gcc/btfout.c b/gcc/btfout.c
index 45954b4..2316dea 100644
--- a/gcc/btfout.c
+++ b/gcc/btfout.c
@@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
+#include "tm_p.h"
#include "output.h"
#include "dwarf2asm.h"
#include "debug.h"
diff --git a/gcc/ctfout.c b/gcc/ctfout.c
index c264fd6..71d7a62 100644
--- a/gcc/ctfout.c
+++ b/gcc/ctfout.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
+#include "tm_p.h"
#include "output.h"
#include "dwarf2asm.h"
#include "debug.h"