> - int nsyms = bfd_canonicalize_symtab (is->the_bfd, symbols); > - I don't understand this one. The symtab is used just a few lines later, where it's passed to bfd_canonicalize_reloc(). Perhaps you meant to just get rid of the "int nsyms =" part ?