projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64bb167
)
* elf.c (swap_out_syms): Check for null type_ptr.
author
Catherine Moore
<clm@redhat.com>
Mon, 6 Mar 2000 15:44:25 +0000
(15:44 +0000)
committer
Catherine Moore
<clm@redhat.com>
Mon, 6 Mar 2000 15:44:25 +0000
(15:44 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 9bdb4c3506a384bd7b67b0f32c09432034c51559..0afc0903b720c519f72f5c51cf08e6c4bee23a52 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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>
* aout-target.h (MY(write_object_contents)): Remove unused
diff --git
a/bfd/elf.c
b/bfd/elf.c
index e4bcd219caa2b7b9763054c0e1852531be2cffa7..979061716967f7a575510096cde6139a0a121d29 100644
(file)
--- a/
bfd/elf.c
+++ b/
bfd/elf.c
@@
-4224,7
+4224,8
@@
swap_out_syms (abfd, sttp, relocatable_p)
type = STT_NOTYPE;
/* 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);
if (flags & BSF_SECTION_SYM)