mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +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:
@ -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>
|
2019-10-15 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* bfd.c (bfd_check_compression_header): Check for powers of two
|
* 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);
|
s = elf_link_hash_lookup (&htab->elf, buf, TRUE, TRUE, FALSE);
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (s->root.type == bfd_link_hash_new
|
if (s->root.type == bfd_link_hash_new)
|
||||||
|| (s->root.type = bfd_link_hash_defined
|
|
||||||
&& s->root.u.def.section == stub_sec))
|
|
||||||
{
|
{
|
||||||
s->root.type = bfd_link_hash_defined;
|
s->root.type = bfd_link_hash_defined;
|
||||||
s->root.u.def.section = stub_sec;
|
s->root.u.def.section = stub_sec;
|
||||||
|
Reference in New Issue
Block a user