diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1996-01-07 22:00:44 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1996-01-07 22:00:44 +0000 |
commit | a211c7b90679f64a73fc10b78a45ff7a64a044a1 (patch) | |
tree | ae0fa4f4cb62e8f49030e67f1da3956b7e629025 | |
parent | 3c25f45127e55fa44bedb0b20dccd3d1042e2dab (diff) | |
download | gcc-a211c7b90679f64a73fc10b78a45ff7a64a044a1.zip gcc-a211c7b90679f64a73fc10b78a45ff7a64a044a1.tar.gz gcc-a211c7b90679f64a73fc10b78a45ff7a64a044a1.tar.bz2 |
Allow large alignments on ELF systems
From-SVN: r10951
-rw-r--r-- | gcc/config/mips/elf.h | 7 | ||||
-rw-r--r-- | gcc/config/mips/elf64.h | 7 | ||||
-rw-r--r-- | gcc/config/svr4.h | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h index 9a85ae3..8f5e32b 100644 --- a/gcc/config/mips/elf.h +++ b/gcc/config/mips/elf.h @@ -44,3 +44,10 @@ do { \ extern FILE *asm_out_text_file; \ fprintf (asm_out_text_file, "\t.etype\t0x%x;", (a)); \ } while (0) + +/* 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'. */ + +#define MAX_OFILE_ALIGNMENT (32768*8) diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h index 0812665..c9e1b2a 100644 --- a/gcc/config/mips/elf64.h +++ b/gcc/config/mips/elf64.h @@ -69,6 +69,13 @@ Boston, MA 02111-1307, USA. */ #include "gofast.h" #define INIT_TARGET_OPTABS INIT_GOFAST_OPTABS +/* 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'. */ + +#define MAX_OFILE_ALIGNMENT (32768*8) + /* We need to use .esize and .etype instead of .size and .type to avoid conflicting with ELF directives. */ #undef PUT_SDB_SIZE diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index 15f07e1..18eaca5 100644 --- a/gcc/config/svr4.h +++ b/gcc/config/svr4.h @@ -476,6 +476,13 @@ do { \ ASM_OUTPUT_ALIGNED_COMMON (FILE, NAME, SIZE, ALIGN); \ } while (0) +/* 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'. */ + +#define MAX_OFILE_ALIGNMENT (32768*8) + /* This is the pseudo-op used to generate a 32-bit word of data with a specific value in some section. This is the same for all known svr4 assemblers. */ |