2007-02-09 04:09:26 +01:00
|
|
|
#!/bin/sh
|
|
|
|
##===- tools/gccld/gccld.sh ------------------------------------*- bash -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-29 21:46:15 +01:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2007-02-09 04:09:26 +01:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
#
|
|
|
|
# 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)
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
#
|
2007-02-09 16:16:59 +01:00
|
|
|
echo "gccld: This tool is deprecated, please use llvm-ld" 1>&2
|
2007-02-09 04:09:26 +01:00
|
|
|
TOOLDIR=@TOOLDIR@
|
|
|
|
$TOOLDIR/llvm-ld "$@"
|