From 095a01cf6e3883b3083cf339b680cdb39910f529 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 28 Jun 2021 22:54:42 -0400 Subject: [PATCH] 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. --- gcc/btfout.c | 1 + gcc/ctfout.c | 1 + 2 files changed, 2 insertions(+) diff --git a/gcc/btfout.c b/gcc/btfout.c index 45954b4b7b9..2316dea5f27 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 c264fd6661a..71d7a62e6ef 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" -- 2.11.4.GIT