summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc
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/powerpc
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/powerpc')
-rw-r--r--libc/sysdeps/linux/powerpc/crt0.S13
-rw-r--r--libc/sysdeps/linux/powerpc/crt0.c13
2 files changed, 0 insertions, 26 deletions
diff --git a/libc/sysdeps/linux/powerpc/crt0.S b/libc/sysdeps/linux/powerpc/crt0.S
index 9866b20e9..ea71667d3 100644
--- a/libc/sysdeps/linux/powerpc/crt0.S
+++ b/libc/sysdeps/linux/powerpc/crt0.S
@@ -55,16 +55,3 @@ _start:
bl __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/powerpc/crt0.c b/libc/sysdeps/linux/powerpc/crt0.c
index cf1c94af4..a2615b02a 100644
--- a/libc/sysdeps/linux/powerpc/crt0.c
+++ b/libc/sysdeps/linux/powerpc/crt0.c
@@ -36,19 +36,6 @@ asm(
");
-/* a little bit of stuff to support C++ */
-asm(
- "\t.section .ctors,\"aw\"\n"
- "\t.align 4\n"
- "\t.global __CTOR_LIST__\n"
- "__CTOR_LIST__:\n"
- "\t.long -1\n"
- "\t.section .dtors,\"aw\"\n"
- "\t.align 4\n"
- "\t.global __DTOR_LIST__\n"
- "__DTOR_LIST__:\n"
- "\t.long -1\n"
- );
void __uClibc_main(int argc,void *argv,void *envp);