From: Nathan Sidwell Date: Wed, 7 Oct 2009 14:00:05 +0000 (+0000) Subject: * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=dbcc66b81bfff246c9e4aef77262a43d16cce63e;p=pf3gnuchains%2Fpf3gnuchains3x.git * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy versions slightly more than nothing. --- 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 + * 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 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. */