On Nov 7, 2013, at 9:51 AM, Richard Sandiford <rdsandif...@googlemail.com> wrote: > pdp11 and picochip-elf don't build on mainline due to: > > gcc/target-def.h:69:34: error: ‘default_stabs_asm_out_destructor’ was not > declared in this scope > # define TARGET_ASM_DESTRUCTOR default_stabs_asm_out_destructor
Fixed: 2013-11-07 Mike Stump <mikest...@comcast.net> * config/pdp11/pdp11.c: Include dbxout.h. * config/picochip/picochip.c: Likewise. Index: config/pdp11/pdp11.c =================================================================== --- config/pdp11/pdp11.c (revision 204436) +++ config/pdp11/pdp11.c (working copy) @@ -40,6 +40,7 @@ along with GCC; see the file COPYING3. #include "target-def.h" #include "df.h" #include "opts.h" +#include "dbxout.h" /* this is the current value returned by the macro FIRST_PARM_OFFSET defined in tm.h */ Index: config/picochip/picochip.c =================================================================== --- config/picochip/picochip.c (revision 204436) +++ config/picochip/picochip.c (working copy) @@ -60,6 +60,7 @@ along with GCC; see the file COPYING3. #include "timevar.h" /* For TV_SCHED2, in picochip_reorg. */ #include "libfuncs.h" /* For memcpy_libfuncs, etc. */ #include "df.h" /* For df_regs_ever_live_df_regs_ever_live_pp, etc. */ +#include "dbxout.h" /* Target AE ISA information. */