>>> On 18.02.11 at 18:53, "H.J. Lu" <hjl.to...@gmail.com> wrote: > How about only allowing REL relocations in executables and DSOes?
That'd be at least part of it, but I'd still prefer not forbidding them altogether, but also not requiring an implementation to support them (just to repeat it - in a long abandoned new OS of ours we had ignored the forbidding, and allowed REL in relocatable objects [which were the only objects used there, the loadable ones distinguished from "normal" ones by the presence of some OS- specific data structures], with the static linker picking the type depending on the module's needs). Jan