This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v3] [MIPS] GAS: Fix Loongson3 LLSC errata
- From: Nick Clifton <nickc at redhat dot com>
- To: YunQiang Su <syq at debian dot org>, binutils at sourceware dot org
- Cc: paul dot hua dot gm at gmail dot com
- Date: Tue, 19 Feb 2019 17:58:29 +0000
- Subject: Re: [PATCH v3] [MIPS] GAS: Fix Loongson3 LLSC errata
- References: <20190105153450.30976-1-syq@debian.org>
Hi YunQiang, Hi Paul,
> gas/
> * NEWS: Mention -m[no-]fix-loongson3-llsc.
> * configure.ac: Add --enable-mips-fix-loongson3-llsc.
> Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
> * config.in: Regenerated.
> * configure: Likewise.
> * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
> New variables.
> (options): New OPTION_FIX_LOONGSON3_LLSC,
> OPTION_NO_FIX_LOONGSON3_LLSC.
> (md_longopts): Add -m[no-]fix-loongson3-llsc.
> (md_begin): Initialize sync insn.
> (fix_loongson3_llsc): New.
> (append_insn): Call fix_loongson3_llsc.
> (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
> OPTION_NO_FIX_LOONGSON3_LLSC.
> (md_show_usage): Display -m[no-]fix-loongson3-llsc.
> * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
> --enable-mips-fix-loongson3-llsc=[yes|no].
Approved.
Note - there were quite a few formatting errors in the patch,
but I fixed these up as I applied the patch.
Cheers
Nick