On Wed, 01 Nov 2017 14:59:43 PDT (-0700), jos...@codesourcery.com wrote:
> On Tue, 31 Oct 2017, Palmer Dabbelt wrote:
>
>> +between absolute addresses -2 GiB and +2 GiB. Programs can be statically or
>
> That should be @minus{}2 GiB, to get a minus sign instead of a hyphen.

Oops, I already committed it.  How does this look?

        * doc/invoke.texi (RISC-V Options): Use "@minus{}2 GB", not "-2 GB".

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 8903afaeeffc..fc5c4f975a2b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -21769,8 +21769,8 @@ Do not generate unaligned memory accesses.
 @opindex mcmodel=medlow
 Generate code for the medium-low code model. The program and its statically
 defined symbols must lie within a single 2 GiB address range and must lie
-between absolute addresses -2 GiB and +2 GiB. Programs can be statically or
-dynamically linked. This is the default code model.
+between absolute addresses @minus{}2 GiB and +2 GiB. Programs can be
+statically or dynamically linked. This is the default code model.

 @item -mcmodel=medany
 @opindex mcmodel=medany

Reply via email to