Commit b277ceaf by Jim Wilson

(ASM_OUTPUT_COMMON): Don't output .global. Use SIZE not ROUNDED.

(ASM_OUTPUT_LOCAL): Delete.
(ASM_OUTPUT_ALIGNED_LOCAL): Define.

From-SVN: r6421
parent 2d55b7e8
...@@ -1738,19 +1738,18 @@ do { \ ...@@ -1738,19 +1738,18 @@ do { \
to define a global common symbol. */ to define a global common symbol. */
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \ #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
( fputs ("\t.global ", (FILE)), \ ( fputs ("\t.common ", (FILE)), \
assemble_name ((FILE), (NAME)), \ assemble_name ((FILE), (NAME)), \
fputs ("\n\t.common ", (FILE)), \ fprintf ((FILE), ",%u,\"bss\"\n", (SIZE)))
assemble_name ((FILE), (NAME)), \
fprintf ((FILE), ",%u,\"bss\"\n", (ROUNDED)))
/* This says how to output an assembler line /* This says how to output an assembler line to define a local common
to define a local common symbol. */ symbol. */
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGNED) \
( fputs ("\n\t.reserve ", (FILE)), \ ( fputs ("\t.reserve ", (FILE)), \
assemble_name ((FILE), (NAME)), \ assemble_name ((FILE), (NAME)), \
fprintf ((FILE), ",%u,\"bss\"\n", (ROUNDED))) fprintf ((FILE), ",%u,\"bss\",%u\n", \
(SIZE), ((ALIGNED) / BITS_PER_UNIT)))
/* Store in OUTPUT a string (made with alloca) containing /* Store in OUTPUT a string (made with alloca) containing
an assembler-name for a local static variable named NAME. an assembler-name for a local static variable named NAME.
......
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