diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-07-22 14:43:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-07-24 16:39:27 +0200 |
commit | 587af649bcc04eb016822f209a975005c0092151 (patch) | |
tree | dd1b206f3dc12a55dca76adbf77b23f998f296b5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6526b12de07588253a52577f42ec99fc7ca26a1f (diff) |
x86/build: Move max-page-size option to LDFLAGS_vmlinux
This option is only required for vmlinux on 64-bit, to enforce 2MiB
alignment, so set it in LDFLAGS_vmlinux instead of KBUILD_LDFLAGS. Also
drop the ld-option check: this option was added in binutils-2.18 and all
the other places that use it already don't have the check.
This reduces the size of the intermediate ELF files
arch/x86/boot/setup.elf and arch/x86/realmode/rm/realmode.elf by about
2MiB each. The binary versions are unchanged.
Move the LDFLAGS settings to all be together and just after CFLAGS
settings are done.
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michal Marek <michal.lkml@markovi.net>
Link: https://lore.kernel.org/r/20200722184334.3785418-1-nivedita@alum.mit.edu
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions