diff options
author | Richard Stallman <rms@gnu.org> | 1993-01-09 15:24:16 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-01-09 15:24:16 +0000 |
commit | e986e82af85b2b4711d411cb2937b1e45f76a4a6 (patch) | |
tree | 345cb86eec96114a82ac006381378ac102cd7a1f | |
parent | 4cf3301cf5c82d0a4ae0c36cec9cb1427d9d5dfc (diff) | |
download | gcc-e986e82af85b2b4711d411cb2937b1e45f76a4a6.zip gcc-e986e82af85b2b4711d411cb2937b1e45f76a4a6.tar.gz gcc-e986e82af85b2b4711d411cb2937b1e45f76a4a6.tar.bz2 |
(ASM_OUTPUT_LOCAL): New override.
From-SVN: r3175
-rw-r--r-- | gcc/config/i860/sysv3.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/config/i860/sysv3.h b/gcc/config/i860/sysv3.h index 26d3c61..3d7dc03 100644 --- a/gcc/config/i860/sysv3.h +++ b/gcc/config/i860/sysv3.h @@ -86,6 +86,20 @@ extern char *current_function_original_name; fprintf (FILE, ":\n"); \ } while (0) +/* This says how to output an assembler line + to define a local common symbol. + The difference from svr3.h is we don't limit align to 2. */ + +#undef ASM_OUTPUT_LOCAL +#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ + do { \ + int align = exact_log2 (ROUNDED); \ + data_section (); \ + ASM_OUTPUT_ALIGN ((FILE), align == -1 ? 2 : align); \ + ASM_OUTPUT_LABEL ((FILE), (NAME)); \ + fprintf ((FILE), "\t.set .,.+%u\n", (ROUNDED)); \ + } while (0) + /* The routine used to output string literals. #define ASCII_DATA_ASM_OP ".byte" |