* config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New.

From-SVN: r98694
This commit is contained in:
Devang Patel 2005-04-24 19:10:41 -07:00 committed by Devang Patel
parent bbcfd969e6
commit eb1093d372
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-04-24 Devang Patel <dpatel@apple.com>
* config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New.
2005-04-24 Ian Lance Taylor <ian@airs.com>
* c-semantics.c (build_stmt): Remove test of specific tree codes

View File

@ -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. */