This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] allow --target=e500v[12]-* in configure


Hello,

An initial patch has been integrated into gnu-config to translate triplets like
e500v2-*-<os> into powerpc-*-<os>spe.

The spe extension to the os is expected for targets such as e500v[12]-*-linux
(translated as powerpc-*-linux-gnuspe) or eabi targets.

This patch integrates the patch of gnu-config (config.sub), and takes care of
the vxworks case, as well as properly set the default value for --with-cpu.

I checked that this works with the following targets:
* e500v2-wrs-vxworks
* e500v2-gnu-linux

Thanks in advance for your feedback,

- JÃrÃme

Author: Jerome Lambourg <lambourg@adacore.com>
Date:   Tue Jun 14 10:57:06 2016 +0200

    P614-008: support e500v[12] configuration as PPC with cpu 854[08]

    toplevel/
    * config.sub: merge with gnu-config trunk. Accept e500v[12] cpu names, and
    canonicalize to powerpc, and add a "spe" suffix to the os name.
    * gcc/config.gcc: determine with_cpu from the non canonical target name, and
    make sure the powerpc-wrs-vxworks*spe is properly handled.
    * libgcc/config.host: accept vxworks*spe when configuring libgcc.

Attachment: gcc-e500v12-config.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]