xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/jit-spec.c (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
136ac495dSmrg /* Dummy flag and argument handling of the jit "front-end".
2*8feb0f0bSmrg    Copyright (C) 2015-2020 Free Software Foundation, Inc.
336ac495dSmrg 
436ac495dSmrg This file is part of GCC.
536ac495dSmrg 
636ac495dSmrg GCC is free software; you can redistribute it and/or modify it under
736ac495dSmrg the terms of the GNU General Public License as published by the Free
836ac495dSmrg Software Foundation; either version 3, or (at your option) any later
936ac495dSmrg version.
1036ac495dSmrg 
1136ac495dSmrg GCC is distributed in the hope that it will be useful, but WITHOUT ANY
1236ac495dSmrg WARRANTY; without even the implied warranty of MERCHANTABILITY or
1336ac495dSmrg FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1436ac495dSmrg for more details.
1536ac495dSmrg 
1636ac495dSmrg You should have received a copy of the GNU General Public License
1736ac495dSmrg along with GCC; see the file COPYING3.  If not see
1836ac495dSmrg <http://www.gnu.org/licenses/>.  */
1936ac495dSmrg 
2036ac495dSmrg #include "config.h"
2136ac495dSmrg #include "system.h"
2236ac495dSmrg #include "coretypes.h"
2336ac495dSmrg 
2436ac495dSmrg /* Filter command line before processing by the gcc driver proper.  */
2536ac495dSmrg void
lang_specific_driver(struct cl_decoded_option ** in_decoded_options ATTRIBUTE_UNUSED,unsigned int * in_decoded_options_count ATTRIBUTE_UNUSED,int * in_added_libraries ATTRIBUTE_UNUSED)2636ac495dSmrg lang_specific_driver (struct cl_decoded_option **in_decoded_options ATTRIBUTE_UNUSED,
2736ac495dSmrg 		      unsigned int *in_decoded_options_count ATTRIBUTE_UNUSED,
2836ac495dSmrg 		      int *in_added_libraries ATTRIBUTE_UNUSED)
2936ac495dSmrg {
3036ac495dSmrg   /* Not used for jit.  */
3136ac495dSmrg }
3236ac495dSmrg 
3336ac495dSmrg /* Called before linking.  Returns 0 on success and -1 on failure.  */
3436ac495dSmrg int
lang_specific_pre_link(void)3536ac495dSmrg lang_specific_pre_link (void)
3636ac495dSmrg {
3736ac495dSmrg   return 0;  /* Not used for jit.  */
3836ac495dSmrg }
3936ac495dSmrg 
4036ac495dSmrg /* Number of extra output files that lang_specific_pre_link may generate.  */
4136ac495dSmrg int lang_specific_extra_outfiles = 0;  /* Not used for jit.  */
42