* elf32-ppc.c (ppc_elf_relax_section): Correct ppc476 workaround
alignment calculation.
2014-11-20 Alan Modra <amodra@gmail.com>
+ * elf32-ppc.c (ppc_elf_relax_section): Correct ppc476 workaround
+ alignment calculation.
+
+2014-11-20 Alan Modra <amodra@gmail.com>
+
* elf64-ppc.c (ppc64_elf_size_stubs): Add __go_go to thread_starters.
2014-11-18 Igor Zamyatin <igor.zamyatin@intel.com>
/* Keep space aligned, to ensure the patch code itself does
not cross a page. Don't decrease size calculated on a
previous pass as otherwise we might never settle on a layout. */
- newsize = 15 - (end_addr & 15);
+ newsize = 15 - ((end_addr - 1) & 15);
newsize += crossings * 16;
if (relax_info->workaround_size < newsize)
{