Skip to content

MacOS X Intel ASM clang 15: fix asm to compile without warning#7334

Merged
dgarske merged 1 commit intowolfSSL:masterfrom
SparkiDev:macosx_clang_15_asm_fix
Mar 14, 2024
Merged

MacOS X Intel ASM clang 15: fix asm to compile without warning#7334
dgarske merged 1 commit intowolfSSL:masterfrom
SparkiDev:macosx_clang_15_asm_fix

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

Description

Don't use align when APPLE is defined.
Make minimum alignment on variables in ASM 8 bytes (.p2align 3).

Fix x86 builds with ASM.

Fixes #7311

Testing

Built x86 on Linux.
Couldn't test x86_64 MacOS X

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Don't use align when __APPLE__ is defined.
Make minimum alignment on variables in ASM 8 bytes (.p2align 3).

Fix x86 builds with ASM.
@SparkiDev SparkiDev self-assigned this Mar 14, 2024
@dgarske dgarske merged commit 5dff8aa into wolfSSL:master Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ld: warning: alignment (4) of atom '_cpuFlagsSet' from '...x25519_asm.o' is too small and may result in unaligned pointers

2 participants