aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-01-18 10:02:47 +0100
committerMartin Liska <mliska@suse.cz>2022-01-18 10:19:02 +0100
commitff7aeceb6b3a476c3bac66a7f39a5ef4240206fc (patch)
tree935407885c88a8d0f4441941272b9f18c6a9fb12
parent903e846578b8a97c311a6e120edbd116a8b3f992 (diff)
downloadgcc-ff7aeceb6b3a476c3bac66a7f39a5ef4240206fc.zip
gcc-ff7aeceb6b3a476c3bac66a7f39a5ef4240206fc.tar.gz
gcc-ff7aeceb6b3a476c3bac66a7f39a5ef4240206fc.tar.bz2
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.
-rw-r--r--gcc/ada/adaint.c2
-rw-r--r--gcc/ada/ctrl_c.c2
-rw-r--r--gcc/ada/gsocket.h2
-rw-r--r--gcc/ada/init.c2
-rw-r--r--gcc/ada/libgnarl/s-intman.ads2
-rw-r--r--gcc/ada/libgnarl/s-osinte__android.ads2
-rw-r--r--gcc/ada/libgnarl/s-osinte__darwin.ads2
-rw-r--r--gcc/ada/libgnarl/s-osinte__hpux.ads2
-rw-r--r--gcc/ada/libgnarl/s-osinte__linux.ads2
-rw-r--r--gcc/ada/libgnarl/s-osinte__qnx.ads2
-rw-r--r--gcc/ada/libgnarl/s-taskin.ads2
-rw-r--r--gcc/ada/rtfinal.c2
12 files changed, 12 insertions, 12 deletions
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
index b7b7d74..591d033 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 b32baa0..eeec3e6 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 aaeca95..e7284a1 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 7ee1977..6b6ed5f 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 4d5ab60..aef5a77 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 9ef3e30..f4434f6 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 12bb1aa..1856ce9 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 a1cf316..feaedcc 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 3230f28c..7c9e7ca 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 af87700..c7a887a 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 c4f42fe..2e6a0bb 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 ba7c61e..543e3a2 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"