[PATCH v3 0/3] x86/boot: Fix build with LLVM toolchain

Frediano Ziglio posted 3 patches 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20241106130620.1928109-1-frediano.ziglio@cloud.com
xen/arch/x86/boot/Makefile        |  9 +++++----
xen/arch/x86/boot/build32.lds.S   | 11 ++++++++++-
xen/tools/combine_two_binaries.py | 19 ++++++++++++-------
3 files changed, 27 insertions(+), 12 deletions(-)
[PATCH v3 0/3] x86/boot: Fix build with LLVM toolchain
Posted by Frediano Ziglio 2 weeks ago
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.

Changes since v2:
- address comments.

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: Explicitly list .{sym,shstr,str}tab in build32.lds.S

 xen/arch/x86/boot/Makefile        |  9 +++++----
 xen/arch/x86/boot/build32.lds.S   | 11 ++++++++++-
 xen/tools/combine_two_binaries.py | 19 ++++++++++++-------
 3 files changed, 27 insertions(+), 12 deletions(-)

-- 
2.34.1