X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bfd%2Felf32-v850.c;h=74e15463212b9d4c1842ab7cd6cda70bc34e3af6;hb=546053acfa1518063ed0ea94c3e35c05089c32fc;hp=0de095d3aa95389c498bf5f6345dc4ae2256436b;hpb=827041555ac443bd57340060f3e034fd7b199dd8;p=external%2Fbinutils.git diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c index 0de095d..74e1546 100644 --- a/bfd/elf32-v850.c +++ b/bfd/elf32-v850.c @@ -101,9 +101,7 @@ v850_elf_check_relocs (bfd *abfd, /* This relocation describes which C++ vtable entries are actually used. Record for later use during GC. */ case R_V850_GNU_VTENTRY: - BFD_ASSERT (h != NULL); - if (h != NULL - && !bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend)) + if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend)) return FALSE; break; @@ -2720,9 +2718,8 @@ v850_elf_object_p (bfd *abfd) /* Store the machine number in the flags field. */ -static void -v850_elf_final_write_processing (bfd *abfd, - bfd_boolean linker ATTRIBUTE_UNUSED) +static bfd_boolean +v850_elf_final_write_processing (bfd *abfd) { unsigned long val; @@ -2752,6 +2749,7 @@ v850_elf_final_write_processing (bfd *abfd, default: break; } + return _bfd_elf_final_write_processing (abfd); } /* Function to keep V850 specific file flags. */