From: Stan Shebs Date: Wed, 22 Sep 2004 01:06:29 +0000 (+0000) Subject: darwin-tramp.asm: Add __ppc64__ case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76419821c6f3f12f40049b33d63660a11f228758;p=gcc.git darwin-tramp.asm: Add __ppc64__ case. * config/rs6000/darwin-tramp.asm: Add __ppc64__ case. * config/rs6000/darwin-world.asm: Likewise. From-SVN: r87836 --- 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 + + * config/rs6000/darwin-tramp.asm: Add __ppc64__ case. + * config/rs6000/darwin-world.asm: Likewise. + 2004-09-21 Daniel Berlin * 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