aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorGeert Bosch <bosch@gnat.com>2001-10-04 19:50:42 +0200
committerGeert Bosch <bosch@gcc.gnu.org>2001-10-04 19:50:42 +0200
commit5d1a969896604bf347957520a7f4f55500fc9232 (patch)
tree69861f374b6070650fbda79f1fc0e6fbc6313e69 /gcc/ada/init.c
parentd3d43aabbd50deea95b18f395c43b6ff9a9fc19f (diff)
downloadgcc-5d1a969896604bf347957520a7f4f55500fc9232.zip
gcc-5d1a969896604bf347957520a7f4f55500fc9232.tar.gz
gcc-5d1a969896604bf347957520a7f4f55500fc9232.tar.bz2
3lsoccon.ads: Added file, missed with initial check ins.
* 3lsoccon.ads: Added file, missed with initial check ins. * 4lintnam.ads: Fix header format. Change Linux to GNU/Linux. * 5iosinte.adb: Change Linux to GNU/Linux. * 5iosinte.ads: Change Linux to GNU/Linux. * 5itaprop.adb: Change Linux to GNU/Linux. * 5itaspri.ads: Change Linux to GNU/Linux. Update copyright notice. * 5lintman.adb: Change Linux to GNU/Linux. * 5lml-tgt.adb: Change Linux to GNU/Linux. * 5losinte.ads: Change Linux to GNU/Linux. * 5lsystem.ads: Change Linux to GNU/Linux. * 5qosinte.adb: Change Linux to GNU/Linux. * 5qosinte.ads: Change Linux to GNU/Linux. * 5qparame.ads: Change Linux to GNU/Linux. * 5qtaprop.adb: Change Linux to GNU/Linux. * 5qtaspri.ads: Change Linux to GNU/Linux. Add 2001 to copyright notice. * 5vintman.ads: Change Linux to GNU/Linux. Fix header format. Add 2001 to copyright notice. * g-soccon.ads: Change Linux to GNU/Linux. * g-trasym.ads: Change Linux to GNU/Linux. Add 2001 to copyright notice. * memtrack.adb: Change Linux to GNU/Linux. * s-intman.ads: Change Linux to GNU/Linux. Add 2001 to copyright notice. Fix header format. * s-stache.adb: Change Linux to GNU/Linux. * adaint.c: Change Linux to GNU/Linux. * cio.c: Change Linux to GNU/Linux. * cstreams.c: Change Linux to GNU/Linux. * init.c: Change Linux to GNU/Linux. * gmem.c: Change Linux to GNU/Linux. * tracebak.c: Change Linux to GNU/Linux. From-SVN: r46011
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 77d0d6f..4b80816 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -4,7 +4,7 @@
* *
* I N I T *
* *
- * $Revision: 1.1 $
+ * $Revision$
* *
* C Implementation File *
* *
@@ -525,7 +525,7 @@ __gnat_initialize ()
/*************************************/
-/* __gnat_initialize (Linux version) */
+/* __gnat_initialize (GNU/Linux version) */
/*************************************/
#elif defined (linux) && defined (i386) && !defined (__RT__)
@@ -533,7 +533,8 @@ __gnat_initialize ()
#include <signal.h>
#include <asm/sigcontext.h>
-/* Linux with GNU libc does not define NULL in included header files */
+/* GNU/Linux, which uses glibc, does not define NULL in included
+ header files */
#if !defined (NULL)
#define NULL ((void *) 0)
@@ -561,10 +562,11 @@ __gnat_error_handler (sig)
struct sigcontext *info
= (struct sigcontext *) (((char *) &sig) + sizeof (int));
- /* Linux does not document how to get the machine state in a signal handler,
- but in fact the necessary data is in a sigcontext_struct value that is
- on the stack immediately above the signal number parameter, and the
- above messing accesses this value on the stack. */
+
+ /* The Linux kernel does not document how to get the machine state in a
+ signal handler, but in fact the necessary data is in a sigcontext_struct
+ value that is on the stack immediately above the signal number
+ parameter, and the above messing accesses this value on the stack. */
struct Machine_State *mstate;