bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19871] description of --pie, --pic-executable options contains w


From: britton.kerin at gmail dot com
Subject: [Bug ld/19871] description of --pie, --pic-executable options contains wrong-looking statement
Date: Sun, 27 Mar 2016 20:32:06 +0000

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

Britton Kerin <britton.kerin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Britton Kerin <britton.kerin at gmail dot com> ---

I haven't tried to use malloc overlay or the like before so I don't know
exactly how it normally works.  Sounds like it only ever works for functions in
shared libraries.  It But I'm not totally ignorant either, so probably count as
a reasonable target for the documentation.

Is it like this:

"normal dynamically linked executables"
  * symbols cannot be preempted

"-pie executables
  * symbols cannot be preempted

If so, I guess the mention of the two particular respects in which -pie
executables are like non-pie ones are included because people might think it
ends up like a -fPIC library in which preload etc. can work?  But if this is
the case why mention "they can be executed" at all?  Surely that goes without
saying when creating an executable? 

This description needs improvement somehow, it's not clear as it is if you
don't already know what's going on.

-- 
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]