diff options
author | YamaArashi <shadow962@live.com> | 2016-07-24 11:39:52 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-07-24 11:39:52 -0700 |
commit | 71785b8fc6c42b1f0fc482f38f6a3e32f878efef (patch) | |
tree | 3857b92a890fa823e4d253b3f58ff1596c0cd102 /gcc/toplev.c | |
parent | d3de54b9e1cf35ce1cf248d30fa6b6a90f7849fd (diff) |
add -fhex-asm option
Diffstat (limited to 'gcc/toplev.c')
-rwxr-xr-x | gcc/toplev.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index a39ae12..241900d 100755 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -581,6 +581,9 @@ int flag_strict_aliasing = 0; /* Instrument functions with calls at entry and exit, for profiling. */ int flag_instrument_function_entry_exit = 0; +/* Use hex instead of decimal in ASM output. */ +int flag_hex_asm = 0; + typedef struct { char *string; @@ -717,7 +720,9 @@ lang_independent_options f_options[] = {"dump-unnumbered", &flag_dump_unnumbered, 1, "Suppress output of instruction numbers and line number notes in debugging dumps"}, {"instrument-functions", &flag_instrument_function_entry_exit, 1, - "Instrument function entry/exit with profiling calls"} + "Instrument function entry/exit with profiling calls"}, + {"hex-asm", &flag_hex_asm, 1, + "Use hex instead of decimal in assembly output"}, }; #define NUM_ELEM(a) (sizeof (a) / sizeof ((a)[0])) |