summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccld
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-09 03:09:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-09 03:09:26 +0000
commit6c302d8403b0ccffafaa66085b329e02ddd7e4c3 (patch)
tree9bf3e6a364ce88ff6ad939070ae0284ffd3da035 /llvm/tools/gccld
parent1ed974aded3ff260d7cc0ee789617af7e6592821 (diff)
downloadbcm5719-llvm-6c302d8403b0ccffafaa66085b329e02ddd7e4c3.tar.gz
bcm5719-llvm-6c302d8403b0ccffafaa66085b329e02ddd7e4c3.zip
New shell script to replace gccld, eventually.
llvm-svn: 34074
Diffstat (limited to 'llvm/tools/gccld')
-rw-r--r--llvm/tools/gccld/gccld.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/llvm/tools/gccld/gccld.sh b/llvm/tools/gccld/gccld.sh
new file mode 100644
index 00000000000..9952518ffec
--- /dev/null
+++ b/llvm/tools/gccld/gccld.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+##===- tools/gccld/gccld.sh ------------------------------------*- bash -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+#
+# Synopsis: This shell script is a replacement for the old "gccld" tool that
+# existed in LLVM versions before 2.0. The functionality of gccld has
+# now been moved to llvm-ld. This shell script provides backwards
+# compatibility so build environments invoking gccld can still get
+# link (under the covers) with llvm-ld.
+#
+# Syntax: gccld OPTIONS... (see llvm-ld for details)
+#
+##===----------------------------------------------------------------------===##
+#
+echo "gccas: This tool is deprecated, please use opt"
+TOOLDIR=@TOOLDIR@
+$TOOLDIR/llvm-ld "$@"
OpenPOWER on IntegriCloud