xref: /haiku/src/system/glue/crtend.c (revision 21258e2674226d6aa732321b6f8494841895af5f)
1 /* ===-- crtend.c - Provide .eh_frame --------------------------------------===
2  *
3  *      	       The LLVM Compiler Infrastructure
4  *
5  * This file is dual licensed under the MIT and the University of Illinois Open
6  * Source Licenses. See LICENSE.TXT for details.
7  *
8  * ===----------------------------------------------------------------------===
9  */
10 
11 #include <inttypes.h>
12 
13 const int32_t __EH_FRAME_END__[]
14     __attribute__((section(".eh_frame"), used)) = { 0 };
15 
16 #ifndef CRT_HAS_INITFINI_ARRAY
17 typedef void (*fp)(void);
18 const fp __CTOR_END__[]
19     __attribute__((section(".ctors"), visibility("hidden"), used)) = { 0 };
20 const fp __DTOR_END__[]
21     __attribute__((section(".dtors"), visibility("hidden"), used)) = { 0 };
22 #endif
23