From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6429 invoked by alias); 25 Feb 2013 08:06:34 -0000 Received: (qmail 6301 invoked by uid 48); 25 Feb 2013 08:05:58 -0000 From: "aj at suse dot de" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/15128] dynamic loader may clobber floating-point parameters on AArch64 Date: Mon, 25 Feb 2013 08:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aj at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00138.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15128 Andreas Jaeger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj at suse dot de --- Comment #10 from Andreas Jaeger 2013-02-25 08:05:56 UTC --- (In reply to comment #9) > Created attachment 6891 [details] > testcase with ifunc that fails on x86-64 > > This problem is not limited to AArch64. Attached is a testcase that fails on > x86-64 (and probably other arches as well). In this case, an IFUNC resolver > function clobbers xmm0, which is not saved/restored in _dl_runtime_resolve. Yes, the problem occurs there as well if you use directly floating point instructions in the IFUNC resolver, e.g. via: volatile float c = foo_impl(42); And the question here is what is allowed to be done in the resolver - right now the implicit requirement is: No Floating point. Before we go down on AARCH64 with the patch to preserver fp/simd arguments, let's discuss this on libc-alpha, we should handle this the same on all architectures. -- 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.