From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129587 invoked by alias); 16 Jun 2015 20:27:19 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 129577 invoked by uid 89); 16 Jun 2015 20:27:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f170.google.com Received: from mail-qk0-f170.google.com (HELO mail-qk0-f170.google.com) (209.85.220.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 16 Jun 2015 20:27:18 +0000 Received: by qkfe185 with SMTP id e185so15325526qkf.3 for ; Tue, 16 Jun 2015 13:27:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XubAYOOAsBm3vgR7K4+22WPivUj6BJ4kKxdk1SPdDkk=; b=PRuhDepZ/te9F7hj7S3hLq9tWidamRO1hU9XhGk1qIvG6T/s7uJegcaMmkZ72QhG4H qCdEodcFarDML1tTkKea2+TZhXYxfb0cjgNY5kB2MMUIVKykpyDoIcDSquylIGDK+PMl lW7VxbcyFYodps3HFdoTThmxwJRpSzNo3KHHMe1TYCT4zlVO9mUC6V01kS4/cdD9Pahf G5CFRqOh0EpFalBCw/86LUfEbpa33DaXJ7f7Fum8WsW9pWFqj9mu4JyReJgUZQTo4vLs 6ep1mZXADM+nVfuGRrFzsGy7lVUKxDRcyNXDgh3lyF2m3P6stjkx9fCcClPeoo9NioW1 Z05A== X-Gm-Message-State: ALoCoQlGmAN2+XB6sNMYm1yV30bgesnwfkmJNGwZfS/36i0gktb4OqJvFWZTyOrEpmVytexVJaBx MIME-Version: 1.0 X-Received: by 10.140.231.19 with SMTP id b19mr3381501qhc.22.1434486436002; Tue, 16 Jun 2015 13:27:16 -0700 (PDT) Received: by 10.140.101.67 with HTTP; Tue, 16 Jun 2015 13:27:15 -0700 (PDT) In-Reply-To: <20150616084626.GA31077@arm.com> References: <20150602094230.GA4502@arm.com> <556D87A5.8020808@arm.com> <20150602104509.GA30419@arm.com> <20150616084626.GA31077@arm.com> Date: Tue, 16 Jun 2015 21:05:00 -0000 Message-ID: Subject: Re: [PATCH, AARCH64] make stdarg functions work with +nofp From: Jim Wilson To: James Greenhalgh Cc: Kyrylo Tkachov , "gcc-patches@gcc.gnu.org" , Alan Lawrence Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-06/txt/msg01166.txt.bz2 On Tue, Jun 16, 2015 at 1:46 AM, James Greenhalgh wrote: > I'm happy for this to be backported. Thanks. Applied. > I think Grub probably wants to change if they want to be safe, from > what I've read it looks like they are hoping to use something like a > standard printf without touching the FP registers, which is suspect... Grub has its own printf code, as it can't use glibc, and the grub_printf function doesn't support FP format codes. So this should not be a problem for grub. FYI In the git tree, grub changed from using +nofp to -mgeneral-regs-only on June 2, because the kernel uses -mgeneral-regs-only, and because +nofp was broken in gcc-5-branch. But we still needed the patch backported for people who could not or didn't want to upgrade grub. Jim