diff options
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index e9e9aac599..d77f274af5 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 1ffc27302d..2c70923f29 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. */ |