x86/build: Remove -m16 workaround for unsupported versions of GCC
authorNick Desaulniers <ndesaulniers@google.com>
Tue, 1 Dec 2020 01:13:06 +0000 (17:13 -0800)
committerBorislav Petkov <bp@suse.de>
Tue, 1 Dec 2020 16:17:18 +0000 (17:17 +0100)
commit2838307b019dfec0c309c4e8e589658736cff4c9
tree41e50028c2a178070daff066697c1ded8710e602
parentea3186b9572a1b0299448697cfc44920061872cf
x86/build: Remove -m16 workaround for unsupported versions of GCC

Revert the following two commits:

  de3accdaec88 ("x86, build: Build 16-bit code with -m16 where possible")
  a9cfccee6604 ("x86, build: Change code16gcc.h from a C header to an assembly header")

Since

  0bddd227f3dc ("Documentation: update for gcc 4.9 requirement")

the minimum supported version of GCC is gcc-4.9. It's now safe to remove
this code.

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Link: https://lkml.kernel.org/r/20201201011307.3676986-1-ndesaulniers@google.com
arch/x86/Makefile
arch/x86/boot/code16gcc.h [deleted file]