Specifying .global and .weak causes a compiler warning:
`warning: __sigsetjmp changed binding to STB_WEAK`
Specifying only .weak should have the same effect without causing a
warning.
Differential D110178
[HWASan] Use a single .weak binding in asm. morehouse on Sep 21 2021, 7:50 AM. Authored by
Details
Specifying .global and .weak causes a compiler warning: `warning: __sigsetjmp changed binding to STB_WEAK` Specifying only .weak should have the same effect without causing a
Diff Detail
Unit Tests Event TimelineComment Actions ELF has 3 main bindings: STB_LOCAL, STB_GLOBAL, STB_WEAK. The integrated assembler used to treat .weak .globl differently from GNU as .globl .weak. |