bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/17369] The PF_X bit is set on PT_PHDR segment


From: nickc at redhat dot com
Subject: [Bug ld/17369] The PF_X bit is set on PT_PHDR segment
Date: Wed, 17 Sep 2014 11:29:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17369

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi H.J.

  Apparently this is for compatibility with UnixWare and Solaris.  See
bfd/elf.c:3849:

      /* FIXME: UnixWare and Solaris set PF_X, Irix 5 does not.  */
      m->p_flags = PF_R | PF_X;

Is the execute bit causing you problems ?  The ELF standard does not forbid it,
so unless there is an actual issue that needs fixing I do not see any reason to
change the current behaviour.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]