diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2024-04-07 19:25:33 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2024-04-08 08:58:03 +0100 |
commit | 39cb6b880f723780faeef06383e67cfed2e3458d (patch) | |
tree | 46791847d0659edf0d1cc58f1959b0b633d2e69b | |
parent | aa2ab7b79a87c25d113752401a6026c6823dfe57 (diff) | |
download | gcc-39cb6b880f723780faeef06383e67cfed2e3458d.zip gcc-39cb6b880f723780faeef06383e67cfed2e3458d.tar.gz gcc-39cb6b880f723780faeef06383e67cfed2e3458d.tar.bz2 |
Darwin: Sync coverage specs with gcc/gcc.cc.
The specs for coverage ere out of date leading to test fails for
fcondition-coverage cases. Fixed by updating to match the specs
in gcc/gcc.cc.
gcc/ChangeLog:
* config/darwin.h (LINK_COMMAND_SPEC_A): Update coverage
specs.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
-rw-r--r-- | gcc/config/darwin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 31019a0..c09b9e9 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -406,7 +406,7 @@ extern GTY(()) int darwin_ms_struct; %{!r:%{!nostdlib:%{!nodefaultlibs: " DARWIN_WEAK_CRTS "}}} \ %o \ %{!r:%{!nostdlib:%{!nodefaultlibs:\ - %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \ + %{fprofile-arcs|fcondition-coverage|fprofile-generate*|coverage:-lgcov} \ %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1): \ %{static|static-libgcc|static-libstdc++|static-libgfortran: \ libgomp.a%s; : -lgomp }} \ |