added two scripts for building gnu gcc and mpss gcc (both are broken sofar)
[barrelfish] / tools / k1om / binutils-2.22+mpss3.2-barrelfish.patch
index 35cb7ee..20cd88d 100644 (file)
@@ -24,7 +24,8 @@ index 5324d39a21cb..3f0119ab2649 100644
 +    ;;
 +    k1om-*-barrelfish*)
 +    targ_defvec=bfd_elf64_k1om_vec
-+    targ_selvecs="bfd_elf64_x86_64_vec"
++    targ_selvecs="bfd_elf64_x86_64_vec bfd_elf64_k1om_vec bfd_elf64_l1om_vec"
+#+    targ_selvecs="bfd_elf64_k1om_vec bfd_elf64_l1om_vec"
 +    want64=true ;;
    k1om-*-mingw* | k1om-*-pe | k1om-*-pep)
      targ_defvec=bfd_elf64_k1om_vec
@@ -157,9 +158,11 @@ index c50730b9c514..27702cbedc3a 100644
                        targ_extra_libpath="elf_i386 elf32_x86_64 elf_x86_64"
                        tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'`
                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;;
-+k1om-*-barrelfish*)   targ_emul=barrelfish_k1om
-+                      targ_extra_emuls="elf_k1om barrelfish_x86_64 elf_x86_64"
-+                      targ_extra_libpath="elf_k1om barrelfish_x86_64 elf_x86_64" ;;
++k1om-*-barrelfish*)   targ_emul=elf_k1om
++                      targ_extra_emuls="barrelfish_k1om barrelfish_x86_64 elf_x86_64"
+#+                     targ_extra_emuls="barrelfish_k1om"
++                      targ_extra_libpath="barrelfish_k1om elf_k1om barrelfish_x86_64 elf_x86_64" ;;
+#+                     targ_extra_libpath="elf_k1om" ;;
 +x86_64-*-barrelfish*) targ_emul=barrelfish_x86_64 ;;
  x86_64-*-linux-*)     targ_emul=elf_x86_64
                        targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om"