From: Stan Shebs Date: Tue, 28 Aug 2001 18:37:38 +0000 (+0000) Subject: darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names. X-Git-Tag: prereleases/libstdc++-3.0.95~2389 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1aef44a7401d589a3d3c6f54d23ca7ceaa241af1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 55502f7e4ce9..2b9cbccc3ae3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-08-28 Stan Shebs + + * config/darwin.h (ASM_OUTPUT_LABELREF): Handle '*' names. + (UNALIGNED_SHORT_ASM_OP): Define. + (UNALIGNED_INT_ASM_OP): Define. + 2001-08-28 Will Cohen * config/rs6000/rs6000.md (store_multiple): Correct RTL diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 193a523be7a2..efa43f2138a7 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -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"