Commit 1aef44a7 by Stan Shebs Committed by Stan Shebs

darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.

        * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names.
        (UNALIGNED_SHORT_ASM_OP): Define.
        (UNALIGNED_INT_ASM_OP): Define.

From-SVN: r45232
parent 06657dcd
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> 2001-08-28 Will Cohen <wcohen@redhat.com>
* config/rs6000/rs6000.md (store_multiple): Correct RTL * config/rs6000/rs6000.md (store_multiple): Correct RTL
......
...@@ -222,7 +222,7 @@ do { text_section (); \ ...@@ -222,7 +222,7 @@ do { text_section (); \
#define ASM_OUTPUT_LABELREF(FILE,NAME) \ #define ASM_OUTPUT_LABELREF(FILE,NAME) \
do { \ do { \
STRIP_NAME_ENCODING (NAME, NAME); \ STRIP_NAME_ENCODING (NAME, NAME); \
if (NAME[0] == '&') \ if (NAME[0] == '&' || NAME[0] == '*') \
{ \ { \
int len = strlen (NAME); \ int len = strlen (NAME); \
if (len > 6 && !strcmp ("$stub", NAME + len - 5)) \ if (len > 6 && !strcmp ("$stub", NAME + len - 5)) \
...@@ -243,6 +243,13 @@ do { text_section (); \ ...@@ -243,6 +243,13 @@ do { text_section (); \
fprintf (FILE, "_%s", NAME); \ fprintf (FILE, "_%s", NAME); \
} while (0) } 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 #undef ALIGN_ASM_OP
#define ALIGN_ASM_OP ".align" #define ALIGN_ASM_OP ".align"
......
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