scripts: build: check_init_priorities.py: Add missing raise for error
An error was not raised. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
69fa7dc268
commit
65fb99a844
|
@ -172,7 +172,7 @@ class ZephyrInitLevels:
|
||||||
elif elfclass == 64:
|
elif elfclass == 64:
|
||||||
ptrsize = 8
|
ptrsize = 8
|
||||||
else:
|
else:
|
||||||
ValueError(f"Unknown pointer size for ELF class f{elfclass}")
|
raise ValueError(f"Unknown pointer size for ELF class f{elfclass}")
|
||||||
|
|
||||||
section = self._elf.get_section(shidx)
|
section = self._elf.get_section(shidx)
|
||||||
start = section.header.sh_addr
|
start = section.header.sh_addr
|
||||||
|
|
Loading…
Reference in a new issue