johannes    02/11/21 15:54:13

  Modified:    live/gcc3/gcc/config/rs6000 darwin.h
  Log:
  Make .align_xxx directives work (rolling in FSF fix)
  
  Revision  Changes    Path
  1.78      +13 -0     src/live/gcc3/gcc/config/rs6000/darwin.h
  
  Index: darwin.h
  ===================================================================
  RCS file: /cvs/Darwin/src/live/gcc3/gcc/config/rs6000/darwin.h,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- darwin.h  2002/10/24 23:45:57     1.77
  +++ darwin.h  2002/11/21 23:54:13     1.78
  @@ -181,6 +181,19 @@
   
   /* APPLE LOCAL don't define SAVE_FP_PREFIX and friends */
   
  +/* This is how to output an assembler line that says to advance
  +   the location counter to a multiple of 2**LOG bytes using the
  +   "nop" instruction as padding.  */
  +
  +#define ASM_OUTPUT_ALIGN_WITH_NOP(FILE,LOG)                    \
  +  do {                                                         \
  +    if ((LOG) < 3) {                                           \
  +      ASM_OUTPUT_ALIGN (FILE,LOG);                             \
  +    }                                                          \
  +    else /* nop == ori r0,r0,0 */                              \
  +      fprintf (FILE, "\t.align32 %d,0x60000000\n", (LOG));     \
  +  } while (0);
  +
   /* Generate insns to call the profiler.  */
   
   #define PROFILE_HOOK(LABEL)   output_profile_hook (LABEL)
  
  
  


Reply via email to