mk: rewrite make files
This commit is contained in:
parent
d96b483a01
commit
26a5dc593c
12 changed files with 396 additions and 342 deletions
8
src/rt/arch/arm/morestack.S
Normal file
8
src/rt/arch/arm/morestack.S
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
.text
|
||||
.code 32
|
||||
.arm
|
||||
.align
|
||||
|
||||
.globl __morestack
|
||||
.hidden __morestack
|
||||
__morestack:
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "rust_android_dummy.h"
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef __ANDROID__
|
||||
|
||||
|
|
@ -13,6 +14,9 @@ char **backtrace_symbols(void *const *array, int size) { return 0; }
|
|||
|
||||
void backtrace_symbols_fd (void *const *array, int size, int fd) {}
|
||||
|
||||
extern "C" volatile int* __errno_location() {
|
||||
return &errno;
|
||||
}
|
||||
|
||||
extern "C" float log2f(float f)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue