Bug 322806 ARM crash [@ XPTC_InvokeByIndex]
patch by apm@dna.fi eabi arm assembly didn't warn that a variable was a memory operand so the newer gcc compilers (e.g. gcc4) started optimizing things away... I tried to get someone to vouch for this code but the people I poked never got back to me. moa=timeless git-svn-id: svn://10.0.0.236/trunk@216536 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -212,7 +212,7 @@ XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
|
||||
"add sp, sp, r4 \n\t" /* restore stack pointer */
|
||||
"mov %0, r0 \n\t" /* the result... */
|
||||
: "=r" (result)
|
||||
: "r" (&my_params)
|
||||
: "r" (&my_params), "m" (my_params)
|
||||
: "r0", "r1", "r2", "r3", "r4", "ip", "lr", "sp"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user