gcc80: Add missing atomic variants in libgcov.
authorzrj <rimvydas.jasinskas@gmail.com>
Thu, 17 May 2018 09:33:36 +0000 (12:33 +0300)
committerzrj <zrj@dragonflybsd.org>
Thu, 17 May 2018 12:11:33 +0000 (15:11 +0300)
Use correct config (currently unused).

gnu/lib/gcc80/libgcov/Makefile
gnu/lib/gcc80/libssp_nonshared/Makefile

index 0aa6082..4a11415 100644 (file)
@@ -14,13 +14,21 @@ CFLAGS+=    -DIN_LIBGCC2 -DHAVE_CC_TLS -DIN_GCC
 # used by shared libs
 INSTALL_PIC_ARCHIVE=   yes
 
-# taken from build/x86_64-portbld-dragonfly4.1/libgcc/Makefile
-LIBGCOV_MERGE = _gcov_merge_add _gcov_merge_single _gcov_merge_delta   \
+# taken from build/x86_64-portbld-dragonfly5.3/libgcc/Makefile
+LIBGCOV_MERGE = _gcov_merge_add _gcov_merge_single                     \
        _gcov_merge_ior _gcov_merge_time_profile _gcov_merge_icall_topn
-LIBGCOV_PROFILER = _gcov_interval_profiler _gcov_pow2_profiler         \
-       _gcov_one_value_profiler _gcov_indirect_call_profiler           \
-       _gcov_average_profiler _gcov_ior_profiler                       \
-       _gcov_indirect_call_profiler_v2 _gcov_time_profiler             \
+LIBGCOV_PROFILER = _gcov_interval_profiler                             \
+       _gcov_interval_profiler_atomic                                  \
+       _gcov_pow2_profiler                                             \
+       _gcov_pow2_profiler_atomic                                      \
+       _gcov_one_value_profiler                                        \
+       _gcov_one_value_profiler_atomic                                 \
+       _gcov_average_profiler                                          \
+       _gcov_average_profiler_atomic                                   \
+       _gcov_ior_profiler                                              \
+       _gcov_ior_profiler_atomic                                       \
+       _gcov_indirect_call_profiler_v2                                 \
+       _gcov_time_profiler                                             \
        _gcov_indirect_call_topn_profiler
 LIBGCOV_INTERFACE = _gcov_dump _gcov_flush _gcov_fork                  \
        _gcov_execl _gcov_execlp                                        \
index a5c8938..df04fa2 100644 (file)
@@ -1,3 +1,4 @@
+CFLAGS+=       -I${.CURDIR}/../libssp
 .include "../Makefile.inc"
 .PATH: ${GCCDIR}/libssp