[lkml]   [2020]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PULL] x86/boot changes for v5.7
On Tue, Mar 31, 2020 at 12:53 AM Ingo Molnar <> wrote:
> x86/*/Makefile: Use -fno-asynchronous-unwind-tables to suppress .eh_frame sections


Looking at that commit, wouldn't it be better to try to move in a
direction where the special 32-bit code (or other stub code) simply
uses the actual KBUILD_CFLAGS as a base for what they do.

For example, in that EFI case, arm64 seems to do things the right way,
and this is literally the x86 code being inferior.

Both 32-bit and 64-bit arm seem to just filter out the flags that
don't work for it the stub code.

And honestly, that seems to be the *much* better approach.

The x86 approach is just rewriting the the cflags from scratch
inevitably has these kinds of odd special cases they it misses.

Wouldn't it be much better to try to standardize around that arm model instead?

I've pulled this, but it hurts to see these kinds of magical hackery.


 \ /
  Last update: 2020-03-31 19:38    [W:0.075 / U:5.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site