summaryrefslogtreecommitdiff
path: root/toolchain/elf2flt/elf2flt/ld-elf2flt.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-06 05:05:14 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-06 05:05:14 +0000
commit2602a031ce298eafa58d358c8119fd51b8b2763b (patch)
treeaf25efe02d73741fcd91ef3787100cb7a461a633 /toolchain/elf2flt/elf2flt/ld-elf2flt.in
parent8a5ad03f14a95d8351ce9b2397ac8b263c3d8de6 (diff)
sync with upstream cvs
Diffstat (limited to 'toolchain/elf2flt/elf2flt/ld-elf2flt.in')
-rw-r--r--toolchain/elf2flt/elf2flt/ld-elf2flt.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/elf2flt/elf2flt/ld-elf2flt.in b/toolchain/elf2flt/elf2flt/ld-elf2flt.in
index 140b4f928..613dcbf97 100644
--- a/toolchain/elf2flt/elf2flt/ld-elf2flt.in
+++ b/toolchain/elf2flt/elf2flt/ld-elf2flt.in
@@ -15,12 +15,12 @@
LINKER="$0.real" # the original renamed-linker
ELF2FLT="`expr $0 : '\(.*\)ld'`elf2flt"
TOOLDIR="`dirname $0`" # let gcc find the tools for us
-LDSCRIPTPATH="${TOOLDIR}/../@target_alias@/lib" # and the scripts
+LDSCRIPTPATH="@binutils_ldscript_dir@" # and the scripts
SHARED_ID=""
NEWLDSCRIPT=""
# check TOOLDIR from prefix/bin/ or prefix/target-alias/bin/
-[ -d "${TOOLDIR}/../@target_alias@/lib" ] || LDSCRIPTPATH="${TOOLDIR}/../lib"
+[ -d "${LDSCRIPTPATH}" ] || LDSCRIPTPATH="${TOOLDIR}/../lib"
#
# if we have the elf2flt options, run it