• nickc's avatar
    * gcc.c (this_is_linker_script): New variable. Like · d7ee9e9b
    nickc authored
            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
    d7ee9e9b
m32c.h 19.9 KB