diff options
author | Martin Liska <mliska@suse.cz> | 2021-05-11 00:44:25 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-05-11 01:07:20 +0200 |
commit | 0c54d25a7686406a11f44f58261a9e63821022b7 (patch) | |
tree | 3352df6c3d67780f0023aeb17980b35ac034a05f /gcc/ada/version.c | |
parent | 77804c9a62fa40d132b7b3a22320a75b06a63ca5 (diff) | |
download | gcc-0c54d25a7686406a11f44f58261a9e63821022b7.zip gcc-0c54d25a7686406a11f44f58261a9e63821022b7.tar.gz gcc-0c54d25a7686406a11f44f58261a9e63821022b7.tar.bz2 |
Fix missing version_string in Ada
gcc/ada/
PR bootstrap/100506
* Make-generated.in: Replace version.c with ada/version.c.
* gcc-interface/Make-lang.in: Add version.o to GNAT1_C_OBJS.
Add version.o to GNAT_ADA_OBJS and GNATBIND_OBJS.
* gcc-interface/Makefile.in: Add version.o to TOOLS_LIBS.
* gnatvsn.adb: Start using a new C symbol gnat_version_string.
* version.c: New file.
Diffstat (limited to 'gcc/ada/version.c')
-rw-r--r-- | gcc/ada/version.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gcc/ada/version.c b/gcc/ada/version.c new file mode 100644 index 0000000..e6cc612 --- /dev/null +++ b/gcc/ada/version.c @@ -0,0 +1,34 @@ +/**************************************************************************** + * * + * GNAT COMPILER COMPONENTS * + * * + * V E R S I O N * + * * + * C Implementation File * + * * + * Copyright (C) 2021, Free Software Foundation, Inc. * + * * + * GNAT is free software; you can redistribute it and/or modify it under * + * terms of the GNU General Public License as published by the Free Soft- * + * ware Foundation; either version 3, or (at your option) any later ver- * + * sion. GNAT is distributed in the hope that it will be useful, but WITH- * + * OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * + * or FITNESS FOR A PARTICULAR PURPOSE. * + * * + * As a special exception under Section 7 of GPL version 3, you are granted * + * additional permissions described in the GCC Runtime Library Exception, * + * version 3.1, as published by the Free Software Foundation. * + * * + * You should have received a copy of the GNU General Public License and * + * a copy of the GCC Runtime Library Exception along with this program; * + * see the files COPYING3 and COPYING.RUNTIME respectively. If not, see * + * <http://www.gnu.org/licenses/>. * + * * + * GNAT was originally developed by the GNAT team at New York University. * + * Extensive contributions were provided by Ada Core Technologies Inc. * + * * + ****************************************************************************/ + +#include "version.h" + +char gnat_version_string[] = version_string; |