mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
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
This commit is contained in:
parent
443a88ba29
commit
00275db1e7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user