* gcc.c (this_is_linker_script): New variable. Like
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Sep 2009 14:48:02 +0000 (14:48 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Sep 2009 14:48:02 +0000 (14:48 +0000)
commitd7ee9e9b2c64ba18bed14efcf05bec2ff8b2c824
tree3854715e81aa3264e87605ef7883f359d39d6ea7
parent75bad54c229bf201f98de053d0d30a6766f0aa93
    * gcc.c (this_is_linker_script): New variable.  Like
        this_is_library_file but for the %T constructor.
        (end_going_arg): If this_is_linker_script is set then locate the
        script and insert a --script switch before it
        (do_spec_2): Initialise this_is_linker_script.
        (do_spec_1): Likewise.  Handle %T construct.
        (eval_spec_function): Preserve this_is_linker_script.
        * doc/invoke.texi: Document %T construct in spec files.
        * config/m32c/m32c.h (LIB_SPEC): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151477 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/m32c/m32c.h
gcc/doc/invoke.texi
gcc/gcc.c