scripts/build/binutils/binutils-ld.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Apr 15 00:05:53 2011 +0200 (2011-04-15)
changeset 2541 7cce5c8fc79a
permissions -rw-r--r--
cc/gcc: fix passing args with spaces when calling core gcc

Spaces in arguments to the core gcc backend were not handled.

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 $?