Skip to contentSkip to conversation

x86/build changes for v5.2

GIT PULL Merged Ingo Molnar 2 participants 2 messages May 6, 2019

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86-build-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-for-linus

# HEAD: f36e7495dd3990d6848e6d6703c78f1f17a97538 x86/tools/relocs: Fix big section header tables

Misc updates:

- Add link flag quirk to solve LLVM linker bug that removes local relocations, causing KASLR boot failures.

- Update the defconfigs to remove archaic partition table support

- Fix kernel growing pains: we had a bug in relocs.c handling section header table entries count larger than 0xff00 (~65k), which can happen with the -ffunction-sections flag, causing a build failure with a cryptic error message. Add support for detecting the limit and using the ELF protocol that extends the sections table via ->sh_size. The new limit is now much larger - over a billion entries?

Thanks,

Ingo

------------------>
Ahmed S. Darwish (1):
x86/defconfig: Remove archaic partition tables support

Artem Savkov (1):
x86/tools/relocs: Fix big section header tables

Kees Cook (1):
x86/build: Keep local relocations with ld.lld

 arch/x86/Makefile                 |  2 +-
 arch/x86/configs/i386_defconfig   | 12 -------
 arch/x86/configs/x86_64_defconfig | 12 -------
 arch/x86/tools/relocs.c           | 74 ++++++++++++++++++++++++---------------
 4 files changed, 46 insertions(+), 54 deletions(-)