mbox series

[v2,0/3] x86/boot: Fix build with LLVM toolchain

Message ID 20241106114150.1432512-1-frediano.ziglio@cloud.com (mailing list archive)
Headers show
Series x86/boot: Fix build with LLVM toolchain | expand

Message

Frediano Ziglio Nov. 6, 2024, 11:41 a.m. UTC
Fix some compatibility generating 32 bit code.
LLVM has different object files and map files.
Do not use map file as they are not standard.

Changes since v1:
- do not use map files;
- add a fix for file names and preprocessor definition name.

Frediano Ziglio (3):
  x86/boot: Fix intermediate file names to generate 32 bit code
  x86/boot: Uses nm command instead of map file to get symbols
  x86/boot: Fix build with LLVM toolchain

 xen/arch/x86/boot/Makefile        | 10 ++++++----
 xen/arch/x86/boot/build32.lds.S   | 11 ++++++++++-
 xen/tools/combine_two_binaries.py | 28 ++++++++++++++++++----------
 3 files changed, 34 insertions(+), 15 deletions(-)