This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, AARCH64] make stdarg functions work with +nofp
- From: Jim Wilson <jim dot wilson at linaro dot org>
- To: James Greenhalgh <james dot greenhalgh at arm dot com>
- Cc: Kyrylo Tkachov <Kyrylo dot Tkachov at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Alan Lawrence <Alan dot Lawrence at arm dot com>
- Date: Tue, 16 Jun 2015 13:27:15 -0700
- Subject: Re: [PATCH, AARCH64] make stdarg functions work with +nofp
- Authentication-results: sourceware.org; auth=none
- References: <CABXYE2V+SwMbT5EsYM6hD0ENjwAhsZKAPTLvDuLxCNX9GAhLvg at mail dot gmail dot com> <20150602094230 dot GA4502 at arm dot com> <556D87A5 dot 8020808 at arm dot com> <20150602104509 dot GA30419 at arm dot com> <CABXYE2Wi9y=WS9PLA23HvL7P==H_X89DOQYWWDeHRd_9jYb3+w at mail dot gmail dot com> <20150616084626 dot GA31077 at arm dot com>
On Tue, Jun 16, 2015 at 1:46 AM, James Greenhalgh
<james.greenhalgh@arm.com> 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