pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, [...]): Redefine them.

2002-04-01  Vladimir Makarov  <vmakarov@redhat.com>

	* config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
        ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.

From-SVN: r51714
This commit is contained in:
Vladimir Makarov 2002-04-01 22:45:32 +00:00 committed by Vladimir Makarov
parent 70a9f3ec11
commit 21dbc4c261
2 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
* config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
2002-04-01 Jim Blandy <jimb@redhat.com>
* cppmacro.c (cpp_macro_definition): Do not emit spaces after

View File

@ -40,3 +40,26 @@ Boston, MA 02111-1307, USA. */
linker script to pull it in. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC ""
/* The following two macros are identical to the ones in pa.h. We need
to override the macros in elfos.h on the rtems and pro ports. */
/* This says how to output an assembler line to define a global common symbol
with size SIZE (in bytes) and alignment ALIGN (in bits). */
#undef ASM_OUTPUT_ALIGNED_COMMON
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGNED) \
{ bss_section (); \
assemble_name ((FILE), (NAME)); \
fputs ("\t.comm ", (FILE)); \
fprintf ((FILE), "%d\n", MAX ((SIZE), ((ALIGNED) / BITS_PER_UNIT)));}
/* This says how to output an assembler line to define a local common symbol
with size SIZE (in bytes) and alignment ALIGN (in bits). */
#undef ASM_OUTPUT_ALIGNED_LOCAL
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGNED) \
{ bss_section (); \
fprintf ((FILE), "\t.align %d\n", ((ALIGNED) / BITS_PER_UNIT)); \
assemble_name ((FILE), (NAME)); \
fprintf ((FILE), "\n\t.block %d\n", (SIZE));}