Skip to content

Commit

Permalink
discard eh_frame for now
Browse files Browse the repository at this point in the history
  • Loading branch information
DennyDai committed Feb 12, 2024
1 parent 3727f7e commit 5ca6f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patcherex2/components/compilers/llvm_recomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def compile(
)
for name, addr in _symbols.items():
linker_script += name + " = " + hex(addr) + ";"
linker_script += "} }"
linker_script += "} /DISCARD/ : { *(.eh_frame) } }"
with open(os.path.join(td, "linker.ld"), "w") as f:
f.write(linker_script)

Expand Down

0 comments on commit 5ca6f0b

Please sign in to comment.