* Re: first readable address
@ 1998-01-15 19:11 dragisha
0 siblings, 0 replies; 3+ messages in thread
From: dragisha @ 1998-01-15 19:11 UTC (permalink / raw)
rth@dot.cygnus.com (Richard Henderson) wrote:
: On Wed, Jan 14, 1998 at 03:33:29AM +0100, Dragisa Duric wrote:
: > What is <insert subject here> on Linux/Alpha? :) Is that CPU or OS
: > dependent? Is it 0x400000?
: By this what do you mean? The start of the data segment?
: Yes, it is both cpu and os dependant. On Linux/Alpha:
3:33 AM question :). Answer was in one of source files, ie jsut enough of
answer. Zero will do for the moment.
: char __data_start[];
Hmm, this is C library variable, and I expect some constant.
This First_readable_address have something with NIL pointer checking. IE,
it is lowest possible valid pointer for process address space. Well, after I
slept few hours, I remembered that old "mappings" perl script from Jeremy
Fitzhardinge, and here is result of running it on init process (frodo is
Linux/Intel and alpha is Linux/Alpha)
frodo:dragisha/p2: ~# mappings 1
Rebuilding /tmp/prmap_db
8048000 5000 r-xp 0 /sbin/init
804d000 1000 rw-p 4000 /sbin/init
804e000 1000 rwxp 0
40000000 5000 rwxp 0 /lib/ld-linux.so.1.7.14
40005000 1000 rw-p 4000 /lib/ld-linux.so.1.7.14
40006000 1000 rw-p 0
4000b000 93000 r-xp 0 /lib/libc.so.5.3.12
4009e000 6000 rw-p 92000 /lib/libc.so.5.3.12
400a4000 32000 rw-p 0
bfffd000 3000 rwxp ffffe000
alpha:dragisha/p3: ~# mappings 1
1fffe000 2000 rwxp 0
20000000 42000 r-xp 0 /sbin/init
20140000 6000 rw-p 40000 /sbin/init
20146000 6000 rwxp 0
It looks like every proces has same lowest address in this output. Do I
translate this correctly to "valid pointers are not less than 0x1fffe000 on
Linux/Alpha and not less than 0x8048000 on Linux/Intel"?
: r~
dragisha
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <Pine.LNX.3.95.980114032755.29479A-100000@frodo.ho.com>]
* first readable address
@ 1998-01-14 2:33 Dragisa Duric
0 siblings, 0 replies; 3+ messages in thread
From: Dragisa Duric @ 1998-01-14 2:33 UTC (permalink / raw)
Looking around one port, I got few questions. I hope people here will
answer them in far less than I searching through Digital's and Linux
documents. :)
What is <insert subject here> on Linux/Alpha? :) Is that CPU or OS
dependent? Is it 0x400000?
Thanks,
dd
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-01-15 19:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-15 19:11 first readable address dragisha
[not found] <Pine.LNX.3.95.980114032755.29479A-100000@frodo.ho.com>
1998-01-14 21:21 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1998-01-14 2:33 Dragisa Duric
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox