summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-16 15:13:11 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-16 15:13:11 +0000
commita222ff0b49ccfc61b52579dfe33629782845baad (patch)
tree9b86eb0ad13dabc190888821169fc6ba9761a1e5 /libc/sysdeps/linux/m68k
parent02c6dba4f35e12d6909474dca3cb757d52dd8557 (diff)
Remove the C++ support stubs, since these now live elsewhere and
these stubs were preventing the real stuff from working properly. -Erik
Diffstat (limited to 'libc/sysdeps/linux/m68k')
-rw-r--r--libc/sysdeps/linux/m68k/crt0.S15
-rw-r--r--libc/sysdeps/linux/m68k/crt0.c6
2 files changed, 0 insertions, 21 deletions
diff --git a/libc/sysdeps/linux/m68k/crt0.S b/libc/sysdeps/linux/m68k/crt0.S
index 04aae1466..78f3ca8a9 100644
--- a/libc/sysdeps/linux/m68k/crt0.S
+++ b/libc/sysdeps/linux/m68k/crt0.S
@@ -60,18 +60,3 @@ empty_func:
.set atexit,empty_func
#endif
-/*
- * 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/m68k/crt0.c b/libc/sysdeps/linux/m68k/crt0.c
index 3b6b2279b..0af108f1e 100644
--- a/libc/sysdeps/linux/m68k/crt0.c
+++ b/libc/sysdeps/linux/m68k/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)
{