summaryrefslogtreecommitdiffstats
path: root/binutils-2.22/ld/genscripts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.22/ld/genscripts.sh')
-rwxr-xr-xbinutils-2.22/ld/genscripts.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/binutils-2.22/ld/genscripts.sh b/binutils-2.22/ld/genscripts.sh
index 4f97c08..61981bd 100755
--- a/binutils-2.22/ld/genscripts.sh
+++ b/binutils-2.22/ld/genscripts.sh
@@ -241,8 +241,7 @@ if [ "x${use_sysroot}" != "xyes" ] ; then
fi
fi
-# For Android, comment out LIB_SEARCH_DIRS.
-#LIB_SEARCH_DIRS=`echo ${LIB_PATH} | sed -e 's/:/ /g' -e 's/\([^ ][^ ]*\)/SEARCH_DIR(\\"\1\\");/g'`
+LIB_SEARCH_DIRS=`echo ${LIB_PATH} | sed -e 's/:/ /g' -e 's/\([^ ][^ ]*\)/SEARCH_DIR(\\"\1\\");/g'`
# We need it for testsuite.
set $EMULATION_LIBPATH
@@ -308,7 +307,6 @@ LD_FLAG=
DATA_ALIGNMENT=${DATA_ALIGNMENT_}
RELOCATING=" "
( echo "/* Default linker script, for normal executables */"
- echo "/* Modified for Android. */"
. ${CUSTOMIZER_SCRIPT}
. ${srcdir}/scripttempl/${SCRIPT_NAME}.sc
) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.x
@@ -362,7 +360,6 @@ if test -n "$GENERATE_SHLIB_SCRIPT"; then
DATA_ALIGNMENT=${DATA_ALIGNMENT_sc-${DATA_ALIGNMENT}}
COMBRELOC=ldscripts/${EMULATION_NAME}.xsc.tmp
( echo "/* Script for --shared -z combreloc: shared library, combine & sort relocs */"
- echo "/* Modified for Android. */"
. ${CUSTOMIZER_SCRIPT}
. ${srcdir}/scripttempl/${SCRIPT_NAME}.sc
) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xsc