summaryrefslogtreecommitdiffstats
path: root/spec/build/cpukit/optcoverageldflags.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/build/cpukit/optcoverageldflags.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/spec/build/cpukit/optcoverageldflags.yml b/spec/build/cpukit/optcoverageldflags.yml
new file mode 100644
index 0000000000..db5f9b85c2
--- /dev/null
+++ b/spec/build/cpukit/optcoverageldflags.yml
@@ -0,0 +1,26 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-assign: null
+build-type: option
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value:
+ - -Wl,--wrap=_CPU_Fatal_halt
+ - -Wl,--wrap=bsp_reset
+ - -Wl,--start-group
+ - -lrtemsbsp
+ - -lrtemscpu
+ - -lrtemstest
+ - -lgcov
+ - -Wl,--end-group
+description: |
+ Linker flags recommended for executables which contain modules with coverage
+ information.
+enabled-by: RTEMS_GCOV_COVERAGE
+links: []
+name: COVERAGE_LINKER_FLAGS
+type: build