aboutsummaryrefslogtreecommitdiff
path: root/gas/as.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/as.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/as.h')
-rw-r--r--gas/as.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index 56c7d2e..35162fe 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -615,6 +615,10 @@ int generic_force_reloc (struct fix *);
#endif
#include "listing.h"
+#ifdef H_TICK_HEX
+extern int enable_h_tick_hex;
+#endif
+
#ifdef TC_M68K
/* True if we are assembling in m68k MRI mode. */
COMMON int flag_m68k_mri;