From: Philip Blundell Date: Sun, 30 May 1999 12:04:01 +0000 (+0000) Subject: aout.h (ASM_OUTPUT_ALIGN): Only define if not already defined. X-Git-Tag: releases/libgcj-2.95.0~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00275db1e73c1ca8ce95595d3577a5793546617a;p=thirdparty%2Fgcc.git aout.h (ASM_OUTPUT_ALIGN): Only define if not already defined. Sat May 29 19:08:10 1999 Philip Blundell * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80b55d77a283..3d46c8232573 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +Sat May 29 19:08:10 1999 Philip Blundell + + * 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 * fixincl.c: Replace local include scheme with #includes of diff --git a/gcc/config/arm/aout.h b/gcc/config/arm/aout.h index 2e341b768a64..df1694aa9ca9 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 b282004d77d9..63ec125c49ed 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"