This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] fix ld segfault for mipsisa64-elf
- From: Eric Christopher <echristo at apple dot com>
- To: binutils <binutils at sourceware dot org>
- Cc: amodra at bigpond dot net dot au
- Date: Fri, 25 May 2007 16:05:50 -0700
- Subject: [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