From 58762663337adb3b4e2afd7eb2ccce211804be4c Mon Sep 17 00:00:00 2001 From: "dougt%meer.net" Date: Wed, 28 Sep 2005 05:49:51 +0000 Subject: [PATCH] Bug 307418. Fails to build on arm with gcc4. r/sr=shaver, a=asa git-svn-id: svn://10.0.0.236/trunk@181112 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp b/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp index fc90ecea6aa..1aa6bdc8f62 100644 --- a/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp +++ b/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp @@ -45,7 +45,8 @@ #endif /* Specify explicitly a symbol for this function, don't try to guess the c++ mangled symbol. */ -static nsresult PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) asm("_PrepareAndDispatch"); +static nsresult PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) asm("_PrepareAndDispatch") +__attribute__((used)); static nsresult PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args)