mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
PR25100, Compile fails in elf64-ppc.c because of single equal sign instead of double equal for comparison
PR 25100 * elf64-ppc.c (sfpr_define): Delete dead code that triggered a warning.
This commit is contained in:
parent
ed481f9799
commit
779f2ae733
@ -1,3 +1,8 @@
|
||||
2019-10-15 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 25100
|
||||
* elf64-ppc.c (sfpr_define): Delete dead code that triggered a warning.
|
||||
|
||||
2019-10-15 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* bfd.c (bfd_check_compression_header): Check for powers of two
|
||||
|
@ -5837,9 +5837,7 @@ sfpr_define (struct bfd_link_info *info,
|
||||
s = elf_link_hash_lookup (&htab->elf, buf, TRUE, TRUE, FALSE);
|
||||
if (s == NULL)
|
||||
return FALSE;
|
||||
if (s->root.type == bfd_link_hash_new
|
||||
|| (s->root.type = bfd_link_hash_defined
|
||||
&& s->root.u.def.section == stub_sec))
|
||||
if (s->root.type == bfd_link_hash_new)
|
||||
{
|
||||
s->root.type = bfd_link_hash_defined;
|
||||
s->root.u.def.section = stub_sec;
|
||||
|
Loading…
Reference in New Issue
Block a user