Re: how to unmap first 64k for a.out ?

Eric Youngdale (eric@sub2317.jic.com)
Mon, 23 Sep 1996 21:24:12 -0400


>is there a way to build an a.out binary which has all the first 64k
>unmapped and not only the first page (4k) ?

Not with a.out. There isn't sufficient information in the a.out
header to specify a different load address (from linux/a.out.h):

>/* Address of text segment in memory after it is loaded. */
>#if !defined (N_TXTADDR)
>#define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0)
>#endif

-Eric