mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* 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.
This commit is contained in:
@ -1,3 +1,22 @@
|
|||||||
|
2008-08-06 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2008-08-05 Alan Modra <amodra@bigpond.net.au>
|
2008-08-05 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
PR gas/6656
|
PR gas/6656
|
||||||
|
3
gas/NEWS
3
gas/NEWS
@ -1,4 +1,7 @@
|
|||||||
-*- text -*-
|
-*- text -*-
|
||||||
|
* New command line option, -h-tick-hex, for sh, m32c, and h8/300 targets, which
|
||||||
|
adds compatibility with H'00 style hex constants.
|
||||||
|
|
||||||
* New command line option, -msse-check=[none|error|warning], for x86
|
* New command line option, -msse-check=[none|error|warning], for x86
|
||||||
targets.
|
targets.
|
||||||
|
|
||||||
|
@ -2018,8 +2018,11 @@ md_atof (int type, char *litP, int *sizeP)
|
|||||||
return ieee_md_atof (type, litP, sizeP, TRUE);
|
return ieee_md_atof (type, litP, sizeP, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define OPTION_H_TICK_HEX (OPTION_MD_BASE)
|
||||||
|
|
||||||
const char *md_shortopts = "";
|
const char *md_shortopts = "";
|
||||||
struct option md_longopts[] = {
|
struct option md_longopts[] = {
|
||||||
|
{ "h-tick-hex", no_argument, NULL, OPTION_H_TICK_HEX },
|
||||||
{NULL, no_argument, NULL, 0}
|
{NULL, no_argument, NULL, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2028,7 +2031,16 @@ size_t md_longopts_size = sizeof (md_longopts);
|
|||||||
int
|
int
|
||||||
md_parse_option (int c ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED)
|
md_parse_option (int c ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
|
switch (c)
|
||||||
|
{
|
||||||
|
case OPTION_H_TICK_HEX:
|
||||||
|
enable_h_tick_hex = 1;
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -89,3 +89,5 @@ extern int SXmode;
|
|||||||
|
|
||||||
/* This target is buggy, and sets fix size too large. */
|
/* This target is buggy, and sets fix size too large. */
|
||||||
#define TC_FX_SIZE_SLACK(FIX) 1
|
#define TC_FX_SIZE_SLACK(FIX) 1
|
||||||
|
|
||||||
|
#define H_TICK_HEX 1
|
||||||
|
@ -3096,6 +3096,7 @@ enum options
|
|||||||
OPTION_NO_EXPAND,
|
OPTION_NO_EXPAND,
|
||||||
OPTION_PT32,
|
OPTION_PT32,
|
||||||
#endif
|
#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. */
|
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},
|
{"no-expand", no_argument, NULL, OPTION_NO_EXPAND},
|
||||||
{"expand-pt32", no_argument, NULL, OPTION_PT32},
|
{"expand-pt32", no_argument, NULL, OPTION_PT32},
|
||||||
#endif /* HAVE_SH64 */
|
#endif /* HAVE_SH64 */
|
||||||
|
{ "h-tick-hex", no_argument, NULL, OPTION_H_TICK_HEX },
|
||||||
|
|
||||||
{NULL, no_argument, NULL, 0}
|
{NULL, no_argument, NULL, 0}
|
||||||
};
|
};
|
||||||
@ -3252,6 +3254,10 @@ md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
|
|||||||
break;
|
break;
|
||||||
#endif /* HAVE_SH64 */
|
#endif /* HAVE_SH64 */
|
||||||
|
|
||||||
|
case OPTION_H_TICK_HEX:
|
||||||
|
enable_h_tick_hex = 1;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -247,3 +247,5 @@ extern int sh_regname_to_dw2regnum (char *regname);
|
|||||||
#define DWARF2_CIE_DATA_ALIGNMENT (-4)
|
#define DWARF2_CIE_DATA_ALIGNMENT (-4)
|
||||||
|
|
||||||
#endif /* OBJ_ELF */
|
#endif /* OBJ_ELF */
|
||||||
|
|
||||||
|
#define H_TICK_HEX 1
|
||||||
|
@ -293,7 +293,9 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
|
|||||||
[@b{-O}|@b{-n}|@b{-N}]
|
[@b{-O}|@b{-n}|@b{-N}]
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset H8
|
@ifset H8
|
||||||
@c Renesas family chips have no machine-dependent assembler options
|
|
||||||
|
@emph{Target H8/300 options:}
|
||||||
|
[-h-tick-hex]
|
||||||
@end ifset
|
@end ifset
|
||||||
@ifset HPPA
|
@ifset HPPA
|
||||||
@c HPPA has no machine-dependent assembler options (yet).
|
@c HPPA has no machine-dependent assembler options (yet).
|
||||||
|
@ -20,10 +20,16 @@
|
|||||||
@node H8/300 Options
|
@node H8/300 Options
|
||||||
@section Options
|
@section Options
|
||||||
|
|
||||||
@cindex H8/300 options (none)
|
@cindex H8/300 options
|
||||||
@cindex options, H8/300 (none)
|
@cindex options, H8/300
|
||||||
@code{@value{AS}} has no additional command-line options for the
|
The Renesas H8/300 version of @code{@value{AS}} has one
|
||||||
Renesas (formerly Hitachi) H8/300 family.
|
machine-dependent option:
|
||||||
|
|
||||||
|
@table @code
|
||||||
|
@item -h-tick-hex
|
||||||
|
Support H'00 style hex constants in addition to 0x00 style.
|
||||||
|
|
||||||
|
@end table
|
||||||
|
|
||||||
@node H8/300 Syntax
|
@node H8/300 Syntax
|
||||||
@section Syntax
|
@section Syntax
|
||||||
|
@ -30,7 +30,7 @@ change the default to the M32C microprocessor.
|
|||||||
@cindex options, M32C
|
@cindex options, M32C
|
||||||
@cindex M32C options
|
@cindex M32C options
|
||||||
|
|
||||||
The Renesas M32C version of @code{@value{AS}} has two
|
The Renesas M32C version of @code{@value{AS}} has these
|
||||||
machine-dependent options:
|
machine-dependent options:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
|
@ -63,6 +63,9 @@ Enable sh2e, sh3e, sh4, and sh4a insn sets.
|
|||||||
@item --isa=all
|
@item --isa=all
|
||||||
Enable sh1, sh2, sh2e, sh3, sh3e, sh4, sh4a, and sh-dsp insn sets.
|
Enable sh1, sh2, sh2e, sh3, sh3e, sh4, sh4a, and sh-dsp insn sets.
|
||||||
|
|
||||||
|
@item -h-tick-hex
|
||||||
|
Support H'00 style hex constants in addition to 0x00 style.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node SH Syntax
|
@node SH Syntax
|
||||||
|
@ -65,6 +65,9 @@ Do not expand MOVI, PT, PTA or PTB instructions.
|
|||||||
@item -expand-pt32
|
@item -expand-pt32
|
||||||
With -abi=64, expand PT, PTA and PTB instructions to 32 bits only.
|
With -abi=64, expand PT, PTA and PTB instructions to 32 bits only.
|
||||||
|
|
||||||
|
@item -h-tick-hex
|
||||||
|
Support H'00 style hex constants in addition to 0x00 style.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@node SH64 Syntax
|
@node SH64 Syntax
|
||||||
|
Reference in New Issue
Block a user