2 * \file crt0_l4env_freebsd.S
3 * \brief Startup code for L4env applications for l4env_freebsd mode
6 * \author Frank Mehnert <fm3@os.inf.tu-dresden.de> */
9 * (c) 2003-2009 Author(s)
10 * economic rights: Technische Universität Dresden (Germany)
11 * This file is part of TUD:OS and distributed under the terms of the
12 * GNU Lesser General Public License 2.1.
13 * Please see the COPYING-LGPL-2.1 file for details.
17 #include <l4/sys/compiler.h>
19 /*--- .text (program code) -------------------------*/
24 /* Clear the base pointer so that stack backtraces will work. */
30 /* Jump into C code (init backends, call constructors, call main). */
33 /* We should never get here since l4env_startup() does not return */
36 .ascii "__main() returned."
40 /*--- .ctors (array of pointers to constructors) ---*/
41 .section .ctors,"a",@progbits
46 /*--- .dtors (array of pointers to destructors) ----*/
47 .section .dtors,"a",@progbits
52 /*--- .anno (annoations used by OSKit) --------------*/
53 .section .anno,"aw",@progbits
59 /*--- .data (initialized data) ---------------------*/
67 /*--- .eh_frame (exception frames) -----------------*/
68 .section .eh_frame,"a"
69 .globl __EH_FRAME_BEGIN__