[openssl/openssl] 9968c7: Rename x86-32 assembly files from .s to .S.

pauli noreply at reply.github.openssl.org
Tue May 24 03:16:22 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 9968c77539d6f7c5b1dcf0162fd4b57c144318c7
      https://github.openssl.org/openssl/openssl/commit/9968c77539d6f7c5b1dcf0162fd4b57c144318c7
  Author: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
  Date:   2022-05-24 (Tue, 24 May 2022)

  Changed paths:
    M crypto/aes/build.info
    M crypto/bf/build.info
    M crypto/bn/build.info
    M crypto/build.info
    M crypto/camellia/build.info
    M crypto/cast/build.info
    M crypto/chacha/build.info
    M crypto/des/build.info
    M crypto/ec/build.info
    M crypto/md5/build.info
    M crypto/modes/build.info
    M crypto/poly1305/build.info
    M crypto/rc4/build.info
    M crypto/rc5/build.info
    M crypto/ripemd/build.info
    M crypto/sha/build.info
    M crypto/whrlpool/build.info
    M engines/build.info

  Log Message:
  -----------
  Rename x86-32 assembly files from .s to .S.

Rename x86-32 assembly files from .s to .S. While processing the .S file
gcc will use the pre-processor whic will evaluate macros and ifdef. This
is turn will be used to enable the endbr32 opcode based on the __CET__
define.

Signed-off-by: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18353)


  Commit: 272138795ffa63d5811e985f98cac94acf658dbe
      https://github.openssl.org/openssl/openssl/commit/272138795ffa63d5811e985f98cac94acf658dbe
  Author: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>
  Date:   2022-05-24 (Tue, 24 May 2022)

  Changed paths:
    M crypto/perlasm/x86asm.pl

  Log Message:
  -----------
  x86asm: Generate endbr32 based on __CET__.

The VIA Nehemiah CPU is a x86-32 CPU without SSE2 support. It does not
support multi byte nops and considers the endb32 opcode as an invalid
instruction.

Add an ifdef around the endbr32 opcode on x86-32.

Fixes: #18334
Signed-off-by: Sebastian Andrzej Siewior <sebastian at breakpoint.cc>

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18353)


Compare: https://github.openssl.org/openssl/openssl/compare/a425c0fec6eb...272138795ffa


More information about the openssl-commits mailing list