Add alignment parameter to .comm directives for ELF targets.

From-SVN: r41832
This commit is contained in:
Nick Clifton 2001-05-04 16:16:43 +00:00 committed by Nick Clifton
parent df4ae16082
commit 30506ece75
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-05-04 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* alpha.h: NULL_PTR -> NULL.

View File

@ -367,6 +367,17 @@ dtors_section () \
} \
while (0)
#ifndef ASM_OUTPUT_ALIGNED_COMMON
#define ASM_OUTPUT_ALIGNED_COMMON(STREAM, NAME, SIZE, ALIGN) \
do \
{ \
fprintf (STREAM, "\t.comm\t"); \
assemble_name (STREAM, NAME); \
fprintf (STREAM, ", %d, %d\n", SIZE, ALIGN); \
} \
while (0)
#endif
/* For PIC code we need to explicitly specify (PLT) and (GOT) relocs. */
#define NEED_PLT_RELOC flag_pic
#define NEED_GOT_RELOC flag_pic