mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 06:14:10 +08:00
6d28b93370
* acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. Define LIBGOMP_BUILD_VERSIONED_SHLIB_GNU, LIBGOMP_BUILD_VERSIONED_SHLIB_SUN automake conditionals. (HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define unless targetting solaris2*. * configure: Regenerate. * config.h.in: Regenerate. * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB]: Protect libgomp_version_script with LIBGOMP_BUILD_VERSIONED_SHLIB_GNU. Add libgomp_version_dep. [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Handle Sun symbol versioning. [!LIBGOMP_BUILD_VERSIONED_SHLIB]: Add libgomp_version_dep. (libgomp_la_DEPENDENCIES): Set to $(libgomp_version_dep). * Makefile.in: Regenerate. * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef unless HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. * libgomp.map (OMP_1.0): Move symbols both in OMP_1.0 and OMP_3.0 to common block, protected by HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. From-SVN: r161842
176 lines
3.8 KiB
Plaintext
176 lines
3.8 KiB
Plaintext
OMP_1.0 {
|
|
global:
|
|
omp_set_num_threads;
|
|
omp_get_num_threads;
|
|
omp_get_max_threads;
|
|
omp_get_thread_num;
|
|
omp_get_num_procs;
|
|
omp_in_parallel;
|
|
omp_set_dynamic;
|
|
omp_get_dynamic;
|
|
omp_set_nested;
|
|
omp_get_nested;
|
|
#ifdef HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT
|
|
# If the assembler used lacks the .symver directive or the linker
|
|
# doesn't support GNU symbol versioning, we have the same symbol in
|
|
# two versions, which Sun ld chokes on.
|
|
omp_init_lock;
|
|
omp_init_nest_lock;
|
|
omp_destroy_lock;
|
|
omp_destroy_nest_lock;
|
|
omp_set_lock;
|
|
omp_set_nest_lock;
|
|
omp_unset_lock;
|
|
omp_unset_nest_lock;
|
|
omp_test_lock;
|
|
omp_test_nest_lock;
|
|
omp_destroy_lock_;
|
|
omp_destroy_nest_lock_;
|
|
omp_init_lock_;
|
|
omp_init_nest_lock_;
|
|
omp_set_lock_;
|
|
omp_set_nest_lock_;
|
|
omp_test_lock_;
|
|
omp_test_nest_lock_;
|
|
omp_unset_lock_;
|
|
omp_unset_nest_lock_;
|
|
#endif
|
|
omp_get_dynamic_;
|
|
omp_get_max_threads_;
|
|
omp_get_nested_;
|
|
omp_get_num_procs_;
|
|
omp_get_num_threads_;
|
|
omp_get_thread_num_;
|
|
omp_in_parallel_;
|
|
omp_set_dynamic_;
|
|
omp_set_dynamic_8_;
|
|
omp_set_nested_;
|
|
omp_set_nested_8_;
|
|
omp_set_num_threads_;
|
|
omp_set_num_threads_8_;
|
|
local:
|
|
*;
|
|
};
|
|
|
|
OMP_2.0 {
|
|
global:
|
|
omp_get_wtick;
|
|
omp_get_wtime;
|
|
omp_get_wtick_;
|
|
omp_get_wtime_;
|
|
} OMP_1.0;
|
|
|
|
OMP_3.0 {
|
|
global:
|
|
omp_set_schedule;
|
|
omp_set_schedule_;
|
|
omp_set_schedule_8_;
|
|
omp_get_schedule;
|
|
omp_get_schedule_;
|
|
omp_get_schedule_8_;
|
|
omp_get_thread_limit;
|
|
omp_get_thread_limit_;
|
|
omp_set_max_active_levels;
|
|
omp_set_max_active_levels_;
|
|
omp_set_max_active_levels_8_;
|
|
omp_get_max_active_levels;
|
|
omp_get_max_active_levels_;
|
|
omp_get_level;
|
|
omp_get_level_;
|
|
omp_get_ancestor_thread_num;
|
|
omp_get_ancestor_thread_num_;
|
|
omp_get_ancestor_thread_num_8_;
|
|
omp_get_team_size;
|
|
omp_get_team_size_;
|
|
omp_get_team_size_8_;
|
|
omp_get_active_level;
|
|
omp_get_active_level_;
|
|
omp_init_lock;
|
|
omp_init_nest_lock;
|
|
omp_destroy_lock;
|
|
omp_destroy_nest_lock;
|
|
omp_set_lock;
|
|
omp_set_nest_lock;
|
|
omp_unset_lock;
|
|
omp_unset_nest_lock;
|
|
omp_test_lock;
|
|
omp_test_nest_lock;
|
|
omp_destroy_lock_;
|
|
omp_destroy_nest_lock_;
|
|
omp_init_lock_;
|
|
omp_init_nest_lock_;
|
|
omp_set_lock_;
|
|
omp_set_nest_lock_;
|
|
omp_test_lock_;
|
|
omp_test_nest_lock_;
|
|
omp_unset_lock_;
|
|
omp_unset_nest_lock_;
|
|
} OMP_2.0;
|
|
|
|
GOMP_1.0 {
|
|
global:
|
|
GOMP_atomic_end;
|
|
GOMP_atomic_start;
|
|
GOMP_barrier;
|
|
GOMP_critical_end;
|
|
GOMP_critical_name_end;
|
|
GOMP_critical_name_start;
|
|
GOMP_critical_start;
|
|
GOMP_loop_dynamic_next;
|
|
GOMP_loop_dynamic_start;
|
|
GOMP_loop_end;
|
|
GOMP_loop_end_nowait;
|
|
GOMP_loop_guided_next;
|
|
GOMP_loop_guided_start;
|
|
GOMP_loop_ordered_dynamic_next;
|
|
GOMP_loop_ordered_dynamic_start;
|
|
GOMP_loop_ordered_guided_next;
|
|
GOMP_loop_ordered_guided_start;
|
|
GOMP_loop_ordered_runtime_next;
|
|
GOMP_loop_ordered_runtime_start;
|
|
GOMP_loop_ordered_static_next;
|
|
GOMP_loop_ordered_static_start;
|
|
GOMP_loop_runtime_next;
|
|
GOMP_loop_runtime_start;
|
|
GOMP_loop_static_next;
|
|
GOMP_loop_static_start;
|
|
GOMP_ordered_end;
|
|
GOMP_ordered_start;
|
|
GOMP_parallel_end;
|
|
GOMP_parallel_loop_dynamic_start;
|
|
GOMP_parallel_loop_guided_start;
|
|
GOMP_parallel_loop_runtime_start;
|
|
GOMP_parallel_loop_static_start;
|
|
GOMP_parallel_sections_start;
|
|
GOMP_parallel_start;
|
|
GOMP_sections_end;
|
|
GOMP_sections_end_nowait;
|
|
GOMP_sections_next;
|
|
GOMP_sections_start;
|
|
GOMP_single_copy_end;
|
|
GOMP_single_copy_start;
|
|
GOMP_single_start;
|
|
};
|
|
|
|
GOMP_2.0 {
|
|
global:
|
|
GOMP_task;
|
|
GOMP_taskwait;
|
|
GOMP_loop_ull_dynamic_next;
|
|
GOMP_loop_ull_dynamic_start;
|
|
GOMP_loop_ull_guided_next;
|
|
GOMP_loop_ull_guided_start;
|
|
GOMP_loop_ull_ordered_dynamic_next;
|
|
GOMP_loop_ull_ordered_dynamic_start;
|
|
GOMP_loop_ull_ordered_guided_next;
|
|
GOMP_loop_ull_ordered_guided_start;
|
|
GOMP_loop_ull_ordered_runtime_next;
|
|
GOMP_loop_ull_ordered_runtime_start;
|
|
GOMP_loop_ull_ordered_static_next;
|
|
GOMP_loop_ull_ordered_static_start;
|
|
GOMP_loop_ull_runtime_next;
|
|
GOMP_loop_ull_runtime_start;
|
|
GOMP_loop_ull_static_next;
|
|
GOMP_loop_ull_static_start;
|
|
} GOMP_1.0;
|