Thread (53 messages) flat view 53 messages, 8 authors, 15d ago

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

From: Thomas Weißschuh <hidden>
Date: 2026-09-08 09:37:37
Also in: linux-kbuild, linux-mips, linux-mm, linux-riscv, linux-s390, linux-um, lkml, llvm, loongarch, rust-for-linux

On Tue, Sep 08, 2026 at 10:56:58AM +0200, Christophe Leroy (CS GROUP) wrote:
Le 08/09/2026 à 08:33, Thomas Weißschuh a écrit :
quoted
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
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
@@ -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.
That's also present in include/uapi/linux/elf.h.
I'll add a fix for that, too.
quoted
  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