projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PR ld/25062] arm: sign extend the addend of R_ARM_TLS_GOTDESC
[external/binutils.git]
/
bfd
/
elf32-xstormy16.c
diff --git
a/bfd/elf32-xstormy16.c
b/bfd/elf32-xstormy16.c
index
4cd7e62
..
05a9326
100644
(file)
--- a/
bfd/elf32-xstormy16.c
+++ b/
bfd/elf32-xstormy16.c
@@
-1,5
+1,5
@@
/* Xstormy16-specific support for 32-bit ELF.
/* Xstormy16-specific support for 32-bit ELF.
- Copyright (C) 2000-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2000-201
9
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.
@@
-513,9
+513,7
@@
xstormy16_elf_check_relocs (bfd *abfd,
/* This relocation describes which C++ vtable entries are actually
used. Record for later use during GC. */
case R_XSTORMY16_GNU_VTENTRY:
/* This relocation describes which C++ vtable entries are actually
used. Record for later use during GC. */
case R_XSTORMY16_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;
}