machdep_start has to do esym mucking...
authorweingart <weingart@openbsd.org>
Fri, 11 Apr 1997 19:17:03 +0000 (19:17 +0000)
committerweingart <weingart@openbsd.org>
Fri, 11 Apr 1997 19:17:03 +0000 (19:17 +0000)
sys/lib/libsa/exec.c

index de7a0f6..6b02d9f 100644 (file)
@@ -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;