This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] AIX object file alignment
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Feb 2006 10:54:18 -0500
- Subject: [PATCH, committed] AIX object file alignment
This patch defines the maximum AIX XCOFF object file alignment,
which is larger than BIGGEST_ALIGNMENT.
Bootstrapped and regression tested on powerpc-ibm-aix.5.2.0.0
David
* config/rs6000/xcoff.h (MAX_OFILE_ALIGNMENT): Define.
Index: xcoff.h
===================================================================
*** xcoff.h (revision 111417)
--- xcoff.h (working copy)
***************
*** 56,61 ****
--- 56,66 ----
#define DOLLARS_IN_IDENTIFIERS 0
+ /* AIX .align pseudo-op accept value from 0 to 12, corresponding to
+ log base 2 of the alignment in bytes; 12 = 4096 bytes = 32768 bits. */
+
+ #define MAX_OFILE_ALIGNMENT 32768
+
/* Return nonzero if this entry is to be written into the constant
pool in a special way. We do so if this is a SYMBOL_REF, LABEL_REF
or a CONST containing one of them. If -mfp-in-toc (the default),