blob: 62f008409e8f8ccabaa86abaf6ad00b1461f136f [file] [log] [blame]
Reid Spencer7d8311f2007-02-09 03:09:26 +00001#!/bin/sh
2##===- tools/gccld/gccld.sh ------------------------------------*- bash -*-===##
3#
4# The LLVM Compiler Infrastructure
5#
6# This file was developed by Reid Spencer and is distributed under the
7# University of Illinois Open Source License. See LICENSE.TXT for details.
8#
9##===----------------------------------------------------------------------===##
10#
11# Synopsis: This shell script is a replacement for the old "gccld" tool that
12# existed in LLVM versions before 2.0. The functionality of gccld has
13# now been moved to llvm-ld. This shell script provides backwards
14# compatibility so build environments invoking gccld can still get
15# link (under the covers) with llvm-ld.
16#
17# Syntax: gccld OPTIONS... (see llvm-ld for details)
18#
19##===----------------------------------------------------------------------===##
20#
Reid Spencerf49262e2007-02-09 03:12:21 +000021echo "gccld: This tool is deprecated, please use llvm-ld"
Reid Spencer7d8311f2007-02-09 03:09:26 +000022TOOLDIR=@TOOLDIR@
23$TOOLDIR/llvm-ld "$@"