Thread (53 messages) 53 messages, 8 authors, 20d ago

Re: [PATCH v5 11/24] tools headers UAPI: Sync ELF headers with the kernel sources

From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Date: 2026-09-08 08:57:20
Also in: linux-kbuild, linux-mips, linux-mm, linux-riscv, linux-s390, linux-um, linuxppc-dev, lkml, llvm, loongarch


Le 08/09/2026 à 08:33, Thomas Weißschuh a écrit :
Pick up changes from the UAPI ELF header files.
This picks up general changes to elf.h, elf-em.h which was forgotten
previously and the new elf-r.h.

Signed-off-by: Thomas Weißschuh <redacted>

---
Cc: Arnaldo Carvalho de Melo <redacted>
---
  tools/include/uapi/linux/elf-em.h |  71 ++++
  tools/include/uapi/linux/elf-r.h  | 696 ++++++++++++++++++++++++++++++++++++++
  tools/include/uapi/linux/elf.h    | 112 +++++-
  3 files changed, 868 insertions(+), 11 deletions(-)
quoted hunk ↗ jump to hunk
diff --git a/tools/include/uapi/linux/elf.h b/tools/include/uapi/linux/elf.h
index 5834b83d7f9a..88bdcbb526c1 100644
--- a/tools/include/uapi/linux/elf.h
+++ b/tools/include/uapi/linux/elf.h
quoted hunk ↗ jump to hunk
@@ -312,7 +323,7 @@ typedef struct elf64_phdr {
  #define SHN_ABS		0xfff1
  #define SHN_COMMON	0xfff2
  #define SHN_HIRESERVE	0xffff
-
+
Getting the following warning when applying this series with 'b4 shazam'.

/home/chleroy/linux-powerpc/.git/rebase-apply/patch:846: trailing 
whitespace.

Seems to come from here.
  typedef struct elf32_shdr {
    Elf32_Word	sh_name;
    Elf32_Word	sh_type;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help