]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools: Add gendwarfksyms
authorSami Tolvanen <samitolvanen@google.com>
Fri, 3 Jan 2025 20:45:23 +0000 (20:45 +0000)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 10 Jan 2025 16:25:25 +0000 (01:25 +0900)
commitf28568841ae0a0dd48dfc5400aaebedf10a54d10
tree99c61ffd10979d6f441541323dcaa7cbecb13458
parenta56fece7f302ff1eb49535e66bdd5d03ced0ca20
tools: Add gendwarfksyms

Add a basic DWARF parser, which uses libdw to traverse the debugging
information in an object file and looks for functions and variables.
In follow-up patches, this will be expanded to produce symbol versions
for CONFIG_MODVERSIONS from DWARF.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
MAINTAINERS
kernel/module/Kconfig
scripts/Makefile
scripts/gendwarfksyms/.gitignore [new file with mode: 0644]
scripts/gendwarfksyms/Makefile [new file with mode: 0644]
scripts/gendwarfksyms/dwarf.c [new file with mode: 0644]
scripts/gendwarfksyms/gendwarfksyms.c [new file with mode: 0644]
scripts/gendwarfksyms/gendwarfksyms.h [new file with mode: 0644]
scripts/gendwarfksyms/symbols.c [new file with mode: 0644]