]> gcc.gnu.org Git - gcc.git/commitdiff
aout.h (ASM_OUTPUT_ALIGN): Only define if not already defined.
authorPhilip Blundell <philb@gnu.org>
Sun, 30 May 1999 12:04:01 +0000 (12:04 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Sun, 30 May 1999 12:04:01 +0000 (12:04 +0000)
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

gcc/ChangeLog
gcc/config/arm/aout.h
gcc/config/arm/elf.h

index 80b55d77a28317fcc185607a347d34b7be41799b..3d46c8232573ee788ceb900abe5e8c4131ab46e1 100644 (file)
@@ -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
index 2e341b768a64c4d952ac06aa2deb7a844fc5bedc..df1694aa9ca92c31c1cd61100f368015e8cc82c5 100644 (file)
@@ -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
index b282004d77d9ec9119805a98f814124da7ec11f8..63ec125c49edfc2eafe3ed9ee6b5503168f9118c 100644 (file)
@@ -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"
This page took 0.072693 seconds and 5 git commands to generate.