summaryrefslogtreecommitdiff
path: root/sys/lib/libsa
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-04-11 19:17:04 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-04-11 19:17:04 +0000
commitc445189844806eb7285eeb55a7b3502641606620 (patch)
tree71776429fa3b748fc4a4e1980550ac31798f55a9 /sys/lib/libsa
parent3b5f0795759d42a1e1d724534c2642e440a8fb96 (diff)
machdep_start has to do esym mucking...
Diffstat (limited to 'sys/lib/libsa')
-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;