Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: Adjust mem*.S to use WEAK instead of .weak.
Commit 39d114d added .weak directives to support KASAN on AArch64, however this breaks support for LLVM's integrated assembler as LLVM switched the .weak directive to produce a STB_GLOBAL binding rather than STB_WEAK [1]. By utilising the WEAK macro instead, both LLVM and GCC will produce a STB_WEAK binding. [1] : https://reviews.llvm.org/D90108 Link: ClangBuiltLinux/linux#1190 Signed-off-by: Diab Neiroukh <lazerl0rd@thezest.dev>
- Loading branch information
Showing
3 changed files
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters