diff options
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r-- | gcc/config/darwin.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index c175ead..d6f52e7 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -873,13 +873,12 @@ int darwin_label_is_anonymous_local_objc_name (const char *name); if ((LOG) != 0) \ fprintf (FILE, "\t%s\t%d\n", ALIGN_ASM_OP, (LOG)) -/* The maximum alignment which the object file format can support in - bits. For Mach-O, this is 2^15 bytes. */ +/* The maximum alignment which the object file format can support in bits + which depends on the OS version and whether the object is a common + variable. */ #undef MAX_OFILE_ALIGNMENT -#define MAX_OFILE_ALIGNMENT (0x8000 * 8) - -#define L2_MAX_OFILE_ALIGNMENT 15 +#define MAX_OFILE_ALIGNMENT ((1U << L2_MAX_OFILE_ALIGNMENT) * 8U) /* These are the three variants that emit referenced blank space. */ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ |