diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-12-21 08:35:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-12-21 08:35:58 +0000 |
commit | 05d9958f685e3f0c51be4f1128348645451e51fb (patch) | |
tree | b28c486ae60ad9065ba6d061b494c253fdc73ef5 /libc/sysdeps/linux/bfin/crti.S | |
parent | f6cc7543c5530106123f1fa7958d1c594ddff3d8 (diff) |
Add support for the Analog Devices Blackfin mmuless processor
Diffstat (limited to 'libc/sysdeps/linux/bfin/crti.S')
-rw-r--r-- | libc/sysdeps/linux/bfin/crti.S | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/bfin/crti.S b/libc/sysdeps/linux/bfin/crti.S new file mode 100644 index 000000000..36897973e --- /dev/null +++ b/libc/sysdeps/linux/bfin/crti.S @@ -0,0 +1,30 @@ +.file "initfini.c"; + .section .init + .section .fini + +.text; +.align 2 +.global _dummy; +.type _dummy, STT_FUNC; +_dummy: + P2 = R0; + LINK 0; + SP += -12; + cc =P2==0; + if cc jump L$L$1; + SP += 12; + UNLINK; + jump (P2); +L$L$1: + SP += 12; + UNLINK; + rts; + .size _dummy, .-_dummy +.align 2 +.global __init; +.type __init, STT_FUNC; +__init: + LINK 0; + SP += -12; + + .align 2 |