This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Alternative libio vtable hardening approach


On 06/03/2016 03:18 PM, Florian Weimer wrote:

> I've got it working, except for the static dlopen case (which is an
> unrelated problem).

Sounds great!

> The tricky bit was realizing that ld has a special rule (not reflected
> in the default linker script) that orphan sections receive those
> automatically generated __start_ and __stop_ symbols.  This wasn't clear
> to me at all (although it is documented), and I found it only after
> reading the ld source code.
> 

Sorry, I didn't think to call that out explicitly, but I should have.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]