summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/arm/crt0.S14
-rw-r--r--libc/sysdeps/linux/h8300/crt0.S14
-rw-r--r--libc/sysdeps/linux/i386/crt0.S13
-rw-r--r--libc/sysdeps/linux/i386/crt0.c6
-rw-r--r--libc/sysdeps/linux/m68k/crt0.S15
-rw-r--r--libc/sysdeps/linux/m68k/crt0.c6
-rw-r--r--libc/sysdeps/linux/mips/crt0.S14
-rw-r--r--libc/sysdeps/linux/powerpc/crt0.S13
-rw-r--r--libc/sysdeps/linux/powerpc/crt0.c13
-rw-r--r--libc/sysdeps/linux/sparc/crt0.c6
10 files changed, 0 insertions, 114 deletions
diff --git a/libc/sysdeps/linux/arm/crt0.S b/libc/sysdeps/linux/arm/crt0.S
index de7ef7848..0d4031eaf 100644
--- a/libc/sysdeps/linux/arm/crt0.S
+++ b/libc/sysdeps/linux/arm/crt0.S
@@ -92,17 +92,3 @@ _start:
/* Ok, now run uClibc's main() -- shouldn't return */
bl __uClibc_main
-#if 0 /* this is already provided by crtbegin/crtend in the arm-elf compiler */
-/* 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
-#endif
diff --git a/libc/sysdeps/linux/h8300/crt0.S b/libc/sysdeps/linux/h8300/crt0.S
index 8aa64bfee..f51614571 100644
--- a/libc/sysdeps/linux/h8300/crt0.S
+++ b/libc/sysdeps/linux/h8300/crt0.S
@@ -53,17 +53,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/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)
{
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)
{
diff --git a/libc/sysdeps/linux/mips/crt0.S b/libc/sysdeps/linux/mips/crt0.S
index a23a012ad..000c2901a 100644
--- a/libc/sysdeps/linux/mips/crt0.S
+++ b/libc/sysdeps/linux/mips/crt0.S
@@ -34,17 +34,3 @@ __start:
jal __uClibc_main
hlt: b hlt /* Crash if somehow it does return. */
-#if 0 /* this should be provided by crtbegin/crtend in the compiler */
-/* 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
-#endif
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);
diff --git a/libc/sysdeps/linux/sparc/crt0.c b/libc/sysdeps/linux/sparc/crt0.c
index 02805fdde..6e39caa7c 100644
--- a/libc/sysdeps/linux/sparc/crt0.c
+++ b/libc/sysdeps/linux/sparc/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)
{