diff options
author | 2019-01-09 17:32:10 +0100 | |
---|---|---|
committer | 2019-01-16 12:21:53 +0100 | |
commit | e6d7bc0bdf4155e896c48cf6f8fb7ef76b504058 (patch) | |
tree | 8ea5fda131737067609b21580d103e7b29e1d27e /arch/x86/realmode/init.c | |
parent | x86/build: Specify elf_i386 linker emulation explicitly for i386 objects (diff) | |
download | linux-e6d7bc0bdf4155e896c48cf6f8fb7ef76b504058.tar.gz linux-e6d7bc0bdf4155e896c48cf6f8fb7ef76b504058.tar.bz2 linux-e6d7bc0bdf4155e896c48cf6f8fb7ef76b504058.zip |
x86/build: Use the single-argument OUTPUT_FORMAT() linker script command
The various x86 linker scripts use the three-argument linker script
command variant OUTPUT_FORMAT(DEFAULT, BIG, LITTLE) which specifies
three object file formats when the -EL and -EB linker command line
options are used. When -EB is specified, OUTPUT_FORMAT issues the BIG
object file format, when -EL, LITTLE, respectively, and when neither is
specified, DEFAULT.
However, those -E[LB] options are not used by arch/x86/ so switch to the
simple OUTPUT_FORMAT(BFDNAME) macro variant.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20190109181531.27513-1-bp@alien8.de
Diffstat (limited to 'arch/x86/realmode/init.c')
0 files changed, 0 insertions, 0 deletions