diff options
author | Nick Clifton <nickc@cambridge.redhat.com> | 2001-05-04 16:16:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2001-05-04 16:16:43 +0000 |
commit | 30506ece757ccb765160740e59a90be165226110 (patch) | |
tree | 0dec23111a0921b1d6e76a4e04182e5f2fe0294a | |
parent | df4ae16082e3e505dc093b768d20f2dbb31200de (diff) | |
download | gcc-30506ece757ccb765160740e59a90be165226110.zip gcc-30506ece757ccb765160740e59a90be165226110.tar.gz gcc-30506ece757ccb765160740e59a90be165226110.tar.bz2 |
Add alignment parameter to .comm directives for ELF targets.
From-SVN: r41832
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/elf.h | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b058cc..5cb1ffc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h index bb7be33..71fe99b 100644 --- a/gcc/config/arm/elf.h +++ b/gcc/config/arm/elf.h @@ -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 |