24c24
< /* $FreeBSD: head/contrib/binutils/gas/config/tc-i386.c 78840 2001-06-26 17:56:02Z obrien $ */
---
> /* $FreeBSD: head/contrib/binutils/gas/config/tc-i386.c 85824 2001-11-01 10:07:26Z obrien $ */
1910,1922d1909
< if (i.reg_operands && flag_code < CODE_64BIT)
< {
< int op;
< for (op = i.operands; --op >= 0;)
< if ((i.types[op] & Reg)
< && (i.op[op].regs->reg_flags & (RegRex64|RegRex)))
< {
< as_bad (_("Extended register `%%%s' available only in 64bit mode."),
< i.op[op].regs->reg_name);
< return;
< }
< }
<
4487a4475,4481
> if (r != NULL
> && r->reg_flags & (RegRex64|RegRex)
> && flag_code != CODE_64BIT)
> {
> return (const reg_entry *) NULL;
> }
>
< /* $FreeBSD: head/contrib/binutils/gas/config/tc-i386.c 78840 2001-06-26 17:56:02Z obrien $ */
---
> /* $FreeBSD: head/contrib/binutils/gas/config/tc-i386.c 85824 2001-11-01 10:07:26Z obrien $ */
1910,1922d1909
< if (i.reg_operands && flag_code < CODE_64BIT)
< {
< int op;
< for (op = i.operands; --op >= 0;)
< if ((i.types[op] & Reg)
< && (i.op[op].regs->reg_flags & (RegRex64|RegRex)))
< {
< as_bad (_("Extended register `%%%s' available only in 64bit mode."),
< i.op[op].regs->reg_name);
< return;
< }
< }
<
4487a4475,4481
> if (r != NULL
> && r->reg_flags & (RegRex64|RegRex)
> && flag_code != CODE_64BIT)
> {
> return (const reg_entry *) NULL;
> }
>