LIB_PATH problem on powerpc
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Thu Jul 1 00:00:00 GMT 1999
Am Fre, 11 Jun 1999 schrieb Franz Sirl:
>Am Fri, 11 Jun 1999 schrieb Richard Henderson:
>>On Mon, Jun 07, 1999 at 08:49:09PM -0400, Daniel Jacobowitz wrote:
>>> LIB_PATH has gotten broken on powerpc, and I think the elf32ppclinux
>>> changes are to blame.
>>
>>Try this.
>
>This patch works fine, both scripts get the same search patch.
Actually there's a small glitch in your patch, you missed one incarnation of
$DEFAULT_EMULATION. This small addition fixes it:
--- genscripts.sh~ Mon Jun 14 17:05:36 1999
+++ genscripts.sh Mon Jun 14 17:08:24 1999
@@ -125,7 +125,9 @@
ldscripts/${EMULATION_NAME}.xs
fi
-test "$DEFAULT_EMULATION" = "$EMULATION_NAME" && COMPILE_IN=true
+for i in $EMULATION_LIBPATH ; do
+ test "$i" = "$EMULATION_NAME" && COMPILE_IN=true
+done
# Generate e${EMULATION_NAME}.c.
. ${srcdir}/emultempl/${TEMPLATE_NAME-generic}.em
Franz.
More information about the Binutils
mailing list