[RFC PATCH 0/9] linker list sanity checking

Rasmus Villemoes ravi at prevas.dk
Fri May 22 23:27:47 CEST 2026


Tom's recent linker list patches [*] prompted me to revisit something I've
been brewing on for a while. It is probably not really ready for
inclusion, but it should be good enough for playing around with.

I've included Tom's three patches for completeness and to avoid
trivial conflicts. Aside from those, I think that patches 4-7 might
already be suitable for -next.

[*] https://lore.kernel.org/u-boot/20260520001234.1555120-1-trini@konsulko.com/

Rasmus Villemoes (6):
  linker_lists.h: add ll_*_name() helper macros
  linker_lists.h: drop _2 from section and symbol name prefix
  linker_lists.rst: update documentation
  test: avoid use of special characters in ELF section names
  linker_lists.h: emit lots of meta-data for debugging and sanity
    checking
  tools: add linker-lists.py parser/checker script

Tom Rini (3):
  sandbox: Drop special link order treatment of start.o and sdl.o
  linker_lists: Do not set "unused" attribute
  event: Remove obsolete comment and __used attributes

 arch/sandbox/Makefile     |   9 --
 arch/sandbox/cpu/Makefile |   5 +-
 doc/api/linker_lists.rst  |  54 ++++-----
 include/event.h           |  35 +-----
 include/linker_lists.h    |  78 ++++++++++---
 include/test/test.h       |  15 ++-
 test/cmd_ut.c             |   4 +-
 tools/linker-lists.py     | 234 ++++++++++++++++++++++++++++++++++++++
 8 files changed, 332 insertions(+), 102 deletions(-)
 create mode 100755 tools/linker-lists.py

-- 
2.54.0



More information about the U-Boot mailing list