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/i386/md_init.h | |
parent | 732ad632e5e4e8803286a4c23b1d93fbff69ef21 (diff) |
use symbolic SYS_exit instead of the value 1
ok kettenis
Diffstat (limited to 'lib/csu/i386/md_init.h')
-rw-r--r-- | lib/csu/i386/md_init.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/i386/md_init.h b/lib/csu/i386/md_init.h index 54f03662df7..6f286ea8fc7 100644 --- a/lib/csu/i386/md_init.h +++ b/lib/csu/i386/md_init.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md_init.h,v 1.9 2017/08/11 20:13:31 guenther Exp $ */ +/* $OpenBSD: md_init.h,v 1.10 2020/10/14 22:11:19 deraadt Exp $ */ /*- * Copyright (c) 2001 Ross Harvey @@ -122,7 +122,7 @@ " .globl _dl_exit \n" \ " .type _dl_exit,@function \n" \ "_dl_exit: \n" \ - " mov $1, %eax \n" \ + " mov $" STR(SYS_exit) ", %eax\n" \ " int $0x80 \n" \ " ret \n" \ " .previous") |