This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] fix ld segfault for mipsisa64-elf


For lots of c++ files ld is currently segfaulting in _bfd_elf_discard_section_eh_frame because sym_sec is NULL and we're not checking that it exists before we check the value of a member. This fixes that problem, we've still got other problems such that we're not creating .eh_frame_table, but that's a patch for another day. I'm looking into it while waiting for builds on other work :)

Committed as obvious.

-eric

2007-05-25 Eric Christopher <echristo@gmail.com>

* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Check that sym_sec
isn't NULL before accessing.


Attachment: eh_frame.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]