mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Get LIBC_MEM and LIBC_STDIO building with aarch64
This commit is contained in:
parent
ae0ee59614
commit
d04430f4ef
81 changed files with 440 additions and 1064 deletions
|
@ -20,7 +20,11 @@
|
|||
#include "libc/testlib/ezbench.h"
|
||||
|
||||
int __testlib_getcore(void) {
|
||||
#ifdef __x86__
|
||||
long tscaux;
|
||||
tscaux = rdpid();
|
||||
return TSC_AUX_CORE(tscaux);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue