On 1/18/21 2:09 AM, Gaius Mulley via Gcc-patches wrote: > gcc/ > > * gcc/brig/brigspec.c (lang_register_spec_functions): Added. > * gcc/c-family/cppspec.c (lang_register_spec_functions): Added. > * gcc/c/gccspec.c (lang_register_spec_functions): Added. > * gcc/cp/g++spec.c (lang_register_spec_functions): Added. > * gcc/d/d-spec.cc (lang_register_spec_functions): Added. > * gcc/fortran/gfortranspec.c(lang_register_spec_functions): Added. > * gcc/gcc.c (allow_linker): Global variable to disable > linker by the front end. (xputenv) available externally. > (xgetenv) New function. (save_switch) available externally. > (fe_add_linker_option) New function. (handle_OPT_B) New function. > (fe_add_infile) New function. (fe_mark_compiled) New function. > (driver_handle_option) call handle_OPT_B. (print_option) New > function. (print_options) New function. (dbg_options) New function. > (fe_add_spec_function) New function. (lookup_spec_function) > checks front end registered functions. > (driver::set_up_specs): call lang_register_spec_functions. > (maybe_run_linker): Check allow_linker before running the linker. > * gcc/gcc.h (fe_save_switch): Prototype. > (handle_OPT_B) Prototype. (fe_add_infile) Prototype. > (fe_add_linker_option) Prototype. (fe_add_spec_function) Prototype. > (xputenv) Prototype. (xgetenv) Prototype. (print_options) Prototype. > (print_option) Prototype. (dbg_options) Prototype. > (lang_register_spec_functions) Prototype. > (allow_linker): Extern. > * gcc/go/gospec.c (lang_register_spec_functions): Added.
this is mising the definition of lang_register_spec_functions for the jit build. 2020-03-23 Matthias Klose <d...@ubuntu.com> * jit-spec.c (lang_register_spec_functions): New, not used for jit. --- a/gcc/jit/jit-spec.c +++ b/gcc/jit/jit-spec.c @@ -39,3 +39,9 @@ lang_specific_pre_link (void) /* Number of extra output files that lang_specific_pre_link may generate. */ int lang_specific_extra_outfiles = 0; /* Not used for jit. */ + +/* lang_register_spec_functions. Not used for jit. */ +void +lang_register_spec_functions (void) +{ +}