On Thu, Dec 6, 2012 at 9:46 AM, Peter Bergner <berg...@vnet.ibm.com> wrote:

>> That macro determines if GCC thinks -fsanitze=address is supported,
>> which it is not on AIX.  The macro probably should be defined in sysv4.h,
>> not rs6000.c, and the function should not be defined appropriately.
>
> Ok, I can move the macro there.  And by the function being defined
> appropriately, do you mean wrapping it in a:
>
>   #ifdef TARGET_ASAN_SHADOW_OFFSET

I meant wrapping the code in

#if TARGET_ELF

or

#if !TARGET_XCOFF

or whatever is appropriate for where it is supported.

Thanks, David

Reply via email to