This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, AARCH64] make stdarg functions work with +nofp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]