mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
28 lines
937 B
Plaintext
28 lines
937 B
Plaintext
$NetBSD: patch-xl,v 1.1 2015/07/13 17:49:26 ryoon Exp $
|
|
|
|
NetBSD ppc xptcall support code. Originally from pkgsrc/www/mozilla.
|
|
|
|
--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s.orig 2014-07-18 00:05:57.000000000 +0000
|
|
+++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_netbsd.s
|
|
@@ -20,15 +20,15 @@
|
|
|
|
.section ".text"
|
|
.align 2
|
|
- .globl XPTC_InvokeByIndex
|
|
- .type XPTC_InvokeByIndex,@function
|
|
+ .globl NS_InvokeByIndex_P
|
|
+ .type NS_InvokeByIndex_P,@function
|
|
|
|
#
|
|
-# XPTC_InvokeByIndex(nsISupports* that, uint32_t methodIndex,
|
|
-# uint32_t paramCount, nsXPTCVariant* params)
|
|
+# NS_InvokeByIndex_P(nsISupports* that, PRUint32 methodIndex,
|
|
+# PRUint32 paramCount, nsXPTCVariant* params)
|
|
#
|
|
|
|
-XPTC_InvokeByIndex:
|
|
+NS_InvokeByIndex_P:
|
|
stwu sp,-32(sp) # setup standard stack frame
|
|
mflr r0 # save LR
|
|
stw r3,8(sp) # r3 <= that
|