aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2009-10-07 14:00:06 +0000
committerNathan Sidwell <nathan@codesourcery.com>2009-10-07 14:00:06 +0000
commitd31060819e9df1090eb3a0f901e2ae75b84090ba (patch)
treee70e8c20fad37265773d1410bfde8261761f86ba /gas
parent5a5829dd4345a105c089f266d9ba3624460757b7 (diff)
downloadgdb-d31060819e9df1090eb3a0f901e2ae75b84090ba.zip
gdb-d31060819e9df1090eb3a0f901e2ae75b84090ba.tar.gz
gdb-d31060819e9df1090eb3a0f901e2ae75b84090ba.tar.bz2
* config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
versions slightly more than nothing.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-arm.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e9e9aac..d77f274 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 1ffc273..2c70923 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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. */