Remove __ARM_EABI__ from sys/arm/arm, building for oabi is unsupported.
This commit is contained in:
parent
93b9a2a6f8
commit
00ed281d7d
@ -725,7 +725,6 @@ __start(void)
|
||||
(unsigned int)(&load_kernel) + 800, sp);
|
||||
}
|
||||
|
||||
#ifdef __ARM_EABI__
|
||||
/* We need to provide these functions but never call them */
|
||||
void __aeabi_unwind_cpp_pr0(void);
|
||||
void __aeabi_unwind_cpp_pr1(void);
|
||||
@ -737,5 +736,3 @@ void
|
||||
__aeabi_unwind_cpp_pr0(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -237,7 +237,6 @@ _C_LABEL(dtrace_invop_calltrap_addr):
|
||||
ldmia sp, {sp, lr, pc}^ /* Restore lr and exit */
|
||||
#endif
|
||||
|
||||
#if defined(__ARM_EABI__)
|
||||
/*
|
||||
* Unwind hints so we can unwind past functions that use
|
||||
* PULLFRAMEFROMSVCANDEXIT. They are run in reverse order.
|
||||
@ -249,9 +248,6 @@ _C_LABEL(dtrace_invop_calltrap_addr):
|
||||
.pad #(2*4); /* Skip user sp and lr */ \
|
||||
.save {r0-r12}; /* Restore r0-r12 */ \
|
||||
.pad #(4) /* Skip spsr */
|
||||
#else
|
||||
#define UNWINDSVCFRAME
|
||||
#endif
|
||||
|
||||
#define DO_AST \
|
||||
ldr r0, [sp]; /* Get the SPSR from stack */ \
|
||||
|
@ -49,16 +49,6 @@ extern vm_offset_t kernel_vm_end;
|
||||
static void
|
||||
stack_capture(struct stack *st, u_int32_t *frame)
|
||||
{
|
||||
#if !defined(__ARM_EABI__) && !defined(__clang__)
|
||||
vm_offset_t callpc;
|
||||
|
||||
while (INKERNEL(frame) && (vm_offset_t)frame < kernel_vm_end) {
|
||||
callpc = frame[FR_SCP];
|
||||
if (stack_put(st, callpc) == -1)
|
||||
break;
|
||||
frame = (u_int32_t *)(frame[FR_RFP]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user