OSDN Git Service

2005-01-14 Hans-Peter Nilsson <hp@axis.com>
authorjjohnstn <jjohnstn>
Sat, 15 Jan 2005 00:17:49 +0000 (00:17 +0000)
committerjjohnstn <jjohnstn>
Sat, 15 Jan 2005 00:17:49 +0000 (00:17 +0000)
        * libnosys/warning.h (__make_section_unallocated)
        [HAVE_ASM_PREVIOUS_DIRECTIVE, HAVE_ASM_POPSECTION_DIRECTIVE]: Use "\n"
        instead of ";" to delimit assembly lines.

libgloss/ChangeLog
libgloss/libnosys/warning.h

index 4a1d990..16857b8 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-14  Hans-Peter Nilsson  <hp@axis.com>
+                                                                                
+        * libnosys/warning.h (__make_section_unallocated)
+        [HAVE_ASM_PREVIOUS_DIRECTIVE, HAVE_ASM_POPSECTION_DIRECTIVE]: Use "\n"
+        instead of ";" to delimit assembly lines.
+                                                                                
 2005-01-07  Paul Brook  <paul@codesourcery.com>
                                                                                 
        * arm/crt0.S: Call __libc_{init,fini}_array instead of
index 2c29982..8ab03e4 100644 (file)
@@ -7,10 +7,10 @@
 /* We want the .gnu.warning.SYMBOL section to be unallocated.  */
 #  ifdef HAVE_ASM_PREVIOUS_DIRECTIVE
 #   define __make_section_unallocated(section_string)   \
-  asm(".section " section_string "; .previous");
+  asm(".section " section_string "\n .previous");
 #  elif defined (HAVE_ASM_POPSECTION_DIRECTIVE)
 #   define __make_section_unallocated(section_string)   \
-  asm(".pushsection " section_string "; .popsection");
+  asm(".pushsection " section_string "\n .popsection");
 #  else
 #   define __make_section_unallocated(section_string)
 #  endif