> It appears that elftoolchain has a check[1] in gelf_update_rel[a] to
> make sure that the section header corresponding to the GElf_Data has
> the appropriate type, and it fails if not.

Yes, its a sanity check - since using gelf_update_rel{,a}() by mistake
on data descriptors associated another section type could cause hard
to diagnose data corruption.

Would it be possible to set the section type in your application
before using these functions?

Regards,
Joseph Koshy

-- 
Joseph Koshy | Volunteer Developer, The Elftoolchain Project


_______________________________________________
Elftoolchain-developers mailing list
Elftoolchain-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/elftoolchain-developers

Reply via email to