summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-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