lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 19 Jul 2007 10:42:00 -0400
From:	Chuck Ebbert <cebbert@...hat.com>
To:	Andi Kleen <ak@...e.de>
CC:	patches@...-64.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

On 07/19/2007 05:54 AM, Andi Kleen wrote:
> Don't need 16 byte alignment because kernel doesn't use SSE2
> 
> Signed-off-by: Andi Kleen <ak@...e.de>
> 
> ---
>  arch/x86_64/Makefile |    1 +
>  1 file changed, 1 insertion(+)
> 
> Index: linux/arch/x86_64/Makefile
> ===================================================================
> --- linux.orig/arch/x86_64/Makefile
> +++ linux/arch/x86_64/Makefile
> @@ -55,6 +55,7 @@ cflags-y += $(call cc-option,-mno-sse -m
>  # this works around some issues with generating unwind tables in older gccs
>  # newer gccs do it by default
>  cflags-y += -maccumulate-outgoing-args
> +cflags-y += -mpreferred-stack-boundary=4

Should be:

+cflags-y += -mpreferred-stack-boundary=3

>  
>  # do binutils support CFI?
>  cflags-y += $(call as-instr,.cfi_startproc\n.cfi_endproc,-DCONFIG_AS_CFI=1,)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists