mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
2007-07-26 Michael Snyder <msnyder@access-company.com>
* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.
This commit is contained in:
parent
a6626e8c30
commit
507f589808
@ -1,4 +1,6 @@
|
||||
2007-07-26 Michael Snyder <msnyder@svkmacdonelllnx>
|
||||
2007-07-26 Michael Snyder <msnyder@access-company.com>
|
||||
|
||||
* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.
|
||||
|
||||
* linker.c (bfd_section_already_linked_table_insert): Change
|
||||
return type from void to boolean. Return FALSE on failure.
|
||||
|
@ -518,7 +518,8 @@ coff_i386_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
|
||||
*addendp -= pe_data(sec->output_section->owner)->pe_opthdr.ImageBase;
|
||||
}
|
||||
|
||||
if (rel->r_type == R_SECREL32)
|
||||
BFD_ASSERT (sym != NULL);
|
||||
if (rel->r_type == R_SECREL32 && sym != NULL)
|
||||
{
|
||||
bfd_vma osect_vma;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user