diff options
author | 2003-05-30 13:23:25 +0000 | |
---|---|---|
committer | 2003-05-30 13:23:25 +0000 | |
commit | cdaeef2eb5f895b31ca8665b10712c4f3b64976e (patch) | |
tree | d0d19069c3bbd01de2a6b23f4d295becde941bd6 /ld/genscripts.sh | |
parent | (arm_elf_before_allocation): Replace ASSERT with a test for a NULL (diff) | |
download | binutils-gdb-cdaeef2eb5f895b31ca8665b10712c4f3b64976e.tar.gz binutils-gdb-cdaeef2eb5f895b31ca8665b10712c4f3b64976e.tar.bz2 binutils-gdb-cdaeef2eb5f895b31ca8665b10712c4f3b64976e.zip |
ld/
2003-05-30 H.J. Lu <hongjiu.lu@intel.com>
* genscripts.sh: Create tmpdir/libpath.exp.
ld/testsuite/
2003-05-30 H.J. Lu <hongjiu.lu@intel.com>
* config/default.exp: Load tmpdir/libpath.exp.
(gcc_ld_flag): Set from $libpath.
Diffstat (limited to 'ld/genscripts.sh')
-rwxr-xr-x | ld/genscripts.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/genscripts.sh b/ld/genscripts.sh index 39d97ae9fb3..fdfc37dd89f 100755 --- a/ld/genscripts.sh +++ b/ld/genscripts.sh @@ -119,6 +119,15 @@ fi LIB_SEARCH_DIRS=`echo ${LIB_PATH} | sed -e 's/:/ /g' -e 's/\([^ ][^ ]*\)/SEARCH_DIR(\\"\1\\");/g'` +# We need it for testsuite. +case " $EMULATION_LIBPATH " in + *" ${EMULATION_NAME} "*) + test -d tmpdir || mkdir tmpdir + rm -f tmpdir/libpath + echo "set libpath \"${LIB_PATH}\"" | sed -e 's/:/ /g' > tmpdir/libpath.exp + ;; +esac + # Generate 5 or 6 script files from a master script template in # ${srcdir}/scripttempl/${SCRIPT_NAME}.sh. Which one of the 5 or 6 # script files is actually used depends on command line options given |