Commit 30506ece by Nick Clifton Committed by Nick Clifton

Add alignment parameter to .comm directives for ELF targets.

From-SVN: r41832
parent df4ae160
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> 2001-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* alpha.h: NULL_PTR -> NULL. * alpha.h: NULL_PTR -> NULL.
......
...@@ -367,6 +367,17 @@ dtors_section () \ ...@@ -367,6 +367,17 @@ dtors_section () \
} \ } \
while (0) 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. */ /* For PIC code we need to explicitly specify (PLT) and (GOT) relocs. */
#define NEED_PLT_RELOC flag_pic #define NEED_PLT_RELOC flag_pic
#define NEED_GOT_RELOC flag_pic #define NEED_GOT_RELOC flag_pic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment