Skip to content
Snippets Groups Projects
Commit fd7ac805 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

removed any support for pcrel relocations

parent e05507f9
No related branches found
No related tags found
No related merge requests found
...@@ -309,6 +309,8 @@ void Push64Relocs_t::UpdatePush64Adds() ...@@ -309,6 +309,8 @@ void Push64Relocs_t::UpdatePush64Adds()
} }
m_memory_space.PlopBytes(add_addr+rex_skip+3, (const char*)&relocated_value, 4); m_memory_space.PlopBytes(add_addr+rex_skip+3, (const char*)&relocated_value, 4);
} }
// functionality moving to unpin plug.
#if 0
// handle basic pcrel relocations. // handle basic pcrel relocations.
// zipr_unpin_plugin handles pcrel + WRT // zipr_unpin_plugin handles pcrel + WRT
// caution, side effect in if statement. // caution, side effect in if statement.
...@@ -413,6 +415,7 @@ void Push64Relocs_t::UpdatePush64Adds() ...@@ -413,6 +415,7 @@ void Push64Relocs_t::UpdatePush64Adds()
else else
assert(0); assert(0);
} }
#endif
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment