Hi,

please could  you fixup targ_selvecs for amd64 for freebsd/kfreebsd targets.

As turned out, current targ_selvecs  causes trouble for bi-arch (32/64) 
toolchain:
" File format is ambiguous. Matching formats:elf32-i386-freebsd elf32-i386.".
So please, could you just drop  "bfd_elf32_i386_vec bfd_elf64_x86_64_vec" from
targ_selvecs.
The extraneous targets have been introduced by (my) patch in bz#2983.

Thanks in advance.

Petr


--- bfd/config.bfd~ 2007-01-04 12:33:27.000000000 +0100
+++ bfd/config.bfd  2007-01-04 12:33:27.000000000 +0100
@@ -577,7 +577,7 @@
     ;;
   x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
     targ_defvec=bfd_elf64_x86_64_freebsd_vec
-    targ_selvecs="bfd_elf32_i386_freebsd_vec i386coff_vec bfd_efi_app_ia32_vec
bfd_elf32_i386_vec bfd_elf64_x86_64_vec"
+    targ_selvecs="bfd_elf32_i386_freebsd_vec i386coff_vec bfd_efi_app_ia32_vec"
     want64=true
     ;;
   x86_64-*-netbsd* | x86_64-*-openbsd*)

-- 
           Summary: [patch] please fixup targ_selvecs for amd64
           Product: binutils
           Version: 2.18 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: Petr dot Salinger at seznam dot cz
                CC: bug-binutils at gnu dot org
  GCC host triplet: x86_64-kfreebsd-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=3826

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to