mirror of
https://github.com/fadden/6502bench.git
synced 2024-09-11 20:54:37 +00:00
This test exercises the relocation data feature. The test file is generated from a multi-segment OMF file that was hex-edited to have specific attributes (see 20212-reloc-data-lnk.S for instructions). The test also serves as a way to exercise the OMF converter. Also, implement the Bank Relative flag.
22 lines
666 B
INI
22 lines
666 B
INI
# 6502bench SourceGen generated linker script for 20212-reloc-data
|
|
MEMORY {
|
|
MAIN: file=%O, start=%S, size=65536;
|
|
# MEM000: file=%O, start=$30000, size=110;
|
|
# MEM001: file=%O, start=$4ffe0, size=32;
|
|
# MEM002: file=%O, start=$50000, size=20;
|
|
# MEM003: file=%O, start=$23456, size=26;
|
|
# MEM004: file=%O, start=$80000, size=54;
|
|
# MEM005: file=%O, start=$60000, size=13;
|
|
}
|
|
SEGMENTS {
|
|
CODE: load=MAIN, type=rw;
|
|
# SEG000: load=MEM000, type=rw;
|
|
# SEG001: load=MEM001, type=rw;
|
|
# SEG002: load=MEM002, type=rw;
|
|
# SEG003: load=MEM003, type=rw;
|
|
# SEG004: load=MEM004, type=rw;
|
|
# SEG005: load=MEM005, type=rw;
|
|
}
|
|
FEATURES {}
|
|
SYMBOLS {}
|