diff options
author | Alan Modra <amodra@gmail.com> | 2009-10-18 13:33:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-10-18 13:33:20 +0000 |
commit | c5ed243be1a6f9e44fdf02257c5b2ff8d5bca7d5 (patch) | |
tree | 9750ffbb2edbd0176586f0ff96bd1dfd59ca3508 | |
parent | a75b90823cb7536a3079e702a160de64bb8aaec9 (diff) | |
download | gdb-c5ed243be1a6f9e44fdf02257c5b2ff8d5bca7d5.zip gdb-c5ed243be1a6f9e44fdf02257c5b2ff8d5bca7d5.tar.gz gdb-c5ed243be1a6f9e44fdf02257c5b2ff8d5bca7d5.tar.bz2 |
* as.h (know): Don't define as empty.
* config/tc-arm.c (make_mapping_symbol): Revert last patch.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/as.h | 2 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 48ff21e..31c5d13 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-10-18 Alan Modra <amodra@bigpond.net.au> + + * as.h (know): Don't define as empty. + * config/tc-arm.c (make_mapping_symbol): Revert last patch. + 2009-10-18 Matthias Klose <doko@ubuntu.com> * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body @@ -238,7 +238,7 @@ typedef addressT valueT; #define know(p) gas_assert(p) /* Verify our assumptions! */ #endif /* not yet defined */ #else -#define know(p) /* know() checks are no-op.ed */ +#define know(p) do {} while (0) /* know() checks are no-op.ed */ #endif /* input_scrub.c */ diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index bb30073..2c70923 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -2489,9 +2489,7 @@ make_mapping_symbol (enum mstate state, valueT value, fragS *frag) frag->tc_frag_data.first_map = symbolP; } if (frag->tc_frag_data.last_map != NULL) - { - know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP)); - } + know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP)); frag->tc_frag_data.last_map = symbolP; } |