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]

Re: arm-rtems switch default target to EABI


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.


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