Message ID | CABOHX+e2SqQa=rLiNch+Gr3Br_Q_OK1vs+YpUPeoibF2iwTxug@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | xstormy: Set tm_d_file in config.gcc | expand |
On 10/29/18 4:10 PM, Iain Buclaw wrote: > The default value of tm_d_file is "${cpu_type}/${cpu_type}.h", however > this header doesn't exist for the xstormy back-end, so need to > explicitly override it to stormy16/stormy16.h > > Also including elfos.h, otherwise there's a warning about a > redefinition of PREFERRED_DEBUGGING_TYPE when building with > --enable-languages=d. There is no library support, but the compiler > works well enough. > > OK for trunk? > OK jeff
diff --git a/gcc/config.gcc b/gcc/config.gcc index 93dc2978603..b108697cfc7 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3161,6 +3161,7 @@ xstormy16-*-elf) # For historical reasons, the target files omit the 'x'. tm_file="dbxelf.h elfos.h newlib-stdint.h stormy16/stormy16.h" tm_p_file=stormy16/stormy16-protos.h + tm_d_file="elfos.h stormy16/stormy16.h" md_file=stormy16/stormy16.md out_file=stormy16/stormy16.c extra_options=stormy16/stormy16.opt