mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 619481 - after binutils upgrade, 'xptcinvoke_arm.cpp' fails to compile for ARM thumb2 with hardfp ABI r=Jacob.Bramley a=approval2.0
This commit is contained in:
parent
99ff000d8d
commit
ddab052663
@ -395,8 +395,9 @@ NS_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
|
||||
// seem to be reliable in all cases: http://gcc.gnu.org/PR46164
|
||||
PRUint32 result;
|
||||
asm (
|
||||
"mov r3, sp\n"
|
||||
"mov %[stack_space_size], %[param_count_plus_2], lsl #3\n"
|
||||
"tst sp, #4\n" /* check stack alignment */
|
||||
"tst r3, #4\n" /* check stack alignment */
|
||||
|
||||
"add %[stack_space_size], #(4 * 16)\n" /* space for VFP registers */
|
||||
"mov r3, %[params]\n"
|
||||
|
Loading…
Reference in New Issue
Block a user