mirror of
https://github.com/pret/pokediamond.git
synced 2026-04-25 15:42:51 -05:00
Fix bug preventing relocations from getting updated and inserted
This commit is contained in:
parent
a70ceda94c
commit
140718cbb2
|
|
@ -1153,8 +1153,7 @@ def fixup_objfile(objfile_name, functions, asm_prelude, assembler, output_enc):
|
|||
for reltab in target.relocated_by:
|
||||
nrels = []
|
||||
for rel in reltab.relocations:
|
||||
if (sectype == '.text' and rel.r_offset in modified_text_positions or
|
||||
sectype == '.rodata' and rel.r_offset in jtbl_rodata_positions) or sectype == ".sbss2":
|
||||
if (sectype == '.rodata' and rel.r_offset in jtbl_rodata_positions) or sectype == ".sbss2":
|
||||
# don't include relocations for late_rodata dummy code
|
||||
continue
|
||||
# hopefully we don't have relocations for local or
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user