diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-06-11 03:31:30 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-11 03:31:30 -0400 |
commit | 51be24c351bc9ee4937121100adb098eeb1effdd (patch) | |
tree | b766c400cab7c51bfc7672cfbc3402bc83be5fb3 /arch/blackfin/kernel/entry.S | |
parent | 52a078120c33b06a9abb721357adaafc3b55b7c1 (diff) |
Blackfin arch: add proper ENDPROC()
add proper ENDPROC() to close out assembly functions
so size/type is set properly in the final ELF image
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/entry.S')
-rw-r--r-- | arch/blackfin/kernel/entry.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/entry.S b/arch/blackfin/kernel/entry.S index 5880b270bd50..65c5ba4260b0 100644 --- a/arch/blackfin/kernel/entry.S +++ b/arch/blackfin/kernel/entry.S | |||
@@ -58,10 +58,12 @@ ENTRY(_ret_from_fork) | |||
58 | RESTORE_ALL_SYS | 58 | RESTORE_ALL_SYS |
59 | p0 = reti; | 59 | p0 = reti; |
60 | jump (p0); | 60 | jump (p0); |
61 | ENDPROC(_ret_from_fork) | ||
61 | 62 | ||
62 | ENTRY(_sys_fork) | 63 | ENTRY(_sys_fork) |
63 | r0 = -EINVAL; | 64 | r0 = -EINVAL; |
64 | rts; | 65 | rts; |
66 | ENDPROC(_sys_fork) | ||
65 | 67 | ||
66 | ENTRY(_sys_vfork) | 68 | ENTRY(_sys_vfork) |
67 | r0 = sp; | 69 | r0 = sp; |
@@ -72,6 +74,7 @@ ENTRY(_sys_vfork) | |||
72 | SP += 12; | 74 | SP += 12; |
73 | rets = [sp++]; | 75 | rets = [sp++]; |
74 | rts; | 76 | rts; |
77 | ENDPROC(_sys_vfork) | ||
75 | 78 | ||
76 | ENTRY(_sys_clone) | 79 | ENTRY(_sys_clone) |
77 | r0 = sp; | 80 | r0 = sp; |
@@ -82,6 +85,7 @@ ENTRY(_sys_clone) | |||
82 | SP += 12; | 85 | SP += 12; |
83 | rets = [sp++]; | 86 | rets = [sp++]; |
84 | rts; | 87 | rts; |
88 | ENDPROC(_sys_clone) | ||
85 | 89 | ||
86 | ENTRY(_sys_rt_sigreturn) | 90 | ENTRY(_sys_rt_sigreturn) |
87 | r0 = sp; | 91 | r0 = sp; |
@@ -92,3 +96,4 @@ ENTRY(_sys_rt_sigreturn) | |||
92 | SP += 12; | 96 | SP += 12; |
93 | rets = [sp++]; | 97 | rets = [sp++]; |
94 | rts; | 98 | rts; |
99 | ENDPROC(_sys_rt_sigreturn) | ||