------- Additional Comments From hjl dot tools at gmail dot com  2009-10-07 
22:45 -------
The reasons ia64 kernel does are

1. EPC segment has to be marked PF_X without PF_R.
2. We can only have one PT_LOAD segment in vDSO.

ia64 kernel uses

PHDRS
{
  readable PT_LOAD FILEHDR PHDRS FLAGS(4); /* PF_R */
  epc PT_LOAD FILEHDR PHDRS FLAGS FLAGS(1); /* PF_X */
  dynamic PT_DYNAMIC FLAGS(4); /* PF_R */
  unwind 0x70000001; /* PT_IA_64_UNWIND, but ld doesn't match the name */
}

so that ld.so can treat readable and epc segments as a single
segment with data and text. ld.so can map a single segment with
data and text parts.




-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


http://sourceware.org/bugzilla/show_bug.cgi?id=10744

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to