Fix broken patch. Was this even tested?
author"Steven J. Hill" <sjhill@realitydiluted.com>
Sat, 23 Apr 2005 03:26:54 +0000 (03:26 -0000)
committer"Steven J. Hill" <sjhill@realitydiluted.com>
Sat, 23 Apr 2005 03:26:54 +0000 (03:26 -0000)
toolchain/binutils/2.16.90.0.1/300-120_mips_xgot_multigot_workaround.patch

index 13bdcd99ec57b8774b6b7c0f76c7cfcc7d834e49..036712eac39b95f6306f70da2bcb5641b09cd976 100644 (file)
@@ -35,7 +35,7 @@ diff -urNad /home/james/debian/packages/binutils/binutils-2.15/bfd/elfxx-mips.c
 -  if (s->size > MIPS_ELF_GOT_MAX_SIZE (output_bfd))
 +  if (s->size > MIPS_ELF_GOT_MAX_SIZE (output_bfd)
 +      && g->global_gotno <= (MIPS_ELF_GOT_MAX_SIZE (output_bfd)
-+                            / MIPS_ELF_GOT_SIZE (output_bfd))
++                            / MIPS_ELF_GOT_SIZE (output_bfd)))
      {
        if (! mips_elf_multi_got (output_bfd, info, g, s, local_gotno))
        return FALSE;