diff options
author | Alan Modra <amodra@gmail.com> | 2014-10-22 08:08:30 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-10-22 08:10:47 +1030 |
commit | 80272b8cb9f78cd97c4655019e7826b6d4c5dd41 (patch) | |
tree | cf7a89fb85088790e1a733f395280f5a41d222b3 /gold | |
parent | 55fbd9927b9b6f1f4881cf8585c35029ff4ee153 (diff) | |
download | gdb-80272b8cb9f78cd97c4655019e7826b6d4c5dd41.zip gdb-80272b8cb9f78cd97c4655019e7826b6d4c5dd41.tar.gz gdb-80272b8cb9f78cd97c4655019e7826b6d4c5dd41.tar.bz2 |
[GOLD] Add gcc-4.9 libgomp symbols requiring --plt-thread-safe for power7
As for bfd.ld. Refer 2300b5a14
* powerpc.cc (do_relax): Add gcc-4.9 libgomp functions to
thread_starter.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/powerpc.cc | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index fdb876d..904756b 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2014-10-22 Alan Modra <amodra@gmail.com> + + * powerpc.cc (do_relax): Add gcc-4.9 libgomp functions to + thread_starter. + 2014-10-18 Andreas Schwab <schwab@linux-m68k.org> * configure.tgt (targ_extra_obj) [aarch64*-*]: Define. diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 0a9ab7d..828bc16 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -2708,11 +2708,17 @@ Target_powerpc<size, big_endian>::do_relax(int pass, /* libanl */ "getaddrinfo_a", /* libgomp */ + "GOMP_parallel", "GOMP_parallel_start", + "GOMP_parallel_loop_static", "GOMP_parallel_loop_static_start", + "GOMP_parallel_loop_dynamic", "GOMP_parallel_loop_dynamic_start", + "GOMP_parallel_loop_guided", "GOMP_parallel_loop_guided_start", + "GOMP_parallel_loop_runtime", "GOMP_parallel_loop_runtime_start", + "GOMP_parallel_sections", "GOMP_parallel_sections_start", }; |