From e7afde4a091f3a03ee4e43f214c4337956af4ebc Mon Sep 17 00:00:00 2001 From: weingart Date: Fri, 11 Apr 1997 19:17:03 +0000 Subject: [PATCH] machdep_start has to do esym mucking... --- sys/lib/libsa/exec.c | 7 ++----- 1 file 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; -- 2.20.1