(ASM_OUTPUT_LOCAL): New override.
authorRichard Stallman <rms@gnu.org>
Sat, 9 Jan 1993 15:24:16 +0000 (15:24 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 9 Jan 1993 15:24:16 +0000 (15:24 +0000)
From-SVN: r3175

gcc/config/i860/sysv3.h

index 26d3c614f917d4aca1fad1eb74f7e7c61faef742..3d7dc033363818e47cbd5e770282bb3388e261c8 100644 (file)
@@ -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"