summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-06 03:15:24 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-06 03:15:24 +0000
commitb13b8b45333514fd2402611b18a00c4a4cc26122 (patch)
treedaa902f8bfee37393772c3c4868a824dc24d2983 /libc/sysdeps
parentad6612eb8e130cf4b43824917809e1fb2f253f42 (diff)
kill _dummy symbol
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/bfin/crti.S25
-rw-r--r--libc/sysdeps/linux/bfin/crtn.S19
2 files changed, 6 insertions, 38 deletions
diff --git a/libc/sysdeps/linux/bfin/crti.S b/libc/sysdeps/linux/bfin/crti.S
index 36897973e..56b268a28 100644
--- a/libc/sysdeps/linux/bfin/crti.S
+++ b/libc/sysdeps/linux/bfin/crti.S
@@ -1,30 +1,17 @@
-.file "initfini.c";
.section .init
.section .fini
.text;
.align 2
-.global _dummy;
-.type _dummy, STT_FUNC;
-_dummy:
- P2 = R0;
- LINK 0;
- SP += -12;
- cc =P2==0;
- if cc jump L$L$1;
- SP += 12;
- UNLINK;
- jump (P2);
-L$L$1:
- SP += 12;
- UNLINK;
- rts;
- .size _dummy, .-_dummy
-.align 2
.global __init;
.type __init, STT_FUNC;
__init:
LINK 0;
SP += -12;
- .align 2
+.align 2
+.global __fini;
+.type __fini, STT_FUNC;
+__fini:
+ LINK 0;
+ SP += -12;
diff --git a/libc/sysdeps/linux/bfin/crtn.S b/libc/sysdeps/linux/bfin/crtn.S
index 4f15aec50..11ba9420d 100644
--- a/libc/sysdeps/linux/bfin/crtn.S
+++ b/libc/sysdeps/linux/bfin/crtn.S
@@ -1,26 +1,8 @@
-.file "initfini.c";
.section .init
.section .fini
.text;
.align 2
-.global _dummy;
-.type _dummy, STT_FUNC;
-_dummy:
- P2 = R0;
- LINK 0;
- SP += -12;
- cc =P2==0;
- if cc jump L$L$1;
- SP += 12;
- UNLINK;
- jump (P2);
-L$L$1:
- SP += 12;
- UNLINK;
- rts;
- .size _dummy, .-_dummy
-.align 2
.global __init;
.type __init, STT_FUNC;
SP += 12;
@@ -34,4 +16,3 @@ L$L$1:
UNLINK;
rts;
.size __fini, .-__fini
- .ident "GCC: (GNU) 3.4.1"