From: Joseph K. <jk...@us...> - 2010-08-07 08:02:42
|
> Based on tutorial at "http://sourceforge.net/apps/trac/elftoolchain/" > I wrote a program to create a new section into an existing ELF file. > My program is not writing out the changes into the ELF file. > Here is the snippet starting from the creation of new section till end of > file: [snip] > if (elf_update(e, ELF_C_WRITE) < 0) > { > errx(EX_SOFTWARE , " elf_update () failed : %s . ", elf_errmsg(-1)); > } There isn't enough information in your post to formulate a useful reply. For example, your post does not indicate where precisely your program fails, and what the error message at that point is. I personally have found the following article to be a good guide to framing questions: http://catb.org/esr/faqs/smart-questions.html Koshy |