This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]