Re: ELF p_offset & p_vaddr

2001-06-08 Thread John Polstra
In article <[EMAIL PROTECTED]>, milunovic <[EMAIL PROTECTED]> wrote: > > I'm little confused.I'm reading ELF specification and I found that > p_offset and p_vaddr should be congrunet to module PAGE_SIZE. > So is this correct ? If it isn't can anybody tell me what is correct. It is correct. It

ELF p_offset & p_vaddr

2001-06-08 Thread milunovic
-BEGIN PGP SIGNED MESSAGE- I'm little confused.I'm reading ELF specification and I found that p_offset and p_vaddr should be congrunet to module PAGE_SIZE. So is this correct ? If it isn't can anybody tell me what is correct. #define PAGE_SIZE 4096 p_offset % PAGE_SIZE == p_vaddr % PAGE_