[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: So will this run or not :-)
From:       "John S. Dyson" <toor () dyson ! iquest ! net>
Date:       1996-07-27 16:14:09
[Download RAW message or body]

> As Ron G. Minnich wrote:
> 
> > I have a file which needs to have text at a fairly high place. So i do:
> 
> Why?
> 
> > p0 24% make 
> > cc -o zclient -T 100000 zclient.o ../lib/libzounds.a
> 
> This is certainly wrong.  The -T option is a `special purpose' one,
> and i think only used to link the kernel by now.
> 
> The exact mapping of the text and data segment is a matter of the
> kernel (imgact_aout.c, i suppose), and nothing you can simply change
> by relinking the binary to another address.
> 
I was just looking at the a.out format, and there appears to be
no explicit indication of where the a.out is mapped.  If there
was (perhaps like in ELF) we could accomodate it.  So, it appears
that the a.out format simply doesn't/can't tell us (except
by magic number.)

John

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic