Skip to content
Commit 3a8c20d8 authored by Peter Marheine's avatar Peter Marheine Committed by Carles Cufí
Browse files

build: don't assume .symtab section type



Only the elftools SymbolTableSection section type provides an
iter_symbols() method, and compilers are free to emit sections that
include the substring '.symtab' in their name which causes errors if
gen_relocate_app examines only the section name. Instead check whether a
section is a symbol table to skip attempting to inspect sections that
are not actually symbol tables.

Signed-off-by: default avatarPeter Marheine <pmarheine@chromium.org>
parent 0c198f97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment