https://bugs.llvm.org/show_bug.cgi?id=49693
Fangrui Song <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Fangrui Song <[email protected]> ---
The new behavior works intended and is more consistent with
--relocation-model=pic.
Traditionally ELF compilers use direct access with static relocation model,
which can cause copy relocations
(https://maskray.me/blog/2021-01-09-copy-relocations-canonical-plt-entries-and-protected)
The new behavior requires explicit dso_local, like the annotation you need for
pie/pic.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs