[openssl/openssl] ae59b2: Define L_ENDIAN for linux64-loongarch64

Xi Ruoyao noreply at github.com
Mon Dec 18 10:56:36 UTC 2023


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: ae59b2e4ab366aadb4f3cf7af8d5b447054b728a
      https://github.com/openssl/openssl/commit/ae59b2e4ab366aadb4f3cf7af8d5b447054b728a
  Author: Xi Ruoyao <xry111 at xry111.site>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M Configurations/10-main.conf

  Log Message:
  -----------
  Define L_ENDIAN for linux64-loongarch64

In commit d7c0fc5b1a7b5cb2219f8d89a861f3879582fc16 we removed L_ENDIAN
definition for guessed linux64-loongarch64 as it had caused an
inconsistency between configurations with and without explicit
specifying linux64-loongarch64.  Now add it back to the proper location.

Unlike MIPS or RISC-V, LoongArch is always little-endian [1].

By the way, change "LOONGARCH" to "LoongArch" in a comment as LOONGARCH
should only appear in the identifiers of macros, constants, etc.

[1]:https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#endian

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23064)

(cherry picked from commit e1002c84725a64b6a097f3155dc6851b57f7ba8e)




More information about the openssl-commits mailing list