1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-30 00:28:59 +00:00
6502bench/SourceGen/SGTestData/20212-reloc-data
Andy McFadden 6ce2cc0b58 Fix label-trampling bug in reloc data handler
If code accesses the high/low parts of a 32-bit address value with
no label, it auto-generates labels for addr+2 and addr.  The reloc
handler was replacing the unformatted bytes with a single multi-byte
format, hiding the label at addr+2.

The easy fix is to have the reloc data handler skip the entry.  This
is less useful than other approaches, but much simpler.

Added a test to 20212-reloc-data.
2020-07-10 13:56:07 -07:00

282 B