From: David Edelsohn Date: Tue, 29 Jun 2021 02:54:42 +0000 (-0400) Subject: bootstrap: Include tm_p.h in btfout.c and ctfout.c. X-Git-Tag: basepoints/gcc-13~6449 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=095a01cf6e3883b3083cf339b680cdb39910f529;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/btfout.c b/gcc/btfout.c index 45954b4b7b96..2316dea5f276 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 c264fd6661a3..71d7a62e6ef3 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"