diff options
author | carlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-30 19:25:08 +0000 |
---|---|---|
committer | carlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-30 19:25:08 +0000 |
commit | 6d5572949b8595c625daa1e7d3ab4694e2998336 (patch) | |
tree | 3b09e5754552583423ebe731e5989c8fc7f86f95 /gcc/config/elfos.h | |
parent | 04a763b7d815e94e0c52e8b743450557d535d228 (diff) | |
download | ppe42-gcc-6d5572949b8595c625daa1e7d3ab4694e2998336.tar.gz ppe42-gcc-6d5572949b8595c625daa1e7d3ab4694e2998336.zip |
gcc/
2006-11-30 Carlos O'Donell <carlos@codesourcery.com>
* doc/tm.texi (MAX_OFILE_ALIGNMENT): Document default.
* config/elfos.h [!MAX_OFILE_ALIGNMENT] (MAX_OFILE_ALIGNMENT):
Default is the largest alignment supported for 32-bit ELF and
representable on a 32-bit host.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119374 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r-- | gcc/config/elfos.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index a2bd49f909a..9aa24975ca4 100644 --- a/gcc/config/elfos.h +++ b/gcc/config/elfos.h @@ -40,12 +40,15 @@ Boston, MA 02110-1301, USA. */ #undef USER_LABEL_PREFIX #define USER_LABEL_PREFIX "" -/* Biggest alignment supported by the object file format of this - machine. Use this macro to limit the alignment which can be - specified using the `__attribute__ ((aligned (N)))' construct. If - not defined, the default value is `BIGGEST_ALIGNMENT'. */ +/* The biggest alignment supported by ELF in bits. 32-bit ELF + supports section alignment up to (0x80000000 * 8), while + 64-bit ELF supports (0x8000000000000000 * 8). If this macro + is not defined, the default is the largest alignment supported + by 32-bit ELF and representable on a 32-bit host. Use this + macro to limit the alignment which can be specified using + the `__attribute__ ((aligned (N)))' construct. */ #ifndef MAX_OFILE_ALIGNMENT -#define MAX_OFILE_ALIGNMENT (32768 * 8) +#define MAX_OFILE_ALIGNMENT (((unsigned int) 1 << 28) * 8) #endif /* Use periods rather than dollar signs in special g++ assembler names. */ |