]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR binutils/3874
authorNick Clifton <nickc@redhat.com>
Thu, 25 Jan 2007 09:32:41 +0000 (09:32 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 25 Jan 2007 09:32:41 +0000 (09:32 +0000)
commit64ee10b619d964d076beec103b1400a84bf1bc69
treef66dbbed7cc32ca0fe2acb6d9eff706a9bfad551
parent5f40043739af6c100cc83a10f38eebe50a047620
PR binutils/3874
* elf32-avr.c (avr_link_hash_table): Check to make sure that the hash table was created by elf32_avr_link_hash_table_create before using it.
  (elf32_avr_link_hash_newfunc): New function.  Just pass the call through to _bfd_elf_link_hash_newfunc.
  (elf32_avr_link_hash_table_create): Use elf32_avr_link_hash_newfunc instead of _bfd_elf_link_hash_newfunc.
  (elf32_avr_relocate_section): Check for the hash table pointer being NULL.
  (elf32_avr_relax_section, avr_build_one_stub, elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, elf32_avr_build_stubs): Likewise.
bfd/ChangeLog
bfd/elf32-avr.c