mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-04 11:49:58 +00:00
c535201884
We want to be able to declare a symbol for a struct or buffer that spans the entire width, and then declare more-specific items within it that take precedence. This worked for everything but the very first byte, because on an exact match we were resolving the conflict alphabetically. Now, if one is wider than the other, we use the narrower definition. Updated 2021-external-symbols with some additional test cases.
12 lines
270 B
INI
12 lines
270 B
INI
# 6502bench SourceGen generated linker script for 2021-external-symbols
|
|
MEMORY {
|
|
MAIN: file=%O, start=%S, size=65536;
|
|
# MEM000: file=%O, start=$1000, size=353;
|
|
}
|
|
SEGMENTS {
|
|
CODE: load=MAIN, type=rw;
|
|
# SEG000: load=MEM000, type=rw;
|
|
}
|
|
FEATURES {}
|
|
SYMBOLS {}
|