* elf.c (swap_out_syms): Check for null type_ptr.
This commit is contained in:
parent
64bb16715d
commit
b47e35fc72
@ -1,3 +1,7 @@
|
|||||||
|
2000-03-06 Catherine Moore <clm@cygnus.com>
|
||||||
|
|
||||||
|
* elf.c (swap_out_syms): Check for null type_ptr.
|
||||||
|
|
||||||
2000-03-01 Hans-Peter Nilsson <hp@axis.com>
|
2000-03-01 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* aout-target.h (MY(write_object_contents)): Remove unused
|
* aout-target.h (MY(write_object_contents)): Remove unused
|
||||||
|
@ -4224,7 +4224,8 @@ swap_out_syms (abfd, sttp, relocatable_p)
|
|||||||
type = STT_NOTYPE;
|
type = STT_NOTYPE;
|
||||||
|
|
||||||
/* Processor-specific types */
|
/* Processor-specific types */
|
||||||
if (bed->elf_backend_get_symbol_type)
|
if (type_ptr != NULL
|
||||||
|
&& bed->elf_backend_get_symbol_type)
|
||||||
type = (*bed->elf_backend_get_symbol_type) (&type_ptr->internal_elf_sym, type);
|
type = (*bed->elf_backend_get_symbol_type) (&type_ptr->internal_elf_sym, type);
|
||||||
|
|
||||||
if (flags & BSF_SECTION_SYM)
|
if (flags & BSF_SECTION_SYM)
|
||||||
|
Loading…
Reference in New Issue
Block a user