summaryrefslogtreecommitdiff
path: root/tools
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
commit7d8311fe1c1f5f99e3145acb4c8a08b54eeab71c (patch)
tree20cafeb4f304f0bf0e837701c1d88f99c71b8e40 /tools
parent708585ad8f3fcf9d54d6738b83d22b023f775429 (diff)
downloadllvm-7d8311fe1c1f5f99e3145acb4c8a08b54eeab71c.tar.gz
llvm-7d8311fe1c1f5f99e3145acb4c8a08b54eeab71c.tar.bz2
llvm-7d8311fe1c1f5f99e3145acb4c8a08b54eeab71c.tar.xz
New shell script to replace gccld, eventually.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34074 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/gccld/gccld.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/gccld/gccld.sh b/tools/gccld/gccld.sh
new file mode 100644
index 0000000000..9952518ffe
--- /dev/null
+++ b/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 "$@"