]> git.ipfire.org Git - thirdparty/linux.git/commit
gendwarfksyms: Fix build on 32-bit hosts
authorSami Tolvanen <samitolvanen@google.com>
Mon, 17 Nov 2025 20:38:07 +0000 (20:38 +0000)
committerSami Tolvanen <samitolvanen@google.com>
Mon, 22 Dec 2025 16:35:54 +0000 (16:35 +0000)
commitddc54f912a551f6eb0bbcfc3880f45fe27a252cb
treec5b4ae241ae33fa31aa27f9953f979531752dd24
parentd7afd65b4acc775df872af30948dd7c196587169
gendwarfksyms: Fix build on 32-bit hosts

We have interchangeably used unsigned long for some of the types
defined in elfutils, assuming they're always 64-bit. This obviously
fails when building gendwarfksyms on 32-bit hosts. Fix the types.

Reported-by: Michal Suchánek <msuchanek@suse.de>
Closes: https://lore.kernel.org/linux-modules/aRcxzPxtJblVSh1y@kitsune.suse.cz/
Tested-by: Michal Suchánek <msuchanek@suse.de>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
scripts/gendwarfksyms/dwarf.c
scripts/gendwarfksyms/symbols.c