Warning fix
* elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
This commit is contained in:
parent
1be5d8d3bb
commit
c75bc4f76f
|
@ -1,3 +1,7 @@
|
|||
2018-01-17 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
|
||||
|
||||
2018-01-17 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf32-ppc.c (GLINK_ENTRY_SIZE): Handle speculation barrier.
|
||||
|
|
|
@ -13211,7 +13211,7 @@ ppc64_elf_build_stubs (struct bfd_link_info *info,
|
|||
p += 4;
|
||||
}
|
||||
p = output_bctr (htab, htab->glink->owner, p);
|
||||
BFD_ASSERT (p - htab->glink->contents == GLINK_PLTRESOLVE_SIZE (htab));
|
||||
BFD_ASSERT (p == htab->glink->contents + GLINK_PLTRESOLVE_SIZE (htab));
|
||||
|
||||
/* Build the .glink lazy link call stubs. */
|
||||
indx = 0;
|
||||
|
|
Loading…
Reference in New Issue