This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] X86-64: Add -mskip-rax-setup
- From: "H. Peter Anvin" <hpa at zytor dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Rasmus Villemoes <linux at rasmusvillemoes dot dk>, "x86 at kernel dot org" <x86 at kernel dot org>, Andi Kleen <andi at firstfloor dot org>, Ingo Molnar <mingo at redhat dot com>, Thomas Gleixner <tglx at linutronix dot de>
- Date: Thu, 18 Dec 2014 09:08:26 -0800
- Subject: Re: [PATCH] X86-64: Add -mskip-rax-setup
- Authentication-results: sourceware.org; auth=none
- References: <20141218131150 dot GA32638 at intel dot com> <CAFULd4ZaY5USX+CKdzoq1zWL8kZ3VqVx7KGxwb_tQEzbX03u-A at mail dot gmail dot com> <CAFULd4avYqhgA-D7+_w3b0Uk9jaso7JpXQXL2zU56Avs23i1og at mail dot gmail dot com> <CAFULd4asXmUnG+eYW9jyW7EQDLydTUnKUinW7yhRUo+cGauEVA at mail dot gmail dot com> <CAMe9rOq5FVz5D0ug12bzjBMG=VnwgN5H+t734FLPJ4ANXqrMVQ at mail dot gmail dot com> <CAFULd4ZzhaMu_JSXjPaKbaYSLbAa1P3pGcu_UkqEW05Ub4vksw at mail dot gmail dot com>
On 12/18/2014 06:12 AM, Uros Bizjak wrote:
>>>
>>> # temporary until string.h is fixed
>>> KBUILD_CFLAGS += -ffreestanding
>>>
>>> Yes, it looks to me that new option is the way to go.
>>
>> Is this an OK?
>
> In principle, I'm OK with the patch approach, but let's wait for
> eventual comments from Linux people.
>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
H.J. already coordinated with us; we are more than happy with this approach.
Thank you!
-hpa