* Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
[deliverable/binutils-gdb.git] / ld / emulparams / elf32ppc.sh
index 5df2e0909a3d04b0ea5b2d2bbc3a8a0ca7dbaac6..f0fb0050dd9c28dd4a3efdfbd8f0488a27a2c58e 100644 (file)
@@ -17,22 +17,22 @@ OTHER_READWRITE_SECTIONS="
   .got1         ${RELOCATING-0} : { *(.got1) }
   .got2         ${RELOCATING-0} : { *(.got2) }
 "
+OTHER_GOT_RELOC_SECTIONS="
+  .rela.got1         ${RELOCATING-0} : { *(.rela.got1) }
+  .rela.got2         ${RELOCATING-0} : { *(.rela.got2) }
+"
 
 # Treat a host that matches the target with the possible exception of "64"
 # in the name as if it were native.
 if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
-    case " $EMULATION_LIBPATH " in
-      *" ${EMULATION_NAME} "*)
-       LIB_PATH=${libdir}
-       for lib in ${NATIVE_LIB_DIRS}; do
-         case :${LIB_PATH}: in
-           *:${lib}:*) ;;
-           *) LIB_PATH=${LIB_PATH}:${lib} ;;
-         esac
-       done
-       # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
-       case "$EMULATION_NAME" in
-         *64*) LIB_PATH=`echo ${LIB_PATH}: | sed -e s,:,64:,g`$LIB_PATH
-       esac
-    esac
+  case " $EMULATION_LIBPATH " in
+    *" ${EMULATION_NAME} "*)
+      NATIVE=yes
+      ;;
+  esac
 fi
+
+# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
+case "$EMULATION_NAME" in
+  *64*) LIBPATH_SUFFIX=64 ;;
+esac
This page took 0.042778 seconds and 4 git commands to generate.