Stop the linker from accepting executable ELF files as inputs to other links.
[deliverable/binutils-gdb.git] / ld / configure.tgt
index 23194e357f8eee50f06a6ff2b36f4e431190dade..c166da885b6152409cb0f7a5873b589518606783 100644 (file)
@@ -347,7 +347,8 @@ i[3-7]86-*-solaris*)        targ_emul=elf_i386_ldso
                        ;;
 i[3-7]86-*-netbsdelf* | \
 i[3-7]86-*-netbsd*-gnu* | \
-i[3-7]86-*-knetbsd*-gnu)
+i[3-7]86-*-knetbsd*-gnu | \
+i[3-7]86-*-openbsd*)
                        targ_emul=elf_i386
                        targ_extra_emuls="elf_iamcu"
                        ;;
@@ -377,7 +378,6 @@ i[3-7]86-*-msdos*)  targ_emul=i386msdos
                        ;;
 i[3-7]86-*-moss*)      targ_emul=i386moss
                        targ_extra_emuls=i386msdos
-                       targ_extra_ofiles=
                        ;;
 i[3-7]86-*-winnt*)     targ_emul=i386pe ;
                        targ_extra_ofiles="deffilep.o pe-dll.o"
@@ -775,6 +775,8 @@ rs6000-*-aix*)              targ_emul=aixrs6
                        ;;
 rl78-*-*)              targ_emul=elf32rl78
                        ;;
+rx-*-linux*)           targ_emul=elf32rx_linux
+                       ;;
 rx-*-*)                        targ_emul=elf32rx
                        ;;
 s12z-*-*)              targ_emul=m9s12zelf
@@ -947,7 +949,8 @@ x86_64-*-solaris2*) targ_emul=elf_x86_64_sol2
                        targ_extra_libpath=$targ_extra_emuls
                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
                        ;;
-x86_64-*-netbsd*)      targ_emul=elf_x86_64
+x86_64-*-netbsd* | x86_64-*-openbsd*)
+                       targ_emul=elf_x86_64
                        targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om"
                        tdir_elf_iamcu=`echo ${targ_alias} | \
                            sed -e 's/x86_64/i386/'`
@@ -1113,11 +1116,14 @@ frv-*-* | hppa*-*-* | ia64-*-* | mips*-*-*)
   ;;
 esac
 
-# Enable -z separate-code by default for Linux/x86.
+# Enable -z separate-code and --warn-textrel by default for Linux/x86.
 case "${target}" in
 i[3-7]86-*-linux-* | x86_64-*-linux-*)
   if test ${ac_default_ld_z_separate_code} = unset; then
     ac_default_ld_z_separate_code=1
   fi
+  if test ${ac_default_ld_textrel_check} = unset; then
+    ac_default_ld_textrel_check=yes
+  fi
   ;;
 esac
This page took 0.024792 seconds and 4 git commands to generate.