Hello,

The inclusion of vxworks-dummy.h in tm_file by config.gcc
is spread in various places without a clear rationale.

The attached patch just factorizes this out, at the end
of the tm_file construction steps to account for sections
totally redefining the variable contents, and with a head
comment to explain what the file is about.

Tested by verifying that a couple of gcc-8 based compilers
we build in house remain functional after the change, and
that vxworks-dummy.h is in the generated tm.h.

Also sanity-checked that mainline still bootstraps and
regression tests fine on x86_64-linux.

Regards,

Olivier

2018-09-21  Olivier Hainque  <hain...@adacore.com>

        * config.gcc: Factorize and comment inclusion of vxworks-dummy.h.

Attachment: 0001-config.gcc-factorize-and-comment-inclusion-of-vxwork.patch
Description: Binary data








Reply via email to