This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: arm-rtems switch default target to EABI
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 05 Jun 2012 17:26:31 +0200
- Subject: Re: arm-rtems switch default target to EABI
- References: <4FB1427A.3090300@oarcorp.com> <Pine.LNX.4.64.1205141849090.16637@digraph.polyomino.org.uk>
On 05/14/2012 08:51 PM, Joseph S. Myers wrote:
On Mon, 14 May 2012, Joel Sherrill wrote:
There is a long explanation in the PR but the short
version is that although we fully intended to switch
the arm-rtems target from ELF to EABI we never
intended the target name "arm-*-rtemseabi*" to
become the preferred arm RTEMS target name.
We want all RTEMS target names to be of the form
<cpu>-rtems. Unfortunately, we screwed up
and arm-rtems is marked as deprecated in 4.7.
Note that various testcases test for target arm*-*-*eabi* (or some similar
form that would catch arm-*-rtemseabi* but not arm-rtems). It would be a
good idea to move them to using the arm_eabi effective-target.
(Some of those tests also explicitly list arm*-*-symbianelf*, an existing
EABI target not matching the arm*-*-*eabi* pattern; some do not.)
Thanks for the pointer. Do you suggest to change:
/* { dg-do run { target arm*-*-symbianelf* arm*-*-eabi* } } */
/* { dg-do run { target arm*-*-*eabi* } } */
into:
{ dg-do run { target arm_eabi } } */
?
Or is it:
/* { dg-require-effective-target arm_eabi } */
What is the difference between the last two?
Who sets "arm_eabi"?
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.