Skip label symbols when inferring symbol sizes

COFF objects in particular don't contain the size of
symbols. We infer the size of these symbols by
extending them to the next symbol. If a tool emits
symbols for branch targets, this causes the inferred
size to be too small.

This checks if a symbol starts with a certain prefix
(right now, just .L or LAB_), and skips over it
during symbol size inference.

Resolves #174
This commit is contained in:
2025-05-13 22:36:02 -06:00
parent e865f3d598
commit 8e8ab6bef8
6 changed files with 204 additions and 22 deletions

Binary file not shown.