summaryrefslogtreecommitdiff
path: root/gcc/exec-tool.in
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-01 13:15:28 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-01 13:15:28 +0000
commitfeeb6596a18e42225d0f25a03b35c564d9a10ebb (patch)
tree7e6fb5e50aa3f901480410fc04ba058b6f0e94fa /gcc/exec-tool.in
parentacc16a01c06415b69d0a54c9e86f4ec72665ee54 (diff)
downloadgcc-feeb6596a18e42225d0f25a03b35c564d9a10ebb.tar.gz
2010-12-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167323 2010-12-01 Basile Starynkevitch <basile@starynkevitch.net> {{merged with trunk rev 167323, and regenerated}} * melt/generated/warmelt-normatch.0+01.c: Regenerate. * melt/generated/warmelt-first.0.c: Regenerate. * melt/generated/warmelt-normal.0.c: Regenerate. * melt/generated/warmelt-normatch.0+03.c: Regenerate. * melt/generated/warmelt-macro.0.c: Regenerate. * melt/generated/warmelt-outobj.0.c: Regenerate. * melt/generated/warmelt-genobj.0.c: Regenerate. * melt/generated/warmelt-normal.0+01.c: Regenerate. * melt/generated/warmelt-normal.0+02.c: Regenerate. * melt/generated/warmelt-base.0.c: Regenerate. * melt/generated/warmelt-normatch.0.c: Regenerate. * melt/generated/warmelt-genobj.0+01.c: Regenerate. * melt/generated/warmelt-genobj.0+03.c: Regenerate. * melt/generated/warmelt-genobj.0+04.c: Regenerate. * melt/generated/warmelt-debug.0.c: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167327 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/exec-tool.in')
-rw-r--r--gcc/exec-tool.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/exec-tool.in b/gcc/exec-tool.in
index 0ae8f2aa73a..dff73a6ca41 100644
--- a/gcc/exec-tool.in
+++ b/gcc/exec-tool.in
@@ -28,6 +28,7 @@ fast_install=@enable_fast_install@
objdir=@objdir@
invoked=`basename "$0"`
+id=$invoked
case "$invoked" in
as)
original=$ORIGINAL_AS_FOR_TARGET
@@ -44,6 +45,7 @@ case "$invoked" in
fi
prog=ld-new$exeext
dir=ld
+ id=ld
;;
nm)
original=$ORIGINAL_NM_FOR_TARGET
@@ -68,9 +70,11 @@ case "$original" in
# libtool has not relinked ld-new yet, but we cannot just use the
# previous stage (because then the relinking would just never happen!).
# So we take extra care to use prev-ld/ld-new *on recursive calls*.
+ eval LT_RCU="\${LT_RCU_$id}"
test x"$LT_RCU" = x"1" && exec $scriptdir/../prev-$dir/$prog ${1+"$@"}
- LT_RCU=1; export LT_RCU
+ eval LT_RCU_$id=1
+ export LT_RCU_$id
$scriptdir/../$dir/$prog ${1+"$@"}
result=$?
exit $result
@@ -83,5 +87,3 @@ case "$original" in
exec $original ${1+"$@"}
;;
esac
-
-