[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] handle e500v[12] cpu names

From: Olivier Hainque
Subject: [patch] handle e500v[12] cpu names
Date: Wed, 17 Sep 2014 14:31:59 +0200


We (AdaCore) appreciate having triplets like e500v2-wrs-vxworks or
e500v2-wrs-linux work out of the box.

The attached patch is something we have been using for a while for this purpose
and we thought others might find it useful as well.

The general idea is to have e500 treated essentially as powerpc except
selecting a default "spe" os extension when appropriate for proper ABI

On the gcc front, we leverage this further by selecting a default with_cpu,
typically 8540 for e500v1 or 8548 for e500v2 (original patch submission at

The patch passes the existing tests + the few added cases.

OK to commit ?

Thanks in advance for your feedback,

With Kind Regards,


2014-09-17  Olivier Hainque  <address@hidden>

        * config.sub: Accept e500v[12] cpu names. Canonicalize to
        powerpc and add a "spe" suffix to the os name when required
        to select the proper ABI.
        * testsuite/ Add tests for e500v[12]-elf,
        e500v2-wrs-vxworks, e500v2-vxworksae and e500v2-wrs-linux.

Attachment: e500v2-config-sub.diff
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]