repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
regress
/
lib
/
csu
/
initfini
/
arch
/
sh3
/
initfini_asm.S
blob
f738c10a667f57b3a65b66e9bf01699092a44721
1
/* $NetBSD$ */
2
3
/*
4
* This file placed in the public domain.
5
* Tsubai Masanari, July 23, 2001.
6
*/
7
8
#include <machine/asm.h>
9
10
.section .init, "ax", @progbits
11
mov.l Li_am_init, r0
12
jsr @r0
13
nop
14
bra 1f
15
nop
16
.align 2
17
Li_am_init:
18
.long _C_LABEL(i_am_init)
19
1:
20
.previous
21
22
.section .fini, "ax", @progbits
23
mov.l Li_am_fini, r0
24
jsr @r0
25
nop
26
bra 1f
27
nop
28
.align 2
29
Li_am_fini:
30
.long _C_LABEL(i_am_fini)
31
1:
32
.previous