http://sourceware.org/bugzilla/show_bug.cgi?id=14852

--- Comment #1 from Igor Pashev <pashev.igor at gmail dot com> 2012-11-16 
10:12:18 UTC ---
# cat /usr/bin/ld-gnu-to-sun 
#!/bin/sh

set -e
set -u

cmd=/usr/bin/sunld

while [ $# -ne 0 ]; do
    case "$1" in
        # GCC with GNU ld passes -m <emulation>,
        # Sun ld does not need it, and -m options has different meaning:
        -m) shift || true;;

        # Ignore long options, Sun ld does not support long options at all:
        --*) ;;

        *) cmd="$cmd $1" ;;
    esac
    shift || true
done

# Trace:
set -x
exec $cmd

exit 0

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to