+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.
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
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
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