summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-28 06:25:27 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-28 06:25:27 +0000
commitd16604395d63d06226987ec75f6e7171c579aad6 (patch)
tree2f6548fe63c95e3a27065cc108df535941a17304
parent0e16ecfa1e7689c0b3be626f9a3441ebb5710c70 (diff)
downloadglibc-d16604395d63d06226987ec75f6e7171c579aad6.tar.gz
glibc-d16604395d63d06226987ec75f6e7171c579aad6.tar.xz
glibc-d16604395d63d06226987ec75f6e7171c579aad6.zip
Update.
	* sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
	Add it where it is needed now.
-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 fa9eaeafe8..96422839f1 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 72f8c08574..4c43941ad0 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)
 {