For a litttle more understanding do:
    elfdump unix | less
this is 32 bit DEBUG unix, 64 bit is similar.
non DEBUG has smaller sizes.

...
Program Header[0]:
    p_vaddr:      0xc00000    p_flags:    [ PF_X PF_W PF_R ]
    p_paddr:      0xc00000    p_type:     [ PT_LOAD ]
    p_filesz:     0xd994      p_memsz:    0xd994
    p_offset:     0xf4        p_align:    0


(this is the self contained "dboot" program - linked to load and
run at the same address (see p_paddr and p_vaddr)

Program Header[1]:
    p_vaddr:      0xfe800000  p_flags:    [ PF_X PF_R ]
    p_paddr:      0x400000    p_type:     [ PT_LOAD ]
    p_filesz:     0xabc38     p_memsz:    0xabc38
    p_offset:     0xdaa0      p_align:    0

(the rest of kernel text - linked to run at a high virtual address, but
loads low, followed below by kernel data)

Program Header[2]:
    p_vaddr:      0xfec00000  p_flags:    [ PF_X PF_W PF_R ]
    p_paddr:      0x800000    p_type:     [ PT_LOAD ]
    p_filesz:     0x9e23      p_memsz:    0x45bcc
    p_offset:     0xb9700     p_align:    0
...
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to