Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-01-15 03:17:51 +0300
committerJeff Johnston <jjohnstn@redhat.com>2005-01-15 03:17:51 +0300
commitbbb86f974e4095362ef1a8e8a5a6c66703f50f94 (patch)
treef2b72ab036798919bf2a06207f9ea98e59ebbcbb /libgloss/libnosys
parentaafdf30f7a7b1abfc175039a95657fd60e9ec9b6 (diff)
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.
Diffstat (limited to 'libgloss/libnosys')
-rw-r--r--libgloss/libnosys/warning.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgloss/libnosys/warning.h b/libgloss/libnosys/warning.h
index 2c2998250..8ab03e4e8 100644
--- a/libgloss/libnosys/warning.h
+++ b/libgloss/libnosys/warning.h
@@ -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