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/aarch64 | |
parent | 732ad632e5e4e8803286a4c23b1d93fbff69ef21 (diff) |
use symbolic SYS_exit instead of the value 1
ok kettenis
Diffstat (limited to 'lib/csu/aarch64')
-rw-r--r-- | lib/csu/aarch64/md_init.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/aarch64/md_init.h b/lib/csu/aarch64/md_init.h index 36f475682b4..aa015293f10 100644 --- a/lib/csu/aarch64/md_init.h +++ b/lib/csu/aarch64/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.7 2020/02/18 12:19:11 kettenis Exp $ */ +/* $OpenBSD: md_init.h,v 1.8 2020/10/14 22:11:19 deraadt Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -111,7 +111,7 @@ " b ___start \n" \ " \n" \ "_dl_exit: \n" \ - " mov x8, #1 \n" \ + " mov x8, #" STR(SYS_exit) " \n" \ " svc #0 \n" \ " dsb nsh \n" \ " isb \n" \ |