OSDN Git Service

* config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 7 Oct 2009 14:00:05 +0000 (14:00 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Wed, 7 Oct 2009 14:00:05 +0000 (14:00 +0000)
versions slightly more than nothing.

gas/ChangeLog
gas/config/tc-arm.c

index e9e9aac..d77f274 100644 (file)
@@ -1,5 +1,8 @@
 2009-10-07  Nathan Sidwell  <nathan@codesourcery.com>
 
+       * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
+       versions slightly more than nothing.
+
        * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
 
 2009-10-07  Alan Modra  <amodra@bigpond.net.au>
index 1ffc273..2c70923 100644 (file)
@@ -2577,8 +2577,8 @@ mapping_state_2 (enum mstate state, int max_chars)
   make_mapping_symbol (state, (valueT) frag_now_fix () - max_chars, frag_now);
 }
 #else
-#define mapping_state(x) /* nothing */
-#define mapping_state_2(x, y) /* nothing */
+#define mapping_state(x) ((void)0)
+#define mapping_state_2(x, y) ((void)0)
 #endif
 
 /* Find the real, Thumb encoded start of a Thumb function.  */