https://gcc.gnu.org/g:2c4b09f979fc591f3c6f74005def5d3e8809a39d
commit r17-1294-g2c4b09f979fc591f3c6f74005def5d3e8809a39d Author: Piotr Trojanek <[email protected]> Date: Tue Apr 14 12:49:49 2026 +0200 ada: Complete removal of obsolete project manager sources 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. Diff: --- gcc/ada/adaint.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index cf8851260676..db871d1e102e 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 = '%';
