* netbsd.h (COLLECT_SHARED_INIT_FUNC)
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 14 Dec 2001 11:03:49 +0000 (11:03 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 14 Dec 2001 11:03:49 +0000 (11:03 +0000)
(COLLECT_SHARD_FINI_FUNC): Remove redundant semicolon.
* doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
(COLLECT_SHARD_FINI_FUNC): Use @code where appropriate.

From-SVN: r47996

gcc/ChangeLog
gcc/config/netbsd.h
gcc/doc/tm.texi

index c91c357e5acbeeaa60d0bea1030263269ccb86b1..f8f2a83bdfd80bf516da37ba4b8071ab92c4c754 100644 (file)
@@ -1,3 +1,10 @@
+2001-12-14  Richard Earnshaw  <rearnsha@arm.com>
+
+       * netbsd.h (COLLECT_SHARED_INIT_FUNC)
+       (COLLECT_SHARD_FINI_FUNC): Remove redundant semicolon.
+       * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
+       (COLLECT_SHARD_FINI_FUNC): Use @code where appropriate.
+
 2001-12-13  Richard Henderson  <rth@redhat.com>
 
        * regrename.c (kill_value_regno): Simplify chain removal.
index 35e671baacb8bcffefb5e8440e60a22652e97e47..a7b10b33f3e8dce62ccbce4c93c718dcd33c8fc3 100644 (file)
   do {                                                                 \
     fprintf ((STREAM), "void __init() __asm__ (\".init\");");          \
     fprintf ((STREAM), "void __init() {\n\t%s();\n}\n", (FUNC));       \
-  } while (0);
+  } while (0)
 
 #define COLLECT_SHARED_FINI_FUNC(STREAM,FUNC)                          \
   do {                                                                 \
     fprintf ((STREAM), "void __fini() __asm__ (\".fini\");");          \
     fprintf ((STREAM), "void __fini() {\n\t%s();\n}\n", (FUNC));       \
-  } while (0);
+  } while (0)
 
 /* This defines which switch letters take arguments. */
 #undef SWITCH_TAKES_ARG
index 55d38ff1dd2ff63913734db51846d8e4ad97890c..c0105a84017ce171988d13de5de6d254de77ff23 100644 (file)
@@ -6643,7 +6643,7 @@ If defined, a C statement that will write a function that can be
 automatically called when a shared library is loaded.  The function
 should call @var{func}, which takes no arguments.  If not defined, and
 the object format requires an explicit initialization function, then a
-function called @var{_GLOBAL__DI} will be generated.
+function called @code{_GLOBAL__DI} will be generated.
 
 This function and the following one are used by collect2 when linking a
 shared library that needs constructors or destructors, or has DWARF2 
@@ -6654,7 +6654,7 @@ If defined, a C statement that will write a function that can be
 automatically called when a shared library is unloaded.  The function
 should call @var{func}, which takes no arguments.  If not defined, and
 the object format requires an explicit finalization function, then a
-function called @var{_GLOBAL__DD} will be generated.
+function called @code{_GLOBAL__DD} will be generated.
 
 @item INVOKE__main
 @findex INVOKE__main