* elf64-ppc.c (ppc64_elf_build_stubs): Silence gcc warning.
+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.
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;