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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good. Shall we use a .L label so that the relocation references a STT_SECTION symbol instead of a new STB_LOCAL symbol?
Avoiding multiple STB_LOCAL symbols at the same location is usually a good idea.