projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bfd: fix handling of R_BPF_INSN_{32,64} relocations.
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-iq2000.c
diff --git
a/bfd/elf32-iq2000.c
b/bfd/elf32-iq2000.c
index 096122687da7ba48771e41a1719cfac380068bcf..bef7d8367c454e8ee596be8379db854008a22735 100644
(file)
--- a/
bfd/elf32-iq2000.c
+++ b/
bfd/elf32-iq2000.c
@@
-1,5
+1,5
@@
/* IQ2000-specific support for 32-bit ELF.
/* IQ2000-specific support for 32-bit ELF.
- Copyright (C) 2003-20
19
Free Software Foundation, Inc.
+ Copyright (C) 2003-20
20
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This file is part of BFD, the Binary File Descriptor library.
@@
-501,9
+501,7
@@
iq2000_elf_check_relocs (bfd *abfd,
/* This relocation describes which C++ vtable entries
are actually used. Record for later use during GC. */
case R_IQ2000_GNU_VTENTRY:
/* This relocation describes which C++ vtable entries
are actually used. Record for later use during GC. */
case R_IQ2000_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;
return FALSE;
break;
@@
-627,7
+625,7
@@
iq2000_elf_relocate_section (bfd * output_bfd ATTRIBUTE_UNUSED,
name = bfd_elf_string_from_elf_section
(input_bfd, symtab_hdr->sh_link, sym->st_name);
name = bfd_elf_string_from_elf_section
(input_bfd, symtab_hdr->sh_link, sym->st_name);
- name =
(name == NULL) ? bfd_section_name (input_bfd,
osec) : name;
+ name =
name == NULL ? bfd_section_name (
osec) : name;
}
else
{
}
else
{
This page took
0.028004 seconds
and
4
git commands to generate.