BR 3392437: Fix diagnostic for negative value in TIMES
commit94ead27971de001aea5b403130b2a94cf152ebd4
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 27 Sep 2017 22:22:23 +0000 (27 15:22 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 27 Sep 2017 22:22:23 +0000 (27 15:22 -0700)
treeb333727f7ffea0e725e4272e01838e4c7b0e07e7
parent230db148a32468468ee5f4979c6b08b0848e1e22
BR 3392437: Fix diagnostic for negative value in TIMES

Issue a diagnostic and don't panic for invalid TIMES values.

Reported-by: C. Masloch <pushbx@38.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
asm/assemble.c
asm/parser.c
test/timesneg.asm [new file with mode: 0644]