Stop the linker from accepting executable ELF files as inputs to other links.
[deliverable/binutils-gdb.git] / ld / configure.tgt
index ced5d1f9924d6a1d0c0fdff8431d0136c8c1e234..c166da885b6152409cb0f7a5873b589518606783 100644 (file)
@@ -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
@@ -1114,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.02466 seconds and 4 git commands to generate.