The RISC-V big-endian ABI is not yet stable, add a note to the
-mbig-endian option documentation to warn users that support is
experimental and could change in incompatible ways.

gcc/ChangeLog:

        * doc/invoke.texi: Add experimental warning for RISC-V
        big-endian support.
---
 gcc/doc/invoke.texi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4b820015215..a93aa214565 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -31304,6 +31304,8 @@ width as the alignment value, and @samp{natural} which 
uses natural alignment.
 @item -mbig-endian
 Generate big-endian code.  This is the default when GCC is configured for a
 @samp{riscv64be-*-*} or @samp{riscv32be-*-*} target.
+Support for RISC-V big-endian is experimental.  The ABI is not yet stable
+and could change in incompatible ways in future releases.
 
 @opindex mlittle-endian
 @item -mlittle-endian
-- 
2.52.0

Reply via email to