summaryrefslogtreecommitdiff
path: root/libc/string/cris
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-04-24 09:24:59 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-04-24 09:24:59 +0000
commit1d8abd74c4ae9b28035b549345f9f736cdb98c10 (patch)
tree9a534ad59f2ddfc18076a92e3331128d4c5bd2da /libc/string/cris
parent1db4be5334a327dde925c73b8d924440257cf487 (diff)
- fixup asm. No object-code changes
Diffstat (limited to 'libc/string/cris')
-rw-r--r--libc/string/cris/memcpy.c2
-rw-r--r--libc/string/cris/memset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/cris/memcpy.c b/libc/string/cris/memcpy.c
index a85108109..a00688ab0 100644
--- a/libc/string/cris/memcpy.c
+++ b/libc/string/cris/memcpy.c
@@ -130,7 +130,7 @@ void *memcpy(void *pdst,
here (beware: they may be moved to temporary registers).
This way, we do not have to save/move the registers around into
temporaries; we can safely use them straight away. */
- __asm__ volatile ("\
+ __asm__ __volatile__ ("\
.syntax no_register_prefix \n\
\n\
;; Check that the register asm declaration got right. \n\
diff --git a/libc/string/cris/memset.c b/libc/string/cris/memset.c
index 7e71bc50f..2d1602c5d 100644
--- a/libc/string/cris/memset.c
+++ b/libc/string/cris/memset.c
@@ -124,7 +124,7 @@ void *memset(void *pdst,
here (beware: they may be moved to temporary registers).
This way, we do not have to save/move the registers around into
temporaries; we can safely use them straight away. */
- __asm__ volatile (" \n\
+ __asm__ __volatile__ (" \n\
.syntax no_register_prefix \n\
\n\
;; Check that the register asm declaration got right. \n\