diff options
author | Philip Blundell <philb@gnu.org> | 1999-05-30 12:04:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1999-05-30 12:04:01 +0000 |
commit | 00275db1e73c1ca8ce95595d3577a5793546617a (patch) | |
tree | 692d46976d4972262e2bb52887d1156ee024e5fd | |
parent | 443a88ba292d585dbc0b65f0d60a0b2b4ea972ec (diff) | |
download | gcc-00275db1e73c1ca8ce95595d3577a5793546617a.zip gcc-00275db1e73c1ca8ce95595d3577a5793546617a.tar.gz gcc-00275db1e73c1ca8ce95595d3577a5793546617a.tar.bz2 |
aout.h (ASM_OUTPUT_ALIGN): Only define if not already defined.
Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
* config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
defined.
* config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
(MAX_OFILE_ALIGNMENT): Likewise.
From-SVN: r27246
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/arm/aout.h | 5 | ||||
-rw-r--r-- | gcc/config/arm/elf.h | 10 |
3 files changed, 21 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80b55d7..3d46c82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org> + + * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already + defined. + * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define. + (MAX_OFILE_ALIGNMENT): Define. + Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net> * fixincl.c: Replace local include scheme with #includes of diff --git a/gcc/config/arm/aout.h b/gcc/config/arm/aout.h index 2e341b7..df1694a 100644 --- a/gcc/config/arm/aout.h +++ b/gcc/config/arm/aout.h @@ -236,6 +236,7 @@ do { char dstr[30]; \ fprintf (STREAM, "\t.space\t%d\n", NBYTES) /* Align output to a power of two. Horrible /bin/as. */ +#ifndef ASM_OUTPUT_ALIGN #define ASM_OUTPUT_ALIGN(STREAM, POWER) \ do \ { \ @@ -245,7 +246,9 @@ do { char dstr[30]; \ fprintf (STREAM, "\t.even\n"); \ else if (amount != 1) \ fprintf (STREAM, "\t.align\t%d\n", amount - 4); \ - } while (0) + } \ + while (0) +#endif /* Output a common block */ #ifndef ASM_OUTPUT_COMMON diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h index b282004..63ec125 100644 --- a/gcc/config/arm/elf.h +++ b/gcc/config/arm/elf.h @@ -341,4 +341,14 @@ do { \ /* The ELF assembler handles GOT addressing differently to NetBSD. */ #define GOT_PCREL 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) + +/* Align output to a power of two. */ +#define ASM_OUTPUT_ALIGN(STREAM, POWER) \ + fprintf (STREAM, "\t.align\t%d\n", POWER) + #include "arm/aout.h" |