This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH] New configure option "--disable-ifunc"
- From: Richard Henderson <rth at twiddle dot net>
- To: Maria Guseva <m dot guseva at samsung dot com>, libc-alpha at sourceware dot org
- Cc: roland at hack dot frob dot com, 'Yury Gribov' <y dot gribov at samsung dot com>
- Date: Wed, 13 May 2015 10:07:12 -0700
- Subject: Re: [RFC][PATCH] New configure option "--disable-ifunc"
- Authentication-results: sourceware.org; auth=none
- References: <"013e01d08d9a$80b32b10$82198130$ at guseva"@samsung.com>
On 05/13/2015 09:33 AM, Maria Guseva wrote:
> As I understood it was done in order to guarantee
> the tail call in non-IFUNC case. Are there any reasons for this except
> performance?
Yes. If the return address for vfork is on the stack, it'll be corrupted and
the program will crash.
r~