OSDN Git Service

_void_void_null_func never returned. I noticed this yesterday
authorEric Andersen <andersen@codepoet.org>
Wed, 7 Feb 2001 18:07:40 +0000 (18:07 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 7 Feb 2001 18:07:40 +0000 (18:07 -0000)
in crt0.S and Michiel Thuys <michiel.thuys@intersil.com> noticed
the same thing in crt0pic.S.
 -Erik

libc/sysdeps/linux/arm/crt0.S
libc/sysdeps/linux/arm/crt0pic.S

index 49d4bed..72a45a2 100644 (file)
@@ -80,7 +80,7 @@ _start:
        bl      exit
 
 _void_void_null_func:
-       nop
+       mov     pc, lr
 
 .weak __libc_init
 __libc_init = _void_void_null_func
index 21665a4..a668ac3 100644 (file)
@@ -48,7 +48,7 @@ _start:
        bl      exit
 
 _void_void_null_func:
-       nop
+       mov     pc, lr
 
 .weak __libc_init
 __libc_init = _void_void_null_func