From: Piotr Trojanek <[email protected]>

Remove a leftover from a no-longer-existing project manager.

gcc/ada/ChangeLog:

        * adaint.c (__gnat_prj_add_obj_files): Remove; files that referenced
        this variable were removed years ago.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/adaint.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index cf885126067..db871d1e102 100644
--- a/gcc/ada/adaint.c
+++ b/gcc/ada/adaint.c
@@ -3164,18 +3164,6 @@ int __gnat_argument_needs_quote = 1;
 int __gnat_argument_needs_quote = 0;
 #endif
 
-/* This option is used to enable/disable object files handling from the
-   binder file by the GNAT Project module. For example, this is disabled on
-   Windows (prior to GCC 3.4) as it is already done by the mdll module.
-   Stating with GCC 3.4 the shared libraries are not based on mdll
-   anymore as it uses the GCC's -shared option  */
-#if defined (_WIN32) \
-    && ((__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 4)))
-int __gnat_prj_add_obj_files = 0;
-#else
-int __gnat_prj_add_obj_files = 1;
-#endif
-
 /* char used as prefix/suffix for environment variables */
 #if defined (_WIN32)
 char __gnat_environment_char = '%';
-- 
2.53.0

Reply via email to