Skip to content

RFC linker list sanity checking

Rasmus Villemoes u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9sandbox: Drop special link order treatment of start.o and sdl.oarch/sandbox/Makefile arch/sandbox/cpu/Makefile+2 -121 reply
2/9linker_lists: Do not set "unused" attributeinclude/linker_lists.h+3 -65 replies
3/9event: Remove obsolete comment and __used attributesinclude/event.h+2 -331 reply
4/9linker_lists.h: add ll_*_name() helper macrosinclude/linker_lists.h+18 -122 replies
5/9linker_lists.h: drop _2 from section and symbol name prefixinclude/linker_lists.h+4 -44 replies
6/9linker_lists.rst: update documentationdoc/api/linker_lists.rst+23 -313 replies
7/9test: avoid use of special characters in ELF section namesinclude/test/test.h test/cmd_ut.c+9 -102 replies
8/9linker_lists.h: emit lots of meta-data for debugging and sanity checkinginclude/linker_lists.h+43 -04 replies
9/9tools: add linker-lists.py parser/checker scripttools/linker-lists.py+234 -01 reply

Reviews trailers per patch

6 of 9 patches have a Reviewed-by or Acked-by.

PatchTom RiniSimon Glass
1/9R-b
2/9R-b
3/9R-b
4/9R-b R-b
5/9R-b
6/9
7/9R-b
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/9] linker list sanity checking

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/[email protected]/

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
Signature · 1 line
2.54.0