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: [patch] Reduce ridiculous stack use in _dl_map_object_deps


On Sun, Oct 30, 2011 at 6:35 AM, Marek Polacek <mpolacek@redhat.com> wrote:

> Couldn't we perhaps use extend_alloca here? ?But I didn't really try.

Thanks for your comments. I updated the patch, and discovered that
extend_alloca is currently broken on Linux/x86 due to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50938


-- 
Paul Pluzhnikov


2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
	stack usage.

Attachment: glibc-excessive-stack-20111031.txt
Description: Text document


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