summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-22 01:06:29 +0000
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-22 01:06:29 +0000
commite112884a15a1440633c0589c72fe498dba37b5db (patch)
treeea34d148a193a30d1877db919c665af4c445a125
parent94dcc41fb2fb8d3b051fc724554048b654c8abcd (diff)
downloadgcc-e112884a15a1440633c0589c72fe498dba37b5db.tar.gz
* config/rs6000/darwin-tramp.asm: Add __ppc64__ case.
* config/rs6000/darwin-world.asm: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87836 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/darwin-tramp.asm6
-rw-r--r--gcc/config/rs6000/darwin-world.asm4
3 files changed, 14 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ebae450392e..0ba7fa87582 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-21 Stan Shebs <shebs@apple.com>
+
+ * config/rs6000/darwin-tramp.asm: Add __ppc64__ case.
+ * config/rs6000/darwin-world.asm: Likewise.
+
2004-09-21 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa.c (verify_def): Use print_generic_stmt,
diff --git a/gcc/config/rs6000/darwin-tramp.asm b/gcc/config/rs6000/darwin-tramp.asm
index d4d77747521..984c53ba15f 100644
--- a/gcc/config/rs6000/darwin-tramp.asm
+++ b/gcc/config/rs6000/darwin-tramp.asm
@@ -120,7 +120,11 @@ L0$_abort:
.lazy_symbol_pointer
L_abort$lazy_ptr:
.indirect_symbol _abort
- .long dyld_stub_binding_helper
+#ifdef __ppc64__
+ .quad dyld_stub_binding_helper
+#else
+ .long dyld_stub_binding_helper
+#endif
#else
bl _abort
#endif
diff --git a/gcc/config/rs6000/darwin-world.asm b/gcc/config/rs6000/darwin-world.asm
index 57b516f9b4f..630cabcfeb6 100644
--- a/gcc/config/rs6000/darwin-world.asm
+++ b/gcc/config/rs6000/darwin-world.asm
@@ -42,7 +42,11 @@
.non_lazy_symbol_pointer
L_has_vec$non_lazy_ptr:
.indirect_symbol __cpu_has_altivec
+#ifdef __ppc64__
+ .quad 0
+#else
.long 0
+#endif
#else