27 Sep
2016
27 Sep
'16
15:10
On Mon, Sep 26, 2016 at 4:54 AM, Andreas Schwab
On Sep 23 2016, Cristian Rodríguez
wrote: "file" now needs to differentiate between a PIE and a shared library.. according to the interwebs.. the only way is looking for the .interp section in the executable. (that sounds fragile though)
A shared library can validly have an interpreter.
So, there seems to be no way to differentiate between them.. DT_SONAME may also be set on executables (but will be ignored) maybe the compiler or linker could add some metadata to ease identification.. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org