diff options
author | carlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-13 21:28:28 +0000 |
---|---|---|
committer | carlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-13 21:28:28 +0000 |
commit | d42924e023794fa3178e76536d06949fb560ab9e (patch) | |
tree | e96b9cf7dcfbcecffc83863c5226c32466c9a12f /gcc/config/elfos.h | |
parent | 3469b0cf77d6be77253fe09144ba402e9c05fbc8 (diff) | |
download | gcc-d42924e023794fa3178e76536d06949fb560ab9e.tar.gz |
gcc/
2006-10-13 Carlos O'Donell <carlos@codesourcery.com>
Revert this change:
2006-10-13 Carlos O'Donell <carlos@codesourcery.com>
* config/elfos.h (MAX_OFILE_ALIGNMENT): Default to largest
alignment supported by 32-bit ELF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117709 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r-- | gcc/config/elfos.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index f685293cd9b..a2bd49f909a 100644 --- a/gcc/config/elfos.h +++ b/gcc/config/elfos.h @@ -40,17 +40,12 @@ Boston, MA 02110-1301, USA. */ #undef USER_LABEL_PREFIX #define USER_LABEL_PREFIX "" -/* The biggest alignment supported by ELF. 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. Use this macro to limit the alignment which can - be specified using the `__attribute__ ((aligned (N)))' - construct. */ -#if (HOST_BITS_PER_WIDEST_INT >= 64) -#define MAX_OFILE_ALIGNMENT (((unsigned HOST_WIDEST_INT) 1 << 31) * 8) -#else -#define MAX_OFILE_ALIGNMENT (((unsigned HOST_WIDEST_INT) 1 << 28) * 8) +/* 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'. */ +#ifndef MAX_OFILE_ALIGNMENT +#define MAX_OFILE_ALIGNMENT (32768 * 8) #endif /* Use periods rather than dollar signs in special g++ assembler names. */ |