scripts/build/binutils/binutils-ld.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Apr 05 23:34:16 2011 +0200 (2011-04-05)
changeset 2375 1752ade7dc52
permissions -rw-r--r--
binutils/binutils: also install the wrapper for the internall ld

ld is also installed in PREFIX/TUPLE/bin, so we need to wrap that
as well.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 #!/bin/sh
     2 
     3 call_to=@@DEFAULT_LD@@
     4 
     5 case "${CTNG_LD_IS}" in
     6     bfd)    call_to=bfd;;
     7     gold)   call_to=gold;;
     8 esac
     9 
    10 exec "${0}.${call_to}" "$@"
    11 exit $?