Skip to content
Snippets Groups Projects
Commit 7478d36d authored by jdh8d's avatar jdh8d
Browse files

made plugin disable itself for ET_EXEC pgms. only needed for ET_DYN pgms

parent d1ec9f1e
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,11 @@ class Push64Relocs_t : public Zipr_SDK::ZiprPluginInterface_t
}
virtual void PinningEnd()
{
if(m_elfio.get_type()==ET_EXEC)
{
cout<<"Push64_reloc: elide PinningEnd as type==ET_EXEC"<<endl;
return;
}
cout<<"Push64Plugin: Ending pinning, applying push64 relocs."<<endl;
HandlePush64Relocs();
}
......@@ -59,6 +64,11 @@ class Push64Relocs_t : public Zipr_SDK::ZiprPluginInterface_t
}
virtual void CallbackLinkingEnd()
{
if(m_elfio.get_type()==ET_EXEC)
{
cout<<"Push64_reloc: elide CallbackLinkingEnd as type==ET_EXEC"<<endl;
return;
}
cout<<"Push64Plugin: CBLinkEnd, updating adds." <<endl;
UpdatePush64Adds();
}
......
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