summaryrefslogtreecommitdiff
path: root/gcc/elna-spec.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-12-02 10:22:06 +0100
committerEugen Wissner <belka@caraus.de>2025-12-02 17:14:18 +0100
commit23b6f074c7f560d701e9a1fa5713a965af3a18a3 (patch)
tree87549a4eba3da8d8ed6e3fbb2e337e152a8bc96a /gcc/elna-spec.cc
parent5f7d83974114c73327ce9fff3635927df050b5e4 (diff)
downloadelna-23b6f074c7f560d701e9a1fa5713a965af3a18a3.tar.gz
Merge GCC frontend into the branch
Diffstat (limited to 'gcc/elna-spec.cc')
-rw-r--r--gcc/elna-spec.cc31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/elna-spec.cc b/gcc/elna-spec.cc
new file mode 100644
index 0000000..5d1ace1
--- /dev/null
+++ b/gcc/elna-spec.cc
@@ -0,0 +1,31 @@
+/* Specific flags and argument handling of the Elna front end.
+ Copyright (C) 2025 Free Software Foundation, Inc.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+void lang_specific_driver(struct cl_decoded_option ** /* in_decoded_options */,
+ unsigned int * /* in_decoded_options_count */,
+ int * /*in_added_libraries */)
+{
+}
+
+/* Called before linking. Returns 0 on success and -1 on failure. */
+int lang_specific_pre_link(void)
+{
+ return 0;
+}
+
+/* Number of extra output files that lang_specific_pre_link may generate. */
+int lang_specific_extra_outfiles = 0;