Fangrui Song 4cb90ca8f8
[Thumb,ELF] Fix access to dso_preemptable __stack_chk_guard with static relocation model (#78950)
PR #70014 fixes A32 to use GOT for dso_preemptable `__stack_chk_guard`
with static relocation model (e.g. -fPIE/-fPIC LTO compiles with -no-pie
linking).

This patch fixes such `__stack_chk_guard` access for Thumb1 and Thumb2.
Note: `t2LDRLIT_ga_pcrel` is only for ELF. mingw needs
`.refptr.__stack_chk_guard` (https://reviews.llvm.org/D92738).

Fix #64999
2024-01-22 13:16:31 -08:00
..
2022-09-26 11:31:23 +01:00
2022-10-02 11:51:08 +01:00
2023-09-01 19:45:03 -04:00
2021-11-21 18:33:29 +00:00
2022-11-02 22:34:05 +00:00