1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
$NetBSD: patch-ay,v 1.2 1999/12/13 20:36:27 bad Exp $
--- mit-pthreads/machdep/syscall-arm32-netbsd-1.3.S.orig Mon Jun 7 12:34:23 1999
+++ mit-pthreads/machdep/syscall-arm32-netbsd-1.3.S Sun Aug 22 02:16:09 1999
@@ -65,9 +65,9 @@
/* ==========================================================================
* machdep_sys_fork()
*/
- .globl _machdep_sys_fork;
+ .globl _C_LABEL(machdep_sys_fork);
-_machdep_sys_fork:;
+_C_LABEL(machdep_sys_fork):;
swi SYS_fork
bcs 1f
@@ -80,9 +80,9 @@
/* ==========================================================================
* machdep_sys_fstat()
*/
- .globl _machdep_sys_fstat;
+ .globl _C_LABEL(machdep_sys_fstat);
-_machdep_sys_fstat:;
+_C_LABEL(machdep_sys_fstat):;
swi SYS___fstat13
bcs 1f
@@ -103,9 +103,9 @@
/* ==========================================================================
* machdep_sys_sigsuspend()
*/
- .globl _machdep_sys_sigsuspend;
+ .globl _C_LABEL(machdep_sys_sigsuspend);
-_machdep_sys_sigsuspend:;
+_C_LABEL(machdep_sys_sigsuspend):;
ldr r0, [r0]
swi SYS_sigsuspend
@@ -119,9 +119,9 @@
/* ==========================================================================
* machdep_sys_sigprocmask()
*/
- .globl _machdep_sys_sigprocmask;
+ .globl _C_LABEL(machdep_sys_sigprocmask);
-_machdep_sys_sigprocmask:;
+_C_LABEL(machdep_sys_sigprocmask):;
teq r1, #0x00000000
moveq r0, #0x00000001
@@ -138,8 +138,8 @@
/* ==========================================================================
* machdep_sys_ftruncate()
*/
- .global _machdep_sys_ftruncate
-_machdep_sys_ftruncate:
+ .global _C_LABEL(machdep_sys_ftruncate)
+_C_LABEL(machdep_sys_ftruncate):
mov r12, r13
stmfd r13!, {r11, r12, r14, r15}
sub r13, r13, #8
@@ -155,9 +155,9 @@
/* ==========================================================================
* machdep_sys_lseek()
*/
- .global _machdep_sys_lseek
+ .global _C_LABEL(machdep_sys_lseek)
-_machdep_sys_lseek:
+_C_LABEL(machdep_sys_lseek):
mov r12, r13
stmfd r13!, {r11, r12, r14, r15}
str r3, [r13, #-4]!
@@ -174,9 +174,9 @@
/* ==========================================================================
* machdep_sys_pipe()
*/
- .globl _machdep_sys_pipe;
+ .globl _C_LABEL(machdep_sys_pipe);
-_machdep_sys_pipe:;
+_C_LABEL(machdep_sys_pipe):;
mov r2, r0
swi SYS_pipe
|