diff options
Diffstat (limited to 'libc/sysdeps/linux/i386/crt0.S')
-rw-r--r-- | libc/sysdeps/linux/i386/crt0.S | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/crt0.S b/libc/sysdeps/linux/i386/crt0.S index 79e0a6748..0095e6c67 100644 --- a/libc/sysdeps/linux/i386/crt0.S +++ b/libc/sysdeps/linux/i386/crt0.S @@ -71,3 +71,17 @@ _start: /* Ok, now run uClibc's main() -- shouldn't return */ call __uClibc_main + +/* a little bit of stuff to support C++ */ + .section .ctors,"aw" + .align 4 + .global __CTOR_LIST__ +__CTOR_LIST__: + .long -1 + + .section .dtors,"aw" + .align 4 + .global __DTOR_LIST__ +__DTOR_LIST__: + .long -1 + |