summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/exec.c
diff options
context:
space:
mode:
authorweingart <weingart@openbsd.org>1997-04-11 19:17:03 +0000
committerweingart <weingart@openbsd.org>1997-04-11 19:17:03 +0000
commite7afde4a091f3a03ee4e43f214c4337956af4ebc (patch)
treec21abf46e19cd0a503546a78accea1c8856fa523 /sys/lib/libsa/exec.c
parentWorks with .gz kernels now (diff)
downloadwireguard-openbsd-e7afde4a091f3a03ee4e43f214c4337956af4ebc.tar.xz
wireguard-openbsd-e7afde4a091f3a03ee4e43f214c4337956af4ebc.zip
machdep_start has to do esym mucking...
Diffstat (limited to 'sys/lib/libsa/exec.c')
-rw-r--r--sys/lib/libsa/exec.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/lib/libsa/exec.c b/sys/lib/libsa/exec.c
index de7a0f6da73..6b02d9f5657 100644
--- a/sys/lib/libsa/exec.c
+++ b/sys/lib/libsa/exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.c,v 1.16 1997/03/31 07:43:25 deraadt Exp $ */
+/* $OpenBSD: exec.c,v 1.17 1997/04/11 19:17:03 weingart Exp $ */
/* $NetBSD: exec.c,v 1.15 1996/10/13 02:29:01 christos Exp $ */
/*-
@@ -150,10 +150,7 @@ exec(path, loadaddr, howto)
/* and that many bytes of string table */
printf("+%d]", i);
-
-#define round_to_size(x) (((int)(x) + sizeof(int) - 1) & ~(sizeof(int) - 1))
- esym = (char *)round_to_size(addr - (char *)loadaddr);
-#undef round_to_size
+ esym = addr;
} else {
ssym = 0;
esym = 0;