#include "asm-arm.h"
- .arch armv7-a
+ .arch armv6
.eabi_attribute 28, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.global C(avcall_call)
.syntax unified
.arm
- .fpu vfpv3-d16
+ .fpu vfpv2
.type avcall_call, %function
FUNBEGIN(avcall_call)
// args = 0, pretend = 0, frame = 0
#include "asm-arm.h"
- .arch armv7-a
+ .arch armv6
.eabi_attribute 28, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.global C(callback_receiver)
.syntax unified
.arm
- .fpu vfpv3-d16
+ .fpu vfpv2
.type callback_receiver, %function
FUNBEGIN(callback_receiver)
// args = 28, pretend = 0, frame = 176
#include "asm-arm.h"
- .arch armv7-a
+ .arch armv6
.eabi_attribute 28, 1
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.global C(vacall_receiver)
.syntax unified
.arm
- .fpu vfpv3-d16
+ .fpu vfpv2
.type vacall_receiver, %function
FUNBEGIN(vacall_receiver)
// args = 20, pretend = 16, frame = 176
push {r4, r5, fp, lr}
add fp, sp, $12
add lr, fp, $4
- movw r4, $:lower16:C(vacall_function)
- movt r4, $:upper16:C(vacall_function)
+ #raspbian mod, replace movw/movt with ldr psuedo-instruction
+ #movw r4, $:lower16:C(vacall_function)
+ #movt r4, $:upper16:C(vacall_function)
+ ldr r4, =C(vacall_function)
+ #end raspbian mod.
sub sp, sp, $176
add r5, fp, $20
stm lr, {r0, r1, r2, r3}