about summary refs log tree commit diff
path: root/csu
diff options
context:
space:
mode:
Diffstat (limited to 'csu')
-rw-r--r--csu/abi-note.S2
-rw-r--r--csu/gmon-start.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/csu/abi-note.S b/csu/abi-note.S
index a5014ab5cc..6050883d34 100644
--- a/csu/abi-note.S
+++ b/csu/abi-note.S
@@ -50,7 +50,7 @@ offset	length	contents
    Linux community) use note type 1 and a vendor name string of "GNU"
    for a note descriptor that indicates ABI requirements.  The note data
    is four 32-bit words.  The first of these is an operating system
-   number (0=Hurd, 1=Linux, 2=Solaris, ...) and the remaining three
+   number (0=Linux, 1=Hurd, 2=Solaris, ...) and the remaining three
    identify the earliest release of that OS that supports this ABI.
    See abi-tags (top level) for details. */
 
diff --git a/csu/gmon-start.c b/csu/gmon-start.c
index b5ad6f6ae8..e5b45333cd 100644
--- a/csu/gmon-start.c
+++ b/csu/gmon-start.c
@@ -49,8 +49,10 @@ __gmon_start__ (void)
      into every shared library, each of their init functions will call us.  */
   static int called;
 
-  if (called++)
+  if (called)
     return;
+
+  called = 1;
 #endif
 
   /* Start keeping profiling records.  */