From: Devang Patel Date: Mon, 25 Apr 2005 02:10:41 +0000 (-0700) Subject: * config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb1093d3721a1435bf078b2356d9a707d1a4752e;p=gcc.git * config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New. From-SVN: r98694 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a776bc68d6..b13087c329e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-04-24 Devang Patel + + * config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New. + 2005-04-24 Ian Lance Taylor * c-semantics.c (build_stmt): Remove test of specific tree codes diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 46306746bba..d80d66702c1 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -283,6 +283,19 @@ do { \ /* Generate insns to call the profiler. */ +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN +/* This is supported in cctools 465 and later. The macro test + above prevents using it in earlier build environments. */ +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \ + if ((LOG) != 0) \ + { \ + if ((MAX_SKIP) == 0) \ + fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ + else \ + fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ + } +#endif + #define PROFILE_HOOK(LABEL) output_profile_hook (LABEL) /* Function name to call to do profiling. */