pkgsrc-ng/devel/binutils/patches/patch-gas_doc_c-mips.texi
2016-01-22 00:05:33 +01:00

20 lines
749 B
Plaintext

$NetBSD$
--- gas/doc/c-mips.texi.orig Tue Sep 4 14:16:07 2012
+++ gas/doc/c-mips.texi
@@ -210,6 +210,14 @@ all problems in hand-written assembler code.
@itemx -mno-fix-vr4130
Insert nops to work around the VR4130 @samp{mflo}/@samp{mfhi} errata.
+@item -mfix-loongson2f-btb
+@itemx -mno-fix-loongson2f-btb
+Clear the Branch Target Buffer before any jump through a register. This
+option is intended to be used on kernel code for the Loongson 2F processor
+only; userland code compiled with this option will fault, and kernel code
+compiled with this option run on another processor than Loongson 2F will
+yield unpredictable results.
+
@item -mfix-24k
@itemx -mno-fix-24k
Insert nops to work around the 24K @samp{eret}/@samp{deret} errata.