diff options
author | H. Peter Anvin <hpa@zytor.com> | 2018-10-13 00:13:30 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2018-10-13 00:13:30 -0700 |
commit | c2834e2fa23abccbdb6a9fc9b91eb7e03f95d006 (patch) | |
tree | 32091b8d93756ea878fa6e72d2295e3679bd8c52 | |
parent | 5b8f7ad55b68e1f41171177a61a13cbbd3ca70cc (diff) | |
download | abcdisk-c2834e2fa23abccbdb6a9fc9b91eb7e03f95d006.tar.gz abcdisk-c2834e2fa23abccbdb6a9fc9b91eb7e03f95d006.tar.xz abcdisk-c2834e2fa23abccbdb6a9fc9b91eb7e03f95d006.zip |
bac800: reloc offset expression for bac800d is bogus, just put it as 0
The reloc offset expression for bac800d makes no sense whatsoever, and
just happens to have the correct numeric value (0). Since for bac800d
the output is not contiguous with the loader, we can't have internal
relocations anyway.
-rw-r--r-- | bac800.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ int writebac800(FILE * out, const uint8_t * data, int len, int origin, if (driver) { loader = bac800d_bin; loaderlen = sizeof bac800d_bin; - relocoffset = bac800d_SYM__end - bac800d_SYM_reloc_data; + relocoffset = 0; set16(loader + bac800d_SYM_ENTRY, entrypoint); } else { loader = bac800_bin; |