aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m32c.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2008-07-18 22:25:07 +0000
committerDJ Delorie <dj@redhat.com>2008-07-18 22:25:07 +0000
commitc54b5932c549afd2a2b2343ff57f365796237a40 (patch)
tree7881491c1fb579ddc1d7523b8984cad02ea7aa24 /gas/config/tc-m32c.h
parentd7d9f01ea18f14a9a1574042bd65dd73f9b6b2b8 (diff)
downloadgdb-c54b5932c549afd2a2b2343ff57f365796237a40.zip
gdb-c54b5932c549afd2a2b2343ff57f365796237a40.tar.gz
gdb-c54b5932c549afd2a2b2343ff57f365796237a40.tar.bz2
* config/tc-m32c.h (H_TICK_HEX): Define.
* config/tc-m32c.c (OPTION_H_TICK_HEX): Define. (md_longopts): Add support for it. (md_parse_option): Likewise. * doc/as.texinfo (Overview): Add new m32c options. * doc/c-m32c.texi (M32C-Modifiers): Likewise * as.h: (enable_h_tick_hex): New. * app.c (enable_h_tick_hex): New. (LEX_IS_H): New. (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex. (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00 style hex constants and convert the input stream to 0x00 style. (do_scrub_chars): If a 'X style character constant is found after a symbol character (like you're or X'00), warn the user.
Diffstat (limited to 'gas/config/tc-m32c.h')
-rw-r--r--gas/config/tc-m32c.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-m32c.h b/gas/config/tc-m32c.h
index 42e0a27..8fb0355 100644
--- a/gas/config/tc-m32c.h
+++ b/gas/config/tc-m32c.h
@@ -86,3 +86,5 @@ extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
#define TC_START_LABEL(character, i_l_p) \
((character) != ':' ? 0 : (character = m32c_is_colon_insn (s)) ? 0 : ((character = ':'), 1))
extern char m32c_is_colon_insn PARAMS ((char *));
+
+#define H_TICK_HEX 1