[all-commits] [llvm/llvm-project] 742bcb: compiler-rt/lib: Add .Linterceptor_sigsetjmp
hjl-tools via All-commits
all-commits at lists.llvm.org
Tue Jan 31 14:31:32 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 742bcbf685bc51c5714e0be4b8a71d8b84c573c8
https://github.com/llvm/llvm-project/commit/742bcbf685bc51c5714e0be4b8a71d8b84c573c8
Author: H.J. Lu <hjl.tools at gmail.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_setjmp_x86_64.S
Log Message:
-----------
compiler-rt/lib: Add .Linterceptor_sigsetjmp
Older GNU assemblers generate R_X86_64_PC32 relocation against
defined non-weak global branch targets with default visibility. A
linker may issue an error when building a shared library. Add a local
alias, .Linterceptor_sigsetjmp, to __interceptor_sigsetjmp to avoid
R_X86_64_PC32 relocation for "jmp __interceptor_sigsetjmp" with older
GNU assemblers.
Fixes: https://github.com/llvm/llvm-project/issues/60426
Differential Revision: https://reviews.llvm.org/D142995
More information about the All-commits
mailing list