public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12
@ 2022-01-05 21:26 Philipp Tomsich
  2022-01-05 21:26 ` [PATCH v1 2/2] RISC-V: update docs to reflect privileged spec v1.9 has been dropped Philipp Tomsich
  2022-01-06  8:58 ` [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12 Nelson Chu
  0 siblings, 2 replies; 6+ messages in thread
From: Philipp Tomsich @ 2022-01-05 21:26 UTC (permalink / raw)
  To: binutils; +Cc: Kito Cheng, Nelson Chu, Philipp Tomsich

While support for the privileged spec was added in a63375ac337
("RISC-V: Hypervisor ext: support Privileged Spec 1.12"), the
documentation has not been updated.  Add 1.12 to the relevant
documentation.

References: a63375ac337 ("RISC-V: Hypervisor ext: support Privileged Spec 1.12")

gas/ChangeLog:

	* config/tc-riscv.c: Add 1.12 to the usage message.
	* configure: Regenerate.
	* configure.ac: Add 1.12 to the help/usage message.
	* po/fr.po: Same.
	* po/ru.po: Same.
	* po/uk.po: Same.
---

 gas/config/tc-riscv.c | 2 +-
 gas/configure         | 2 +-
 gas/configure.ac      | 2 +-
 gas/po/fr.po          | 4 ++--
 gas/po/ru.po          | 4 ++--
 gas/po/uk.po          | 4 ++--
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index 5f8e1181baa..33046af707c 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -4167,7 +4167,7 @@ RISC-V options:\n\
   -fno-pic                    don't generate position-independent code (default)\n\
   -march=ISA                  set the RISC-V architecture\n\
   -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n\
-  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11)\n\
+  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11, 1.12)\n\
   -mabi=ABI                   set the RISC-V ABI\n\
   -mrelax                     enable relax (default)\n\
   -mno-relax                  disable relax\n\
diff --git a/gas/configure b/gas/configure
index abe8a807257..65bd7c973de 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12473,7 +12473,7 @@ _ACEOF
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isa_spec" >&5
 $as_echo "$with_isa_spec" >&6; }
 
-        # --with-priv-spec=[1.9|1.9.1|1.10|1.11].
+        # --with-priv-spec=[1.9|1.9.1|1.10|1.11|1.12].
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-priv-spec" >&5
 $as_echo_n "checking for default configuration of --with-priv-spec... " >&6; }
         if test "x${with_priv_spec}" != x; then
diff --git a/gas/configure.ac b/gas/configure.ac
index dc7fd1fd742..4c178eb0a53 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -617,7 +617,7 @@ changequote([,])dnl
         fi
         AC_MSG_RESULT($with_isa_spec)
 
-        # --with-priv-spec=[1.9|1.9.1|1.10|1.11].
+        # --with-priv-spec=[1.9|1.9.1|1.10|1.11|1.12].
         AC_MSG_CHECKING(for default configuration of --with-priv-spec)
         if test "x${with_priv_spec}" != x; then
           AC_DEFINE_UNQUOTED(DEFAULT_RISCV_PRIV_SPEC, "$with_priv_spec",
diff --git a/gas/po/fr.po b/gas/po/fr.po
index bb0931ca8af..beefd4c2745 100644
--- a/gas/po/fr.po
+++ b/gas/po/fr.po
@@ -15884,7 +15884,7 @@ msgid ""
 "  -fno-pic                    don't generate position-independent code (default)\n"
 "  -march=ISA                  set the RISC-V architecture\n"
 "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11)\n"
+"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   set the RISC-V ABI\n"
 "  -mrelax                     enable relax (default)\n"
 "  -mno-relax                  disable relax\n"
@@ -15896,7 +15896,7 @@ msgstr ""
 "  -fno-pic                    ne pas générer du code indépendant de la position (défaut)\n"
 "  -march=ISA                  définir l'architecture RISC-V\n"
 "  -misa-spec=ISAspec          définir la spécification de l'ISA RISC-V (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        définir la spécification de privilège RISC-V (1.9, 1.9.1, 1.10, 1.11)\n"
+"  -mpriv-spec=PRIVspec        définir la spécification de privilège RISC-V (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   définir l'ABI RISC-V\n"
 "  -mrelax                     activer la relaxation (défaut)\n"
 "  -mno-relax                  désactiver la relaxation\n"
diff --git a/gas/po/ru.po b/gas/po/ru.po
index 3f4d4835a44..61f61f50259 100644
--- a/gas/po/ru.po
+++ b/gas/po/ru.po
@@ -15966,7 +15966,7 @@ msgid ""
 "  -fno-pic                    don't generate position-independent code (default)\n"
 "  -march=ISA                  set the RISC-V architecture\n"
 "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11)\n"
+"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   set the RISC-V ABI\n"
 "  -mrelax                     enable relax (default)\n"
 "  -mno-relax                  disable relax\n"
@@ -15982,7 +15982,7 @@ msgstr ""
 "                 задать спецификацию ISA RISC-V (2.2, 20190608, 20191213)\n"
 "  -mpriv-spec=PRIVspec\n"
 "                 задать спецификацию привилегий RISC-V\n"
-"                 (1.9, 1.9.1, 1.10, 1.11)\n"
+"                 (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI      задать RISC-V ABI\n"
 "  -mrelax        включить ослабление (по умолчанию)\n"
 "  -mno-relax     выключить ослабление\n"
diff --git a/gas/po/uk.po b/gas/po/uk.po
index 927602536e2..0765b51a3e8 100644
--- a/gas/po/uk.po
+++ b/gas/po/uk.po
@@ -15877,7 +15877,7 @@ msgid ""
 "  -fno-pic                    don't generate position-independent code (default)\n"
 "  -march=ISA                  set the RISC-V architecture\n"
 "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11)\n"
+"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   set the RISC-V ABI\n"
 "  -mrelax                     enable relax (default)\n"
 "  -mno-relax                  disable relax\n"
@@ -15889,7 +15889,7 @@ msgstr ""
 "  -fno-pic                    не створювати позиційно незалежного коду (типово)\n"
 "  -march=ISA                  встановити архітектуру RISC-V\n"
 "  -misa-spec=ISAspec          встановити специфікацію ISA RISC-V (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        встановити специфікацію прав доступу RISC-V (1.9, 1.9.1, 1.10, 1.11)\n"
+"  -mpriv-spec=PRIVspec        встановити специфікацію прав доступу RISC-V (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   встановити ABI RISC-V\n"
 "  -mrelax                     увімкнути оптимізацію (типова поведінка)\n"
 "  -mno-relax                  вимкнути оптимізацію\n"
-- 
2.33.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v1 2/2] RISC-V: update docs to reflect privileged spec v1.9 has been dropped
  2022-01-05 21:26 [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12 Philipp Tomsich
@ 2022-01-05 21:26 ` Philipp Tomsich
  2022-01-06  8:58   ` Nelson Chu
  2022-01-12 20:29   ` Vineet Gupta
  2022-01-06  8:58 ` [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12 Nelson Chu
  1 sibling, 2 replies; 6+ messages in thread
From: Philipp Tomsich @ 2022-01-05 21:26 UTC (permalink / raw)
  To: binutils; +Cc: Kito Cheng, Nelson Chu, Philipp Tomsich

After commit d8af286fffa ("RISC-V: Drop the privileged spec v1.9
support.") has removed support for privileged spec v1.9, this removes
it from the documentation.

References: d8af286fffa ("RISC-V: Drop the privileged spec v1.9 support.")

gas/ChangeLog:

	* configure: Regenerate.
	* configure.ac: Remove reference to priv spec 1.9.
	* po/fr.po: Same.
	* po/ru.po: Same.
	* po/uk.po: Same.

---

 gas/configure    | 2 +-
 gas/configure.ac | 2 +-
 gas/po/fr.po     | 4 ++--
 gas/po/ru.po     | 4 ++--
 gas/po/uk.po     | 4 ++--
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gas/configure b/gas/configure
index 65bd7c973de..12ca81bb16b 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12473,7 +12473,7 @@ _ACEOF
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isa_spec" >&5
 $as_echo "$with_isa_spec" >&6; }
 
-        # --with-priv-spec=[1.9|1.9.1|1.10|1.11|1.12].
+        # --with-priv-spec=[1.9.1|1.10|1.11|1.12].
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-priv-spec" >&5
 $as_echo_n "checking for default configuration of --with-priv-spec... " >&6; }
         if test "x${with_priv_spec}" != x; then
diff --git a/gas/configure.ac b/gas/configure.ac
index 4c178eb0a53..572e56e281c 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -617,7 +617,7 @@ changequote([,])dnl
         fi
         AC_MSG_RESULT($with_isa_spec)
 
-        # --with-priv-spec=[1.9|1.9.1|1.10|1.11|1.12].
+        # --with-priv-spec=[1.9.1|1.10|1.11|1.12].
         AC_MSG_CHECKING(for default configuration of --with-priv-spec)
         if test "x${with_priv_spec}" != x; then
           AC_DEFINE_UNQUOTED(DEFAULT_RISCV_PRIV_SPEC, "$with_priv_spec",
diff --git a/gas/po/fr.po b/gas/po/fr.po
index beefd4c2745..259b1f51a41 100644
--- a/gas/po/fr.po
+++ b/gas/po/fr.po
@@ -15884,7 +15884,7 @@ msgid ""
 "  -fno-pic                    don't generate position-independent code (default)\n"
 "  -march=ISA                  set the RISC-V architecture\n"
 "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
+"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   set the RISC-V ABI\n"
 "  -mrelax                     enable relax (default)\n"
 "  -mno-relax                  disable relax\n"
@@ -15896,7 +15896,7 @@ msgstr ""
 "  -fno-pic                    ne pas générer du code indépendant de la position (défaut)\n"
 "  -march=ISA                  définir l'architecture RISC-V\n"
 "  -misa-spec=ISAspec          définir la spécification de l'ISA RISC-V (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        définir la spécification de privilège RISC-V (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
+"  -mpriv-spec=PRIVspec        définir la spécification de privilège RISC-V (1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   définir l'ABI RISC-V\n"
 "  -mrelax                     activer la relaxation (défaut)\n"
 "  -mno-relax                  désactiver la relaxation\n"
diff --git a/gas/po/ru.po b/gas/po/ru.po
index 61f61f50259..4292ebaa1e4 100644
--- a/gas/po/ru.po
+++ b/gas/po/ru.po
@@ -15966,7 +15966,7 @@ msgid ""
 "  -fno-pic                    don't generate position-independent code (default)\n"
 "  -march=ISA                  set the RISC-V architecture\n"
 "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
+"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   set the RISC-V ABI\n"
 "  -mrelax                     enable relax (default)\n"
 "  -mno-relax                  disable relax\n"
@@ -15982,7 +15982,7 @@ msgstr ""
 "                 задать спецификацию ISA RISC-V (2.2, 20190608, 20191213)\n"
 "  -mpriv-spec=PRIVspec\n"
 "                 задать спецификацию привилегий RISC-V\n"
-"                 (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
+"                 (1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI      задать RISC-V ABI\n"
 "  -mrelax        включить ослабление (по умолчанию)\n"
 "  -mno-relax     выключить ослабление\n"
diff --git a/gas/po/uk.po b/gas/po/uk.po
index 0765b51a3e8..73581c7de9f 100644
--- a/gas/po/uk.po
+++ b/gas/po/uk.po
@@ -15877,7 +15877,7 @@ msgid ""
 "  -fno-pic                    don't generate position-independent code (default)\n"
 "  -march=ISA                  set the RISC-V architecture\n"
 "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
+"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   set the RISC-V ABI\n"
 "  -mrelax                     enable relax (default)\n"
 "  -mno-relax                  disable relax\n"
@@ -15889,7 +15889,7 @@ msgstr ""
 "  -fno-pic                    не створювати позиційно незалежного коду (типово)\n"
 "  -march=ISA                  встановити архітектуру RISC-V\n"
 "  -misa-spec=ISAspec          встановити специфікацію ISA RISC-V (2.2, 20190608, 20191213)\n"
-"  -mpriv-spec=PRIVspec        встановити специфікацію прав доступу RISC-V (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
+"  -mpriv-spec=PRIVspec        встановити специфікацію прав доступу RISC-V (1.9.1, 1.10, 1.11, 1.12)\n"
 "  -mabi=ABI                   встановити ABI RISC-V\n"
 "  -mrelax                     увімкнути оптимізацію (типова поведінка)\n"
 "  -mno-relax                  вимкнути оптимізацію\n"
-- 
2.33.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12
  2022-01-05 21:26 [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12 Philipp Tomsich
  2022-01-05 21:26 ` [PATCH v1 2/2] RISC-V: update docs to reflect privileged spec v1.9 has been dropped Philipp Tomsich
@ 2022-01-06  8:58 ` Nelson Chu
  2022-01-06 10:33   ` Philipp Tomsich
  1 sibling, 1 reply; 6+ messages in thread
From: Nelson Chu @ 2022-01-06  8:58 UTC (permalink / raw)
  To: Philipp Tomsich; +Cc: Binutils, Kito Cheng

On Thu, Jan 6, 2022 at 5:26 AM Philipp Tomsich <philipp.tomsich@vrull.eu> wrote:
>
> While support for the privileged spec was added in a63375ac337
> ("RISC-V: Hypervisor ext: support Privileged Spec 1.12"), the
> documentation has not been updated.  Add 1.12 to the relevant
> documentation.
>
> References: a63375ac337 ("RISC-V: Hypervisor ext: support Privileged Spec 1.12")

Looks good to me, thanks.

> gas/ChangeLog:
>
>         * config/tc-riscv.c: Add 1.12 to the usage message.
>         * configure: Regenerate.
>         * configure.ac: Add 1.12 to the help/usage message.
>         * po/fr.po: Same.
>         * po/ru.po: Same.
>         * po/uk.po: Same.

I remember that all po files will be updated before release, so I am
not used to updating them :)  Anyway, updating them now should be OK.

> ---
>
>  gas/config/tc-riscv.c | 2 +-
>  gas/configure         | 2 +-
>  gas/configure.ac      | 2 +-
>  gas/po/fr.po          | 4 ++--
>  gas/po/ru.po          | 4 ++--
>  gas/po/uk.po          | 4 ++--
>  6 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
> index 5f8e1181baa..33046af707c 100644
> --- a/gas/config/tc-riscv.c
> +++ b/gas/config/tc-riscv.c
> @@ -4167,7 +4167,7 @@ RISC-V options:\n\
>    -fno-pic                    don't generate position-independent code (default)\n\
>    -march=ISA                  set the RISC-V architecture\n\
>    -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n\
> -  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11)\n\
> +  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11, 1.12)\n\
>    -mabi=ABI                   set the RISC-V ABI\n\
>    -mrelax                     enable relax (default)\n\
>    -mno-relax                  disable relax\n\
> diff --git a/gas/configure b/gas/configure
> index abe8a807257..65bd7c973de 100755
> --- a/gas/configure
> +++ b/gas/configure
> @@ -12473,7 +12473,7 @@ _ACEOF
>          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isa_spec" >&5
>  $as_echo "$with_isa_spec" >&6; }
>
> -        # --with-priv-spec=[1.9|1.9.1|1.10|1.11].
> +        # --with-priv-spec=[1.9|1.9.1|1.10|1.11|1.12].
>          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-priv-spec" >&5
>  $as_echo_n "checking for default configuration of --with-priv-spec... " >&6; }
>          if test "x${with_priv_spec}" != x; then
> diff --git a/gas/configure.ac b/gas/configure.ac
> index dc7fd1fd742..4c178eb0a53 100644
> --- a/gas/configure.ac
> +++ b/gas/configure.ac
> @@ -617,7 +617,7 @@ changequote([,])dnl
>          fi
>          AC_MSG_RESULT($with_isa_spec)
>
> -        # --with-priv-spec=[1.9|1.9.1|1.10|1.11].
> +        # --with-priv-spec=[1.9|1.9.1|1.10|1.11|1.12].
>          AC_MSG_CHECKING(for default configuration of --with-priv-spec)
>          if test "x${with_priv_spec}" != x; then
>            AC_DEFINE_UNQUOTED(DEFAULT_RISCV_PRIV_SPEC, "$with_priv_spec",
> diff --git a/gas/po/fr.po b/gas/po/fr.po
> index bb0931ca8af..beefd4c2745 100644
> --- a/gas/po/fr.po
> +++ b/gas/po/fr.po
> @@ -15884,7 +15884,7 @@ msgid ""
>  "  -fno-pic                    don't generate position-independent code (default)\n"
>  "  -march=ISA                  set the RISC-V architecture\n"
>  "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11)\n"
> +"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   set the RISC-V ABI\n"
>  "  -mrelax                     enable relax (default)\n"
>  "  -mno-relax                  disable relax\n"
> @@ -15896,7 +15896,7 @@ msgstr ""
>  "  -fno-pic                    ne pas générer du code indépendant de la position (défaut)\n"
>  "  -march=ISA                  définir l'architecture RISC-V\n"
>  "  -misa-spec=ISAspec          définir la spécification de l'ISA RISC-V (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        définir la spécification de privilège RISC-V (1.9, 1.9.1, 1.10, 1.11)\n"
> +"  -mpriv-spec=PRIVspec        définir la spécification de privilège RISC-V (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   définir l'ABI RISC-V\n"
>  "  -mrelax                     activer la relaxation (défaut)\n"
>  "  -mno-relax                  désactiver la relaxation\n"
> diff --git a/gas/po/ru.po b/gas/po/ru.po
> index 3f4d4835a44..61f61f50259 100644
> --- a/gas/po/ru.po
> +++ b/gas/po/ru.po
> @@ -15966,7 +15966,7 @@ msgid ""
>  "  -fno-pic                    don't generate position-independent code (default)\n"
>  "  -march=ISA                  set the RISC-V architecture\n"
>  "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11)\n"
> +"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   set the RISC-V ABI\n"
>  "  -mrelax                     enable relax (default)\n"
>  "  -mno-relax                  disable relax\n"
> @@ -15982,7 +15982,7 @@ msgstr ""
>  "                 задать спецификацию ISA RISC-V (2.2, 20190608, 20191213)\n"
>  "  -mpriv-spec=PRIVspec\n"
>  "                 задать спецификацию привилегий RISC-V\n"
> -"                 (1.9, 1.9.1, 1.10, 1.11)\n"
> +"                 (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI      задать RISC-V ABI\n"
>  "  -mrelax        включить ослабление (по умолчанию)\n"
>  "  -mno-relax     выключить ослабление\n"
> diff --git a/gas/po/uk.po b/gas/po/uk.po
> index 927602536e2..0765b51a3e8 100644
> --- a/gas/po/uk.po
> +++ b/gas/po/uk.po
> @@ -15877,7 +15877,7 @@ msgid ""
>  "  -fno-pic                    don't generate position-independent code (default)\n"
>  "  -march=ISA                  set the RISC-V architecture\n"
>  "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11)\n"
> +"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   set the RISC-V ABI\n"
>  "  -mrelax                     enable relax (default)\n"
>  "  -mno-relax                  disable relax\n"
> @@ -15889,7 +15889,7 @@ msgstr ""
>  "  -fno-pic                    не створювати позиційно незалежного коду (типово)\n"
>  "  -march=ISA                  встановити архітектуру RISC-V\n"
>  "  -misa-spec=ISAspec          встановити специфікацію ISA RISC-V (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        встановити специфікацію прав доступу RISC-V (1.9, 1.9.1, 1.10, 1.11)\n"
> +"  -mpriv-spec=PRIVspec        встановити специфікацію прав доступу RISC-V (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   встановити ABI RISC-V\n"
>  "  -mrelax                     увімкнути оптимізацію (типова поведінка)\n"
>  "  -mno-relax                  вимкнути оптимізацію\n"
> --
> 2.33.1
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v1 2/2] RISC-V: update docs to reflect privileged spec v1.9 has been dropped
  2022-01-05 21:26 ` [PATCH v1 2/2] RISC-V: update docs to reflect privileged spec v1.9 has been dropped Philipp Tomsich
@ 2022-01-06  8:58   ` Nelson Chu
  2022-01-12 20:29   ` Vineet Gupta
  1 sibling, 0 replies; 6+ messages in thread
From: Nelson Chu @ 2022-01-06  8:58 UTC (permalink / raw)
  To: Philipp Tomsich; +Cc: Binutils, Kito Cheng

OK, looks good to me, thanks.

Nelson

On Thu, Jan 6, 2022 at 5:26 AM Philipp Tomsich <philipp.tomsich@vrull.eu> wrote:
>
> After commit d8af286fffa ("RISC-V: Drop the privileged spec v1.9
> support.") has removed support for privileged spec v1.9, this removes
> it from the documentation.
>
> References: d8af286fffa ("RISC-V: Drop the privileged spec v1.9 support.")
>
> gas/ChangeLog:
>
>         * configure: Regenerate.
>         * configure.ac: Remove reference to priv spec 1.9.
>         * po/fr.po: Same.
>         * po/ru.po: Same.
>         * po/uk.po: Same.
>
> ---
>
>  gas/configure    | 2 +-
>  gas/configure.ac | 2 +-
>  gas/po/fr.po     | 4 ++--
>  gas/po/ru.po     | 4 ++--
>  gas/po/uk.po     | 4 ++--
>  5 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/gas/configure b/gas/configure
> index 65bd7c973de..12ca81bb16b 100755
> --- a/gas/configure
> +++ b/gas/configure
> @@ -12473,7 +12473,7 @@ _ACEOF
>          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_isa_spec" >&5
>  $as_echo "$with_isa_spec" >&6; }
>
> -        # --with-priv-spec=[1.9|1.9.1|1.10|1.11|1.12].
> +        # --with-priv-spec=[1.9.1|1.10|1.11|1.12].
>          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --with-priv-spec" >&5
>  $as_echo_n "checking for default configuration of --with-priv-spec... " >&6; }
>          if test "x${with_priv_spec}" != x; then
> diff --git a/gas/configure.ac b/gas/configure.ac
> index 4c178eb0a53..572e56e281c 100644
> --- a/gas/configure.ac
> +++ b/gas/configure.ac
> @@ -617,7 +617,7 @@ changequote([,])dnl
>          fi
>          AC_MSG_RESULT($with_isa_spec)
>
> -        # --with-priv-spec=[1.9|1.9.1|1.10|1.11|1.12].
> +        # --with-priv-spec=[1.9.1|1.10|1.11|1.12].
>          AC_MSG_CHECKING(for default configuration of --with-priv-spec)
>          if test "x${with_priv_spec}" != x; then
>            AC_DEFINE_UNQUOTED(DEFAULT_RISCV_PRIV_SPEC, "$with_priv_spec",
> diff --git a/gas/po/fr.po b/gas/po/fr.po
> index beefd4c2745..259b1f51a41 100644
> --- a/gas/po/fr.po
> +++ b/gas/po/fr.po
> @@ -15884,7 +15884,7 @@ msgid ""
>  "  -fno-pic                    don't generate position-independent code (default)\n"
>  "  -march=ISA                  set the RISC-V architecture\n"
>  "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
> +"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   set the RISC-V ABI\n"
>  "  -mrelax                     enable relax (default)\n"
>  "  -mno-relax                  disable relax\n"
> @@ -15896,7 +15896,7 @@ msgstr ""
>  "  -fno-pic                    ne pas générer du code indépendant de la position (défaut)\n"
>  "  -march=ISA                  définir l'architecture RISC-V\n"
>  "  -misa-spec=ISAspec          définir la spécification de l'ISA RISC-V (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        définir la spécification de privilège RISC-V (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
> +"  -mpriv-spec=PRIVspec        définir la spécification de privilège RISC-V (1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   définir l'ABI RISC-V\n"
>  "  -mrelax                     activer la relaxation (défaut)\n"
>  "  -mno-relax                  désactiver la relaxation\n"
> diff --git a/gas/po/ru.po b/gas/po/ru.po
> index 61f61f50259..4292ebaa1e4 100644
> --- a/gas/po/ru.po
> +++ b/gas/po/ru.po
> @@ -15966,7 +15966,7 @@ msgid ""
>  "  -fno-pic                    don't generate position-independent code (default)\n"
>  "  -march=ISA                  set the RISC-V architecture\n"
>  "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
> +"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   set the RISC-V ABI\n"
>  "  -mrelax                     enable relax (default)\n"
>  "  -mno-relax                  disable relax\n"
> @@ -15982,7 +15982,7 @@ msgstr ""
>  "                 задать спецификацию ISA RISC-V (2.2, 20190608, 20191213)\n"
>  "  -mpriv-spec=PRIVspec\n"
>  "                 задать спецификацию привилегий RISC-V\n"
> -"                 (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
> +"                 (1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI      задать RISC-V ABI\n"
>  "  -mrelax        включить ослабление (по умолчанию)\n"
>  "  -mno-relax     выключить ослабление\n"
> diff --git a/gas/po/uk.po b/gas/po/uk.po
> index 0765b51a3e8..73581c7de9f 100644
> --- a/gas/po/uk.po
> +++ b/gas/po/uk.po
> @@ -15877,7 +15877,7 @@ msgid ""
>  "  -fno-pic                    don't generate position-independent code (default)\n"
>  "  -march=ISA                  set the RISC-V architecture\n"
>  "  -misa-spec=ISAspec          set the RISC-V ISA spec (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
> +"  -mpriv-spec=PRIVspec        set the RISC-V privilege spec (1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   set the RISC-V ABI\n"
>  "  -mrelax                     enable relax (default)\n"
>  "  -mno-relax                  disable relax\n"
> @@ -15889,7 +15889,7 @@ msgstr ""
>  "  -fno-pic                    не створювати позиційно незалежного коду (типово)\n"
>  "  -march=ISA                  встановити архітектуру RISC-V\n"
>  "  -misa-spec=ISAspec          встановити специфікацію ISA RISC-V (2.2, 20190608, 20191213)\n"
> -"  -mpriv-spec=PRIVspec        встановити специфікацію прав доступу RISC-V (1.9, 1.9.1, 1.10, 1.11, 1.12)\n"
> +"  -mpriv-spec=PRIVspec        встановити специфікацію прав доступу RISC-V (1.9.1, 1.10, 1.11, 1.12)\n"
>  "  -mabi=ABI                   встановити ABI RISC-V\n"
>  "  -mrelax                     увімкнути оптимізацію (типова поведінка)\n"
>  "  -mno-relax                  вимкнути оптимізацію\n"
> --
> 2.33.1
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12
  2022-01-06  8:58 ` [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12 Nelson Chu
@ 2022-01-06 10:33   ` Philipp Tomsich
  0 siblings, 0 replies; 6+ messages in thread
From: Philipp Tomsich @ 2022-01-06 10:33 UTC (permalink / raw)
  To: Nelson Chu; +Cc: Binutils, Kito Cheng

On Thu, 6 Jan 2022 at 09:58, Nelson Chu <nelson.chu@sifive.com> wrote:

> > gas/ChangeLog:
> >
> >         * config/tc-riscv.c: Add 1.12 to the usage message.
> >         * configure: Regenerate.
> >         * configure.ac: Add 1.12 to the help/usage message.
> >         * po/fr.po: Same.
> >         * po/ru.po: Same.
> >         * po/uk.po: Same.
>
> I remember that all po files will be updated before release, so I am
> not used to updating them :)  Anyway, updating them now should be OK.
>

Good point: this actually raises the question how the removed "1.9" (which
was ~ 2 releases ago) survived up until today in the .po-files…
We may want to keep an eye on these around future releases to make sure
that this assumption always holds.

I'll go ahead and apply these now.

Cheers,
Philipp.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v1 2/2] RISC-V: update docs to reflect privileged spec v1.9 has been dropped
  2022-01-05 21:26 ` [PATCH v1 2/2] RISC-V: update docs to reflect privileged spec v1.9 has been dropped Philipp Tomsich
  2022-01-06  8:58   ` Nelson Chu
@ 2022-01-12 20:29   ` Vineet Gupta
  1 sibling, 0 replies; 6+ messages in thread
From: Vineet Gupta @ 2022-01-12 20:29 UTC (permalink / raw)
  To: Philipp Tomsich, binutils; +Cc: Kito Cheng

On 1/5/22 1:26 PM, Philipp Tomsich wrote:
> After commit d8af286fffa ("RISC-V: Drop the privileged spec v1.9
> support.") has removed support for privileged spec v1.9, this removes
> it from the documentation.
> 
> References: d8af286fffa ("RISC-V: Drop the privileged spec v1.9 support.")
> 
> gas/ChangeLog:
> 
> 	* configure: Regenerate.
> 	* configure.ac: Remove reference to priv spec 1.9.
> 	* po/fr.po: Same.
> 	* po/ru.po: Same.
> 	* po/uk.po: Same.

Oops looks like I missed them. Thanks for fixing this Philipp.

Thx,
-Vineet

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-12 20:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 21:26 [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12 Philipp Tomsich
2022-01-05 21:26 ` [PATCH v1 2/2] RISC-V: update docs to reflect privileged spec v1.9 has been dropped Philipp Tomsich
2022-01-06  8:58   ` Nelson Chu
2022-01-12 20:29   ` Vineet Gupta
2022-01-06  8:58 ` [PATCH v1 1/2] RISC-V: update docs for -mpriv-spec/--with-priv-spec for 1.12 Nelson Chu
2022-01-06 10:33   ` Philipp Tomsich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).