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

pauli noreply at reply.github.openssl.org
Tue May 24 03:17:21 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 6cfbb4b30f83df8db3262da8d070f9fa48a5b1bc
      https://github.openssl.org/openssl/openssl/commit/6cfbb4b30f83df8db3262da8d070f9fa48a5b1bc
  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)

(cherry picked from commit 9968c77539d6f7c5b1dcf0162fd4b57c144318c7)


  Commit: 5aa6e627953a4b3e96ea1f37b5ed71c9bb8c1e1b
      https://github.openssl.org/openssl/openssl/commit/5aa6e627953a4b3e96ea1f37b5ed71c9bb8c1e1b
  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)

(cherry picked from commit 272138795ffa63d5811e985f98cac94acf658dbe)


Compare: https://github.openssl.org/openssl/openssl/compare/04ab4cdd5cf0...5aa6e627953a


More information about the openssl-commits mailing list