[v7,01/13] LoongArch: Add LoongArch entries to config.h.in

Message ID 20220719012056.1461897-2-caiyinyu@loongson.cn
State Committed
Commit 4c2c2142d628b677cdce3adc70f43e5e32542370
Headers
Series [v7,01/13] LoongArch: Add LoongArch entries to config.h.in |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent

Commit Message

caiyinyu July 19, 2022, 1:20 a.m. UTC
  ---
 config.h.in | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Adhemerval Zanella Netto July 21, 2022, 9:02 p.m. UTC | #1
LGTM, as for v6.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

On 18/07/22 22:20, caiyinyu wrote:
> ---
>  config.h.in | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/config.h.in b/config.h.in
> index bf316439a0..43d32518ab 100644
> --- a/config.h.in
> +++ b/config.h.in
> @@ -132,6 +132,12 @@
>  /* RISC-V floating-point ABI for ld.so.  */
>  #undef RISCV_ABI_FLEN
>  
> +/* LOONGARCH integer ABI for ld.so.  */
> +#undef LOONGARCH_ABI_GRLEN
> +
> +/* LOONGARCH floating-point ABI for ld.so.  */
> +#undef LOONGARCH_ABI_FRLEN
> +
>  /* Linux specific: minimum supported kernel version.  */
>  #undef	__LINUX_KERNEL_VERSION
>
  

Patch

diff --git a/config.h.in b/config.h.in
index bf316439a0..43d32518ab 100644
--- a/config.h.in
+++ b/config.h.in
@@ -132,6 +132,12 @@ 
 /* RISC-V floating-point ABI for ld.so.  */
 #undef RISCV_ABI_FLEN
 
+/* LOONGARCH integer ABI for ld.so.  */
+#undef LOONGARCH_ABI_GRLEN
+
+/* LOONGARCH floating-point ABI for ld.so.  */
+#undef LOONGARCH_ABI_FRLEN
+
 /* Linux specific: minimum supported kernel version.  */
 #undef	__LINUX_KERNEL_VERSION