OSDN Git Service

PR binutils/3874
authornickc <nickc>
Thu, 25 Jan 2007 09:32:41 +0000 (09:32 +0000)
committernickc <nickc>
Thu, 25 Jan 2007 09:32:41 +0000 (09:32 +0000)
commit0b654e06f139ce5430e1b5257e70e6d39276672e
tree144f5ff840b11faaa289b80adebde8300fdc4784
parent7e11f51cfbbcb3443b2d39c36b8cd2e2f7d9f58d
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