xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/jit-spec.c (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
1 /* Dummy flag and argument handling of the jit "front-end".
2    Copyright (C) 2015-2020 Free Software Foundation, Inc.
3 
4 This file is part of GCC.
5 
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
10 
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3.  If not see
18 <http://www.gnu.org/licenses/>.  */
19 
20 #include "config.h"
21 #include "system.h"
22 #include "coretypes.h"
23 
24 /* Filter command line before processing by the gcc driver proper.  */
25 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)26 lang_specific_driver (struct cl_decoded_option **in_decoded_options ATTRIBUTE_UNUSED,
27 		      unsigned int *in_decoded_options_count ATTRIBUTE_UNUSED,
28 		      int *in_added_libraries ATTRIBUTE_UNUSED)
29 {
30   /* Not used for jit.  */
31 }
32 
33 /* Called before linking.  Returns 0 on success and -1 on failure.  */
34 int
lang_specific_pre_link(void)35 lang_specific_pre_link (void)
36 {
37   return 0;  /* Not used for jit.  */
38 }
39 
40 /* Number of extra output files that lang_specific_pre_link may generate.  */
41 int lang_specific_extra_outfiles = 0;  /* Not used for jit.  */
42