[patch] allowing configure --target=e500v-etc
Tue Sep 16 16:26:00 GMT 2014
The attached patch is something we have been using for a while
to facilitate the production of toolchains targeting the e500
series of powerpc's.
The general idea is to have e500 treated essentially as powerpc
except selecting a default with_cpu and using a specific "spe" os
extension when appropriate for proper ABI selection.
We find this useful to have triplets like e500v2-wrs-vxworks or
e500v2-wrs-linux work out of the box, and thought others might
find it useful as well.
OK to commit ?
Thanks in advance for your feedback,
2014-09-16 Olivier Hainque <firstname.lastname@example.org>
* config.sub: Accept e500v cpu names. Canonicalize to
powerpc and add a "spe" suffix to the os name when required
to select the proper ABI and not already there.
* config.gcc: Select a default with_cpu=8540 for e500v1 and
a default with_cpu=8548 for e500v2.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2045 bytes
Desc: not available
More information about the Gcc-patches