summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/2.16.90.0.1
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-04-23 03:26:54 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-04-23 03:26:54 +0000
commit7f6a277243273f0be7e9445444fa4f2ba771f9a7 (patch)
treeb60b2aec69ffba68686f997c286d94ab0add9868 /toolchain/binutils/2.16.90.0.1
parenteadb1e7ba4f156bc571cbb9c806fed1549c5d1b1 (diff)
downloadbuildroot-novena-7f6a277243273f0be7e9445444fa4f2ba771f9a7.tar.gz
buildroot-novena-7f6a277243273f0be7e9445444fa4f2ba771f9a7.zip
Fix broken patch. Was this even tested?
Diffstat (limited to 'toolchain/binutils/2.16.90.0.1')
-rw-r--r--toolchain/binutils/2.16.90.0.1/300-120_mips_xgot_multigot_workaround.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/binutils/2.16.90.0.1/300-120_mips_xgot_multigot_workaround.patch b/toolchain/binutils/2.16.90.0.1/300-120_mips_xgot_multigot_workaround.patch
index 13bdcd99e..036712eac 100644
--- a/toolchain/binutils/2.16.90.0.1/300-120_mips_xgot_multigot_workaround.patch
+++ b/toolchain/binutils/2.16.90.0.1/300-120_mips_xgot_multigot_workaround.patch
@@ -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;