aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2019-11-18 12:08:18 +0000
committerSzabolcs Nagy <nsz@gcc.gnu.org>2019-11-18 12:08:18 +0000
commit3d3a96a26eff2367d6573b30683c3c2945f443eb (patch)
tree67fc6ffa1a2f35921c1fb325578745a85b746db3 /gcc/tree-vect-loop.c
parent8d7be8d614ba028074597c3ab1ee12d9495fde09 (diff)
downloadgcc-3d3a96a26eff2367d6573b30683c3c2945f443eb.zip
gcc-3d3a96a26eff2367d6573b30683c3c2945f443eb.tar.gz
gcc-3d3a96a26eff2367d6573b30683c3c2945f443eb.tar.bz2
musl: Don't use gthr weak refs in libgcc PR91737
The gthr weak reference based single thread detection is unsafe with static linking and in case of dynamic linking it's ineffective on musl since pthread symbols are defined in libc.so. (Ideally this should be fixed for all targets, since glibc plans to move libpthread.so into libc.so too and users want to static link to pthread without --whole-archive: PR87189.) For now we have to explicitly opt out from the broken behaviour in the config machinery of each target lib and libgcc was previously missed. libgcc/ChangeLog: 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com> * config.host: Add t-gthr-noweak on *-*-musl*. * config/t-gthr-noweak: New file. From-SVN: r278399
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions