]> gcc.gnu.org Git - gcc.git/commitdiff
darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
authorStan Shebs <shebs@apple.com>
Tue, 28 Aug 2001 18:37:38 +0000 (18:37 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Tue, 28 Aug 2001 18:37:38 +0000 (18:37 +0000)
        * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
        (UNALIGNED_SHORT_ASM_OP): Define.
        (UNALIGNED_INT_ASM_OP): Define.

From-SVN: r45232

gcc/ChangeLog
gcc/config/darwin.h

index 55502f7e4ce911bec046c35a24cd3c954163e1f9..2b9cbccc3ae378664ce8350e2788a68f5c7df801 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-28  Stan Shebs  <shebs@apple.com>
+
+       * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
+       (UNALIGNED_SHORT_ASM_OP): Define.
+       (UNALIGNED_INT_ASM_OP): Define.
+
 2001-08-28  Will Cohen  <wcohen@redhat.com>
 
        * config/rs6000/rs6000.md (store_multiple): Correct RTL
index 193a523be7a2aef8d2f611a974938662f1a6da52..efa43f2138a76b323abe248d9a401dc3a849585b 100644 (file)
@@ -222,7 +222,7 @@ do { text_section ();                                                       \
 #define ASM_OUTPUT_LABELREF(FILE,NAME) \
   do {                                                                 \
        STRIP_NAME_ENCODING (NAME, NAME);  \
-       if (NAME[0] == '&')                                             \
+       if (NAME[0] == '&' || NAME[0] == '*')                           \
          {                                                             \
            int len = strlen (NAME);                                    \
           if (len > 6 && !strcmp ("$stub", NAME + len - 5))            \
@@ -243,6 +243,13 @@ do { text_section ();                                                      \
          fprintf (FILE, "_%s", NAME);                                  \
   } while (0)
 
+/* The standard fillin directives are unaligned.  */
+
+#define UNALIGNED_SHORT_ASM_OP          "\t.short\t"
+#define UNALIGNED_INT_ASM_OP            "\t.long\t"
+/* Don't try to use this before the assembler knows about it.  */
+/* #define UNALIGNED_DOUBLE_INT_ASM_OP     "\t.quad\t"  */
+
 #undef ALIGN_ASM_OP
 #define ALIGN_ASM_OP           ".align"
 
This page took 0.075176 seconds and 5 git commands to generate.