Add missing symbol type directives.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
.global __get_pc
|
||||
.type __get_pc, %function
|
||||
|
||||
__get_pc:
|
||||
mov r0, pc
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
.global __get_sp
|
||||
.type __get_sp, %function
|
||||
|
||||
__get_sp:
|
||||
mov r0, sp
|
||||
|
||||
@@ -28,11 +28,17 @@
|
||||
#include <sys/linux-syscalls.h>
|
||||
|
||||
.global __atomic_cmpxchg
|
||||
.type __atomic_cmpxchg, %function
|
||||
.global __atomic_swap
|
||||
.type __atomic_swap, %function
|
||||
.global __atomic_dec
|
||||
.type __atomic_dec, %function
|
||||
.global __atomic_inc
|
||||
.type __atomic_inc, %function
|
||||
.global __futex_wait
|
||||
.type __futex_wait, %function
|
||||
.global __futex_wake
|
||||
.type __futex_wake, %function
|
||||
|
||||
#define FUTEX_WAIT 0
|
||||
#define FUTEX_WAKE 1
|
||||
|
||||
Reference in New Issue
Block a user