Add gcc-4.9 libgomp symbols requiring --plt-thread-safe for power7
authorAlan Modra <amodra@gmail.com>
Tue, 21 Oct 2014 06:36:01 +0000 (17:06 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 21 Oct 2014 06:47:36 +0000 (17:17 +1030)
commit2300b5a1414ecb820aa042a30a08928cfcba620b
treef19826bf9ce18e74c69cab2073bbe34444924b87
parent5c0ac14e47ac99bd6ef80a3eb04e80806f07cf58
Add gcc-4.9 libgomp symbols requiring --plt-thread-safe for power7

powerpc64 ld builds plt call stubs with a read barrier to provide
thread safety on lazy plt updates, necessary on multi-threaded apps
with power7 or later weakly ordered memory.  gcc-4.9 libgomp
introduced more functions that could call pthread_create, which means
we have more functions that if referenced in an executable should
cause a default of --plt-thread-safe.

* elf64-ppc.c (ppc64_elf_size_stubs): Add gcc-4.9 libgomp functions
to thread_starter.
bfd/ChangeLog
bfd/elf64-ppc.c
This page took 0.032593 seconds and 4 git commands to generate.