This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10383] New: Insufficient stack allocation in _dl_runtime_resolve
- From: "hjl dot tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 10 Jul 2009 22:51:32 -0000
- Subject: [Bug libc/10383] New: Insufficient stack allocation in _dl_runtime_resolve
- Reply-to: sourceware-bugzilla at sourceware dot org
sysdeps/ia64/dl-trampoline.S has
/* Used to save and restore 8 incoming fp registers */
#define RESOLVE_FRAME_SIZE (16*8)
ENTRY(_dl_runtime_resolve)
{ .mmi
.prologue
.save ar.pfs, r40
alloc loc0 = ar.pfs, 8, 6, 2, 0
/* Use the 16 byte scratch area. r2 will start at f8 and
r3 will start at f9. */
adds r2 = -(RESOLVE_FRAME_SIZE - 16), r12
adds r3 = -(RESOLVE_FRAME_SIZE - 32), r12
}
{ .mii
.fframe RESOLVE_FRAME_SIZE
adds r12 = -RESOLVE_FRAME_SIZE, r12
But we never allocate 16byte scratch area. Shouldn't we increase
RESOLVE_FRAME_SIZE by 16byte?
--
Summary: Insufficient stack allocation in _dl_runtime_resolve
Product: glibc
Version: 2.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: hjl dot tools at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
GCC target triplet: ia64-*-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=10383
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.