mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-07 13:29:16 +08:00
Add alignment parameter to .comm directives for ELF targets.
From-SVN: r41832
This commit is contained in:
parent
df4ae16082
commit
30506ece75
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user