Hello,

All the currently supported VxWorks variants for powerpc (regular, ae/653
and mils) are handled by common sections in config.gcc + libgcc/config.host,
with case selectors like:

 powerpc-wrs-vxworks|powerpc-wrs-vxworksae|powerpc-wrs-vxworksmils)

Two variants we now also support (spe and 7) are also handled by these
sections.

The attached patch simplifies the case selectors by using vxworks*
to match them all.

We have been using this in-house for a large number of configurations
on gcc-6 based toolchains. I verified manually that it has the intended
effect on gcc-7 for a subset of these configurations, and that a build
for powerpc-wrs-vxworks7 proceeds as it should on mainline.

Committing to mainline.

Olivier

2017-08-31  Olivier Hainque  <hain...@adacore.com>

        gcc/
        * config.gcc (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
        match as powerpc-wrs-vxworks*.
    
        libgcc/
        * config.host: Likewise.

Attachment: ppc-vxworks-wildcard.diff
Description: Binary data

Reply via email to