On Tuesday 28 July 2009 15:34:41, Pedro Alves wrote:
On Tuesday 28 July 2009 15:28:33, Aleksandar Ristovski wrote:
Hello,
I believe this is related to Pedro's patch from 03-Jun-09. I
didn't see where we set target_section.bfd field - maybe I
am overlooking something, but in bfd-target, in function
target_bfd_xclose we will call bfd_close
(table->sections->bfd); bfd_close doesn't like NULL argument.
Am I missing something, or is this (the patch) missing?
Doesn't add_to_section_table set the bfd in each new
target section?
I think you've got yourself an executable without any ALLOC
section, hence the section table ends up empty. I think something
like this will fix the problem. I'll give a test spin and
apply it.