[patch] allowing configure --target=e500v[12]-etc

Olivier Hainque hainque@adacore.com
Tue Sep 16 16:26:00 GMT 2014


Hello,

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,

Olivier


2014-09-16  Olivier Hainque  <hainque@adacore.com>

	toplevel/
	* 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 and not already there.

	gcc/
	* 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...
Name: e500v2-config.diff
Type: application/octet-stream
Size: 2045 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140916/285ad004/attachment.obj>


More information about the Gcc-patches mailing list