refresh patches
authorImre Kaloz <kaloz@openwrt.org>
Wed, 16 Feb 2011 13:51:31 +0000 (13:51 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Wed, 16 Feb 2011 13:51:31 +0000 (13:51 +0000)
SVN-Revision: 25551

toolchain/binutils/patches/2.20.1/112-arm-uclibc-gas-needs-libm.patch
toolchain/binutils/patches/2.20.1/200-mips_non_pic.patch
toolchain/binutils/patches/2.20.1/310-backport_fPIE_mips_fix.patch

index abc8117..6366392 100644 (file)
@@ -18,10 +18,8 @@ floatformat.c:(.text+0x43e): undefined reference to `ldexp'
 collect2: ld returned 1 exit status
 make[4]: *** [as-new] Error 1
 
-Index: binutils-2.17.50/gas/configure.tgt
-===================================================================
---- binutils-2.17.50.orig/gas/configure.tgt
-+++ binutils-2.17.50/gas/configure.tgt
+--- a/gas/configure.tgt
++++ b/gas/configure.tgt
 @@ -431,6 +431,12 @@ case ${generic_target} in
    *-*-netware)                                fmt=elf em=netware ;;
  esac
@@ -35,4 +33,3 @@ Index: binutils-2.17.50/gas/configure.tgt
  case ${cpu_type} in
    alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
      bfd_gas=yes
-
index 5689143..fd14fa1 100644 (file)
  
    if (! bfd_set_arch_mach (stdoutput, bfd_arch_mips, file_mips_arch))
      as_warn (_("Could not set architecture and machine"));
-@@ -11264,6 +11264,7 @@
+@@ -11258,6 +11264,7 @@ enum options
      OPTION_PDR,
      OPTION_NO_PDR,
      OPTION_MVXWORKS_PIC,
  #endif /* OBJ_ELF */
      OPTION_END_OF_ENUM    
    };
-@@ -11365,6 +11372,7 @@ struct option md_longopts[] =
+@@ -11359,6 +11366,7 @@ struct option md_longopts[] =
    {"mpdr", no_argument, NULL, OPTION_PDR},
    {"mno-pdr", no_argument, NULL, OPTION_NO_PDR},
    {"mvxworks-pic", no_argument, NULL, OPTION_MVXWORKS_PIC},
index 3a5dc66..9a93728 100644 (file)
@@ -1,6 +1,6 @@
 --- a/bfd/elfxx-mips.c
 +++ b/bfd/elfxx-mips.c
-@@ -5696,9 +5696,9 @@ mips_elf_create_dynamic_relocation (bfd 
+@@ -5696,9 +5696,9 @@ mips_elf_create_dynamic_relocation (bfd
  
    /* We must now calculate the dynamic symbol table index to use
       in the relocation.  */