mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* h8300s now new target, not alias of h8300h
This commit is contained in:
@@ -110,6 +110,7 @@ typedef enum {
|
||||
OPTION_HELP,
|
||||
#ifdef SIM_H8300 /* FIXME: Should be movable to h8300 dir. */
|
||||
OPTION_H8300,
|
||||
OPTION_H8300S,
|
||||
#endif
|
||||
OPTION_LOAD_LMA,
|
||||
OPTION_LOAD_VMA,
|
||||
@@ -152,7 +153,10 @@ static const OPTION standard_options[] =
|
||||
|
||||
#ifdef SIM_H8300 /* FIXME: Should be movable to h8300 dir. */
|
||||
{ {"h8300h", no_argument, NULL, OPTION_H8300},
|
||||
'h', NULL, "Indicate the CPU is h8/300h or h8/300s",
|
||||
'h', NULL, "Indicate the CPU is h8/300h",
|
||||
standard_option_handler },
|
||||
{ {"h8300s", no_argument, NULL, OPTION_H8300S},
|
||||
'S', NULL, "Indicate the CPU is h8/300s",
|
||||
standard_option_handler },
|
||||
#endif
|
||||
|
||||
@@ -354,7 +358,10 @@ standard_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt,
|
||||
|
||||
#ifdef SIM_H8300 /* FIXME: Can be moved to h8300 dir. */
|
||||
case OPTION_H8300:
|
||||
set_h8300h (1);
|
||||
set_h8300h (1,0);
|
||||
break;
|
||||
case OPTION_H8300S:
|
||||
set_h8300h (1,1);
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user