aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2008-08-06 15:42:15 +0000
committerDJ Delorie <dj@redhat.com>2008-08-06 15:42:15 +0000
commit6fd4f6ccfe07f579d41541091ebed1be7e29a82e (patch)
treeabe0e5e4bf26f7b95729d3c5e1ec1ab9b5b34a6d /gas/config/tc-sh.c
parent353cfe88aeecf469c40215069bd79f8352002d49 (diff)
downloadfsf-binutils-gdb-6fd4f6ccfe07f579d41541091ebed1be7e29a82e.zip
fsf-binutils-gdb-6fd4f6ccfe07f579d41541091ebed1be7e29a82e.tar.gz
fsf-binutils-gdb-6fd4f6ccfe07f579d41541091ebed1be7e29a82e.tar.bz2
* NEWS: Mention these changes.
* config/tc-h8300.h (H_TICK_HEX): Define. * config/tc-h8300.c (OPTION_H_TICK_HEX): New. (md_longopts): Add "-h-tick-hex". (md_parse_option): Support it. * doc/c-h8300.texi (H8/300 Options): Document it. * doc/as.texinfo (Overview): Likewise. * config/tc-sh.h (H_TICK_HEX): Define. * config/tc-sh.c (OPTION_H_TICK_HEX): New. (md_longopts): Add "-h-tick-hex". (md_parse_option): Support it. * doc/c-sh.texi (SH Options): Document it. * doc/c-sh64.texi (SH64 Options): Document it. * doc/as.texinfo (Overview): Likewise.
Diffstat (limited to 'gas/config/tc-sh.c')
-rw-r--r--gas/config/tc-sh.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index ac6e17f..2ed1b8e 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -3096,6 +3096,7 @@ enum options
OPTION_NO_EXPAND,
OPTION_PT32,
#endif
+ OPTION_H_TICK_HEX,
OPTION_DUMMY /* Not used. This is just here to make it easy to add and subtract options from this enum. */
};
@@ -3122,6 +3123,7 @@ struct option md_longopts[] =
{"no-expand", no_argument, NULL, OPTION_NO_EXPAND},
{"expand-pt32", no_argument, NULL, OPTION_PT32},
#endif /* HAVE_SH64 */
+ { "h-tick-hex", no_argument, NULL, OPTION_H_TICK_HEX },
{NULL, no_argument, NULL, 0}
};
@@ -3252,6 +3254,10 @@ md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
break;
#endif /* HAVE_SH64 */
+ case OPTION_H_TICK_HEX:
+ enable_h_tick_hex = 1;
+ break;
+
default:
return 0;
}