aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2001-08-28 18:37:38 +0000
committerStan Shebs <shebs@gcc.gnu.org>2001-08-28 18:37:38 +0000
commit1aef44a7401d589a3d3c6f54d23ca7ceaa241af1 (patch)
treef033ebdedd36949bb00a1c39288f3306b1a5a9a0
parent06657dcd6ecd5778db641ef2db6abec43145b697 (diff)
downloadgcc-1aef44a7401d589a3d3c6f54d23ca7ceaa241af1.zip
gcc-1aef44a7401d589a3d3c6f54d23ca7ceaa241af1.tar.gz
gcc-1aef44a7401d589a3d3c6f54d23ca7ceaa241af1.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/darwin.h9
2 files changed, 14 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 55502f7..2b9cbcc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 193a523..efa43f2 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"