diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 00:00:49 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 00:02:18 -0500 |
commit | 0960c785ac2e4e166c19e4eaa36ff4ac913e7eb6 (patch) | |
tree | 6be5ace6c49c802976e4b92464c6b474629aa4e0 /sim/mn10300 | |
parent | 2f84390fd496ef153d7402896466f6303f249479 (diff) | |
download | binutils-0960c785ac2e4e166c19e4eaa36ff4ac913e7eb6.zip binutils-0960c785ac2e4e166c19e4eaa36ff4ac913e7eb6.tar.gz binutils-0960c785ac2e4e166c19e4eaa36ff4ac913e7eb6.tar.bz2 |
sim: mn10300: fix LAST_TIMER_REG typo
The compiler pointed out that we're testing LAST_TIMER_REG and
LAST_COUNTER which are the same value ... and that's because we
set LAST_TIMER_REG to the wrong register. Fix the typo.
Diffstat (limited to 'sim/mn10300')
-rw-r--r-- | sim/mn10300/dv-mn103tim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mn10300/dv-mn103tim.c b/sim/mn10300/dv-mn103tim.c index 95ebc82..b1844a6 100644 --- a/sim/mn10300/dv-mn103tim.c +++ b/sim/mn10300/dv-mn103tim.c @@ -86,7 +86,7 @@ enum timer_register_types { TM6MDB, TM6CA, TM6CB, - LAST_TIMER_REG = TM6BC, + LAST_TIMER_REG = TM6CB, }; |