summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-07 18:07:40 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-07 18:07:40 +0000
commitd63b6766dbd3ca3c713a3f142b09e750af067dc2 (patch)
tree6602153e02ebd3adcc9500875bffff824c88be52 /libc/sysdeps/linux/arm
parent332e87b2d9198f4518b762782a30ed94000adf68 (diff)
_void_void_null_func never returned. I noticed this yesterday
in crt0.S and Michiel Thuys <michiel.thuys@intersil.com> noticed the same thing in crt0pic.S. -Erik
Diffstat (limited to 'libc/sysdeps/linux/arm')
-rw-r--r--libc/sysdeps/linux/arm/crt0.S2
-rw-r--r--libc/sysdeps/linux/arm/crt0pic.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/crt0.S b/libc/sysdeps/linux/arm/crt0.S
index 49d4bedfe..72a45a29f 100644
--- a/libc/sysdeps/linux/arm/crt0.S
+++ b/libc/sysdeps/linux/arm/crt0.S
@@ -80,7 +80,7 @@ _start:
bl exit
_void_void_null_func:
- nop
+ mov pc, lr
.weak __libc_init
__libc_init = _void_void_null_func
diff --git a/libc/sysdeps/linux/arm/crt0pic.S b/libc/sysdeps/linux/arm/crt0pic.S
index 21665a4bb..a668ac31f 100644
--- a/libc/sysdeps/linux/arm/crt0pic.S
+++ b/libc/sysdeps/linux/arm/crt0pic.S
@@ -48,7 +48,7 @@ _start:
bl exit
_void_void_null_func:
- nop
+ mov pc, lr
.weak __libc_init
__libc_init = _void_void_null_func