--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp.orig 2006-05-05 11:32:42.000000000 +0100 +++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp 2006-05-05 11:33:12.000000000 +0100 @@ -45,7 +45,7 @@ #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)