mbox series

[0/2] linker: fix build with LLVM LD

Message ID 20220429093644.99574-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series linker: fix build with LLVM LD | expand

Message

Roger Pau Monne April 29, 2022, 9:36 a.m. UTC
Hello,

LLVM LD doesn't remove quotes from sections names, and thus the
resulting binary cannot be parsed by some tools due to the quoted
sections names.

First patch has already been posted independently and got not enough
Acks/RB, second patch depends on the first one and is the actual fix for
the issue.

Thanks, Roger.

Roger Pau Monne (2):
  kconfig: detect LD implementation
  linker/lld: do not generate quoted section names

 xen/Kconfig               | 6 ++++++
 xen/arch/x86/xen.lds.S    | 6 +++++-
 xen/include/xen/xen.lds.h | 8 ++++----
 3 files changed, 15 insertions(+), 5 deletions(-)