diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-10-14 22:11:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-10-14 22:11:20 +0000 |
commit | 1c48bb0e98d10d4f42a8bbc2785e155386594988 (patch) | |
tree | 8f71a0ed9fc02d9f6ef766e78eaf85f1d951bc82 /lib/csu/arm | |
parent | 732ad632e5e4e8803286a4c23b1d93fbff69ef21 (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.h | 4 |
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" \ |