lkml.org 
[lkml]   [2017]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] x86: stack alignment for boot code and clang
Date
This series fixes an issue with the stack of the x86 boot code not
being aligned as intended. Further it adapts the Makefile to account
for the fact that clang uses a different option to configure the
stack alignment than gcc (-mstack-alignment=N vs
-mpreferred-stack-boundary=N)

Matthias Kaehlcke (3):
kbuild: Add cc-option-no-kbuild macro
x86/build: Use cc-option-no-kbuild for boot code compiler options
x86/build: Specify stack alignment for clang

arch/x86/Makefile | 25 +++++++++++++++++--------
scripts/Kbuild.include | 5 +++++
2 files changed, 22 insertions(+), 8 deletions(-)

--
2.13.1.508.gb3defc5cc-goog

\
 
 \ /
  Last update: 2017-06-13 02:56    [W:0.079 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site