This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/15128] dynamic loader may clobber floating-point parameters on AArch64
- From: "mikpe at it dot uu.se" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 11 Feb 2013 15:12:52 +0000
- Subject: [Bug dynamic-link/15128] dynamic loader may clobber floating-point parameters on AArch64
- Auto-submitted: auto-generated
- References: <bug-15128-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15128
--- Comment #5 from Mikael Pettersson <mikpe at it dot uu.se> 2013-02-11 15:12:52 UTC ---
I see code for preserving vector registers in
ports/sysdeps/aarch64/dl-tlsdesc.S, but no such code in
ports/sysdeps/aarch64/dl-trampoline.S (_dl_runtime_resolve), which is where the
execution transitions from the PLT to the dynamic loader's C code.
A few archs preserve FP/SIMD registers in their _dl_runtime_resolve (SH, Alpha,
HPPA, IA64), but most don't. Extending aarch64's _dl_runtime_resolve to
preserve FP/SIMD argument registers should also fix this bug.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.