bootstrap: Include tm_p.h in btfout.c and ctfout.c.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 29 Jun 2021 02:54:42 +0000 (22:54 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 29 Jun 2021 02:59:54 +0000 (22:59 -0400)
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.

gcc/btfout.c
gcc/ctfout.c

index 45954b4..2316dea 100644 (file)
@@ -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"
index c264fd6..71d7a62 100644 (file)
@@ -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"