From: Nathan Sidwell Date: Wed, 7 Oct 2009 14:00:06 +0000 (+0000) Subject: * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d31060819e9df1090eb3a0f901e2ae75b84090ba;p=binutils-gdb.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 e9e9aac5993..d77f274af5c 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 1ffc27302d4..2c70923f293 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. */