aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
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/doc
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/doc')
-rw-r--r--gas/doc/as.texinfo8
-rw-r--r--gas/doc/c-m32c.texi7
2 files changed, 14 insertions, 1 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index fbbfa21..165eca7 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -331,7 +331,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
@ifset M32C
@emph{Target M32C options:}
- [@b{-m32c}|@b{-m16c}]
+ [@b{-m32c}|@b{-m16c}] [-relax] [-h-tick-hex]
@end ifset
@ifset M32R
@@ -765,6 +765,12 @@ Assemble M32C instructions.
@item -m16c
Assemble M16C instructions (the default).
+@item -relax
+Enable support for link-time relaxations.
+
+@item -h-tick-hex
+Support H'00 style hex constants in addition to 0x00 style.
+
@end table
@end ifset
diff --git a/gas/doc/c-m32c.texi b/gas/doc/c-m32c.texi
index a49fe20..026f6a2 100644
--- a/gas/doc/c-m32c.texi
+++ b/gas/doc/c-m32c.texi
@@ -45,6 +45,13 @@ Assemble M32C instructions.
@cindex architecture options, M16C
@cindex M16C architecture option
Assemble M16C instructions (default).
+
+@item -relax
+Enable support for link-time relaxations.
+
+@item -h-tick-hex
+Support H'00 style hex constants in addition to 0x00 style.
+
@end table