Regarding GOT table in PIC code
Chethan Palakshamurthy
pchethan@gmail.com
Tue Jan 10 17:36:00 GMT 2012
>> 1. Does the dynamic linker map the physical pages for .data segments
>> such that GOT is at a fixed offset from code in logical address space?
>> is this true?
>
>Yes, it has to do this or it wouldn't be possible to find the GOT.
So, this method of paging is what makes it possible to share code
pages across processes? Several sources online(/books) mention that
PIC is the one which make code sharing across processes possible.
- Chethan
More information about the Gcc-help
mailing list