source: trunk/libs/newlib/src/libgloss/msp430/crtn.S @ 514

Last change on this file since 514 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 988 bytes
Line 
1/* Copyright (c) 2013 Red Hat, Inc. All rights reserved.
2
3   This copyrighted material is made available to anyone wishing to use, modify,
4   copy, or redistribute it subject to the terms and conditions of the BSD
5   License.   This program is distributed in the hope that it will be useful,
6   but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
7   of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  A copy of this license
8   is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
9   are incorporated in the source code or documentation are not subject to the BSD
10   License and may only be used or replicated with the express permission of
11   Red Hat, Inc.
12*/
13
14#include "memmodel.h"
15
16#ifndef MINRT
17        .section        .init,"ax"
18        call_   #_msp430_run_preinit_array
19        call_   #_msp430_run_init_array
20        ret_
21        .global __msp430_init_end
22__msp430_init_end:
23
24        .section        .fini,"ax"
25
26        ret_
27        .global __msp430_fini_end
28__msp430_fini_end:
29
30        .text
31
32#endif
Note: See TracBrowser for help on using the repository browser.