This is the mail archive of the glibc-bugs@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]

[Bug dynamic-link/16585] dlsym() shouldn't be declared as leaf


https://sourceware.org/bugzilla/show_bug.cgi?id=16585

--- Comment #5 from Jakub Jelinek <jakub at redhat dot com> ---
Note, even malloc itself is leaf, both as gcc builtin and in glibc headers, and
for generating good code it is very much desirable to keep it as is.

Sure, it makes it harder to malloc abuses like this, but only very few packages
actually do that, and simply have to be prepared to do extra work so that the
common case can generate better code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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