This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: ARM EABI libsupc++ routines
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 16 Sep 2004 10:03:43 +0100
- Subject: Re: PATCH: ARM EABI libsupc++ routines
- Organization: GNU
- References: <200409160343.i8G3hHrU016549@sirius.codesourcery.com>
On Thu, 2004-09-16 at 04:43, Mark Mitchell wrote:
> + #ifdef __ARM_EABI__
> + return x;
> + #endif
> }
Why don't you #define __cxa_dtor_return(x) in the appropriate headers
to do the right thing (ie on ARM to return X and on generic to just
return)? Then the main code doesn't need to contain #ifdefs.
R.