OSDN Git Service

* config/tc-m32c.h (H_TICK_HEX): Define.
authorDJ Delorie <dj@delorie.com>
Fri, 18 Jul 2008 22:25:07 +0000 (22:25 +0000)
committerDJ Delorie <dj@delorie.com>
Fri, 18 Jul 2008 22:25:07 +0000 (22:25 +0000)
commitadb85d503fb14c2dea3f71bfed0f739e20f7cf3b
treedec80d4756c60f0cebf75ce8091ae2767b804e24
parent425e31ef7474e6768bd3a299b3b779dff102b51c
* 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.
gas/ChangeLog
gas/app.c
gas/as.h
gas/config/tc-m32c.c
gas/config/tc-m32c.h
gas/doc/as.texinfo
gas/doc/c-m32c.texi