This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: weird ro mapping generate by ld-linux.so


Mathieu Lacage <mathieu.lacage-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
writes:

> now, if I look at the second RW PT_LOAD mapping described in the elf
> file, its p_vaddr is 0x00000030cf483db8. Since the base address is
> zero, I should find the corresponding data in memory at the same
> address but the memory mappings generated by the dynamic loader is RO
> at this address (the third mapping).

That's the relro stuff, look for a GNU_RELRO program header.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]