projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc969da
)
Redundant hash table check
author
Alan Modra
<amodra@gmail.com>
Mon, 9 May 2016 07:38:35 +0000
(17:08 +0930)
committer
Alan Modra
<amodra@gmail.com>
Mon, 9 May 2016 07:38:35 +0000
(17:08 +0930)
* elf64-ppc.c (ppc64_elf_init_stub_bfd): Remove redundant NULL check.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index dfd9c1b79a2f49e9331562330d1722bfc2ade07c..df6cd45a5f3799a882f28b7360913f7a122dd367 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2016-05-09 Alan Modra <amodra@gmail.com>
+
+ * elf64-ppc.c (ppc64_elf_init_stub_bfd): Remove redundant NULL check.
+
2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/17550
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index a9f66d6e0901abae72279af4f462f4bc23d42b08..3717160d013f6a4235442571802b2fb2656883c5 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-4430,8
+4430,6
@@
ppc64_elf_init_stub_bfd (struct bfd_link_info *info,
linker created stub bfd. This ensures that the GOT header is at
the start of the output TOC section. */
htab = ppc_hash_table (info);
- if (htab == NULL)
- return FALSE;
htab->elf.dynobj = params->stub_bfd;
htab->params = params;