From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 876683857C40; Tue, 18 Jan 2022 09:19:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 876683857C40 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-6659] Ada: Revert filename changes in comments. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: 903e846578b8a97c311a6e120edbd116a8b3f992 X-Git-Newrev: ff7aeceb6b3a476c3bac66a7f39a5ef4240206fc Message-Id: <20220118091932.876683857C40@sourceware.org> Date: Tue, 18 Jan 2022 09:19:32 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2022 09:19:32 -0000 https://gcc.gnu.org/g:ff7aeceb6b3a476c3bac66a7f39a5ef4240206fc commit r12-6659-gff7aeceb6b3a476c3bac66a7f39a5ef4240206fc Author: Martin Liska Date: Tue Jan 18 10:02:47 2022 +0100 Ada: Revert filename changes in comments. gcc/ada/ChangeLog: * adaint.c: Revert filename changes in comments. * ctrl_c.c (dummy_handler): Likewise. * gsocket.h: Likewise. * init.c (__gnat_error_handler): Likewise. * libgnarl/s-intman.ads: Likewise. * libgnarl/s-osinte__android.ads: Likewise. * libgnarl/s-osinte__darwin.ads: Likewise. * libgnarl/s-osinte__hpux.ads: Likewise. * libgnarl/s-osinte__linux.ads: Likewise. * libgnarl/s-osinte__qnx.ads: Likewise. * libgnarl/s-taskin.ads: Likewise. * rtfinal.c: Likewise. Diff: --- gcc/ada/adaint.c | 2 +- gcc/ada/ctrl_c.c | 2 +- gcc/ada/gsocket.h | 2 +- gcc/ada/init.c | 2 +- gcc/ada/libgnarl/s-intman.ads | 2 +- gcc/ada/libgnarl/s-osinte__android.ads | 2 +- gcc/ada/libgnarl/s-osinte__darwin.ads | 2 +- gcc/ada/libgnarl/s-osinte__hpux.ads | 2 +- gcc/ada/libgnarl/s-osinte__linux.ads | 2 +- gcc/ada/libgnarl/s-osinte__qnx.ads | 2 +- gcc/ada/libgnarl/s-taskin.ads | 2 +- gcc/ada/rtfinal.c | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index b7b7d7483dd..591d033fbca 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -172,7 +172,7 @@ extern "C" { #include "mingw32.h" -/* Current code page and CCS encoding to use, set in initialize.cc. */ +/* Current code page and CCS encoding to use, set in initialize.c. */ UINT __gnat_current_codepage; UINT __gnat_current_ccs_encoding; diff --git a/gcc/ada/ctrl_c.c b/gcc/ada/ctrl_c.c index b32baa01b3b..eeec3e64f70 100644 --- a/gcc/ada/ctrl_c.c +++ b/gcc/ada/ctrl_c.c @@ -61,7 +61,7 @@ void __gnat_uninstall_int_handler (void); void dummy_handler () {} -/* Lives in init.cc. */ +/* Lives in init.c. */ extern void (*__gnat_ctrl_c_handler) (void); #endif diff --git a/gcc/ada/gsocket.h b/gcc/ada/gsocket.h index aaeca95ba87..e7284a1ef4e 100644 --- a/gcc/ada/gsocket.h +++ b/gcc/ada/gsocket.h @@ -246,7 +246,7 @@ * mutual exclusion * * See "Handling of gethostbyname, gethostbyaddr, getservbyname and - * getservbyport" in socket.cc for details. + * getservbyport" in socket.c for details. */ #if defined (HAVE_GETxxxBYyyy_R) diff --git a/gcc/ada/init.c b/gcc/ada/init.c index 7ee1977279b..6b6ed5fb058 100644 --- a/gcc/ada/init.c +++ b/gcc/ada/init.c @@ -542,7 +542,7 @@ __gnat_error_handler (int sig, siginfo_t *si ATTRIBUTE_UNUSED, void *ucontext) before the faulting address is accessible. Unfortunately, Linux seems to have no way of giving us the faulting address. - In old versions of init.cc, we had a test of the page before the + In old versions of init.c, we had a test of the page before the stack pointer: ((volatile char *) diff --git a/gcc/ada/libgnarl/s-intman.ads b/gcc/ada/libgnarl/s-intman.ads index 4d5ab60f68f..aef5a779f75 100644 --- a/gcc/ada/libgnarl/s-intman.ads +++ b/gcc/ada/libgnarl/s-intman.ads @@ -105,7 +105,7 @@ private (C, Adjust_Context_For_Raise, "__gnat_adjust_context_for_raise"); -- Target specific hook performing adjustments to the signal's machine -- context, to be called before an exception may be raised from a signal - -- handler. This service is provided by init.cc, together with the + -- handler. This service is provided by init.c, together with the -- non-tasking signal handler. end System.Interrupt_Management; diff --git a/gcc/ada/libgnarl/s-osinte__android.ads b/gcc/ada/libgnarl/s-osinte__android.ads index 9ef3e30a2bd..f4434f68b22 100644 --- a/gcc/ada/libgnarl/s-osinte__android.ads +++ b/gcc/ada/libgnarl/s-osinte__android.ads @@ -309,7 +309,7 @@ package System.OS_Interface is -- The alternate signal stack for stack overflows Alternate_Stack_Size : constant := 16 * 1024; - -- This must be in keeping with init.cc:__gnat_alternate_stack + -- This must be in keeping with init.c:__gnat_alternate_stack Stack_Base_Available : constant Boolean := False; -- Indicates whether the stack base is available on this target diff --git a/gcc/ada/libgnarl/s-osinte__darwin.ads b/gcc/ada/libgnarl/s-osinte__darwin.ads index 12bb1aad648..1856ce9ee58 100644 --- a/gcc/ada/libgnarl/s-osinte__darwin.ads +++ b/gcc/ada/libgnarl/s-osinte__darwin.ads @@ -288,7 +288,7 @@ package System.OS_Interface is -- The alternate signal stack for stack overflows Alternate_Stack_Size : constant := 32 * 1024; - -- This must be in keeping with init.cc:__gnat_alternate_stack + -- This must be in keeping with init.c:__gnat_alternate_stack Stack_Base_Available : constant Boolean := False; -- Indicates whether the stack base is available on this target. This diff --git a/gcc/ada/libgnarl/s-osinte__hpux.ads b/gcc/ada/libgnarl/s-osinte__hpux.ads index a1cf316657d..feaedcc0654 100644 --- a/gcc/ada/libgnarl/s-osinte__hpux.ads +++ b/gcc/ada/libgnarl/s-osinte__hpux.ads @@ -293,7 +293,7 @@ package System.OS_Interface is -- The alternate signal stack for stack overflows Alternate_Stack_Size : constant := 128 * 1024; - -- This must be in keeping with init.cc:__gnat_alternate_stack + -- This must be in keeping with init.c:__gnat_alternate_stack Stack_Base_Available : constant Boolean := False; -- Indicates whether the stack base is available on this target diff --git a/gcc/ada/libgnarl/s-osinte__linux.ads b/gcc/ada/libgnarl/s-osinte__linux.ads index 3230f28c38b..7c9e7ca4518 100644 --- a/gcc/ada/libgnarl/s-osinte__linux.ads +++ b/gcc/ada/libgnarl/s-osinte__linux.ads @@ -331,7 +331,7 @@ package System.OS_Interface is pragma Import (C, sigaltstack, "sigaltstack"); Alternate_Stack_Size : constant := 32 * 1024; - -- This must be in keeping with init.cc:__gnat_alternate_stack + -- This must be in keeping with init.c:__gnat_alternate_stack Alternate_Stack : aliased char_array (1 .. Alternate_Stack_Size); pragma Import (C, Alternate_Stack, "__gnat_alternate_stack"); diff --git a/gcc/ada/libgnarl/s-osinte__qnx.ads b/gcc/ada/libgnarl/s-osinte__qnx.ads index af877006d99..c7a887abee2 100644 --- a/gcc/ada/libgnarl/s-osinte__qnx.ads +++ b/gcc/ada/libgnarl/s-osinte__qnx.ads @@ -310,7 +310,7 @@ package System.OS_Interface is -- sigaltstack in QNX Alternate_Stack_Size : constant := 0; - -- This must be kept in sync with init.cc:__gnat_alternate_stack + -- This must be kept in sync with init.c:__gnat_alternate_stack Stack_Base_Available : constant Boolean := False; -- Indicates whether the stack base is available on this target diff --git a/gcc/ada/libgnarl/s-taskin.ads b/gcc/ada/libgnarl/s-taskin.ads index c4f42fe1f7e..2e6a0bb3bcf 100644 --- a/gcc/ada/libgnarl/s-taskin.ads +++ b/gcc/ada/libgnarl/s-taskin.ads @@ -776,7 +776,7 @@ package System.Tasking is Unspecified_Priority : constant Integer := -1; -- Indicates that a task has an unspecified priority. This is hardcoded as -- -1 rather than System.Priority'First - 1 as the value needs to be used - -- in init.cc to specify that the main task has no specified priority. + -- in init.c to specify that the main task has no specified priority. Priority_Not_Boosted : constant Integer := System.Priority'First - 1; -- Definition of Priority actually has to come from the RTS configuration diff --git a/gcc/ada/rtfinal.c b/gcc/ada/rtfinal.c index ba7c61e7b07..543e3a29f07 100644 --- a/gcc/ada/rtfinal.c +++ b/gcc/ada/rtfinal.c @@ -43,7 +43,7 @@ extern void __gnat_runtime_finalize (void); Note that __gnat_runtime_finalize() is called in adafinal() */ extern int __gnat_rt_init_count; -/* see initialize.cc */ +/* see initialize.c */ #if defined (__MINGW32__) #include "mingw32.h"