Add missing symbol type directives.

This commit is contained in:
Doug Kwan
2009-12-03 16:26:04 -08:00
parent ff3c8dfced
commit d548a265ca
3 changed files with 8 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
.global __get_pc
.type __get_pc, %function
__get_pc:
mov r0, pc

View File

@@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
.global __get_sp
.type __get_sp, %function
__get_sp:
mov r0, sp

View File

@@ -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