From: Joseph K. <jk...@us...> - 2021-05-01 09:19:26
|
> 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 |