From a222ff0b49ccfc61b52579dfe33629782845baad Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 16 Mar 2002 15:13:11 +0000 Subject: Remove the C++ support stubs, since these now live elsewhere and these stubs were preventing the real stuff from working properly. -Erik --- libc/sysdeps/linux/i386/crt0.S | 13 ------------- libc/sysdeps/linux/i386/crt0.c | 6 ------ 2 files changed, 19 deletions(-) (limited to 'libc/sysdeps/linux/i386') diff --git a/libc/sysdeps/linux/i386/crt0.S b/libc/sysdeps/linux/i386/crt0.S index ff5a100d5..9e2c101e5 100644 --- a/libc/sysdeps/linux/i386/crt0.S +++ b/libc/sysdeps/linux/i386/crt0.S @@ -77,16 +77,3 @@ _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 - diff --git a/libc/sysdeps/linux/i386/crt0.c b/libc/sysdeps/linux/i386/crt0.c index 02805fdde..6e39caa7c 100644 --- a/libc/sysdeps/linux/i386/crt0.c +++ b/libc/sysdeps/linux/i386/crt0.c @@ -21,12 +21,6 @@ extern void __uClibc_main(int argc,void *argv,void *envp); -/* a little bit of stuff to support C++ */ -__asm__(".section .ctors,\"aw\"\n.align 4\n.global __CTOR_LIST__\n" - "__CTOR_LIST__:\n.long -1\n"); - -__asm__(".section .dtors,\"aw\"\n.align 4\n.global __DTOR_LIST__\n" - "__DTOR_LIST__:\n.long -1\n"); void _start(unsigned int first_arg) { -- cgit v1.2.3