summaryrefslogtreecommitdiff
path: root/lib/csu/arm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-10-14 22:11:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-10-14 22:11:20 +0000
commit1c48bb0e98d10d4f42a8bbc2785e155386594988 (patch)
tree8f71a0ed9fc02d9f6ef766e78eaf85f1d951bc82 /lib/csu/arm
parent732ad632e5e4e8803286a4c23b1d93fbff69ef21 (diff)
use symbolic SYS_exit instead of the value 1
ok kettenis
Diffstat (limited to 'lib/csu/arm')
-rw-r--r--lib/csu/arm/md_init.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/arm/md_init.h b/lib/csu/arm/md_init.h
index 283b5e3baf8..c8026dfde56 100644
--- a/lib/csu/arm/md_init.h
+++ b/lib/csu/arm/md_init.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: md_init.h,v 1.14 2020/03/13 09:31:26 deraadt Exp $ */
+/* $OpenBSD: md_init.h,v 1.15 2020/10/14 22:11:19 deraadt Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@@ -155,7 +155,7 @@
" .long _DYNAMIC(GOTOFF) \n" \
" \n" \
"_dl_exit: \n" \
- " mov r12, #1 \n" \
+ " mov r12, #" STR(SYS_exit) " \n" \
" swi #0 \n" \
" dsb nsh \n" \
" isb \n" \