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 /gcc/config/arm/elf.h | |
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
Diffstat (limited to 'gcc/config/arm/elf.h')
-rw-r--r-- | gcc/config/arm/elf.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 |