Replace -linux-gnux32 with -linux-gnu
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 24 Jun 2012 21:47:45 +0000 (21:47 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 24 Jun 2012 21:47:45 +0000 (21:47 +0000)
ld/configure.tgt

index d69ce6fa17a72d413db3a0b5517994cb598b94fc..e58f4b8b30cc389919286bc804a9f752fa5eaa26 100644 (file)
@@ -207,8 +207,8 @@ i[3-7]86-*-linux-*) targ_emul=elf_i386
 x86_64-*-linux-gnux32) targ_emul=elf32_x86_64
                        targ_extra_emuls="elf_x86_64 elf_i386 i386linux elf_l1om elf_k1om"
                        targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om elf_k1om"
-                       tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/' -e 's/x32//'`
-                       tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/x32//'` ;;
+                       tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'`
+                       tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;;
 x86_64-*-linux-*)      targ_emul=elf_x86_64
                        targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om"
                        targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om"
This page took 0.024273 seconds and 4 git commands to generate.