aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/generic/initfini.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index fa9eaea..9642283 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-06-27 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
+ Add it where it is needed now.
+
* locale/programs/ld-ctype.c (ctype_finish): Take all characters from
the input charset into account when generating the hash table.
(allocate_arrays): Correct setting default width. Not all empty slots
diff --git a/sysdeps/generic/initfini.c b/sysdeps/generic/initfini.c
index 72f8c08..4c43941 100644
--- a/sysdeps/generic/initfini.c
+++ b/sysdeps/generic/initfini.c
@@ -40,7 +40,7 @@
/* We use embedded asm for .section unconditionally, as this makes it
easier to insert the necessary directives into crtn.S. */
-#define SECTION(x) asm (".section " x );
+#define SECTION(x) asm (".section " x )
/* Embed an #include to pull in the alignment and .end directives. */
asm ("\n#include \"defs.h\"");
@@ -61,7 +61,7 @@ asm ("\n/*@TESTS_END*/");
/* The beginning of _init: */
asm ("\n/*@_init_PROLOG_BEGINS*/");
-SECTION (".init")
+SECTION (".init");
void
_init (void)
{
@@ -107,7 +107,7 @@ __gmon_start__ (void)
asm ("\n/*@_init_EPILOG_ENDS*/");
asm ("\n/*@_fini_PROLOG_BEGINS*/");
-SECTION (".fini")
+SECTION (".fini");
void
_fini (void)
{