[SeaBIOS] [PATCH 06/10] build: Rework getRelocs() to use a hash instead of categories in layoutrom.py