aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ramstage.ld2
-rw-r--r--src/lib/rmodule.ld2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ramstage.ld b/src/lib/ramstage.ld
index 402f495714..432df40da6 100644
--- a/src/lib/ramstage.ld
+++ b/src/lib/ramstage.ld
@@ -34,7 +34,7 @@
_etext = .;
} : to_load
-#ifdef CONFIG_COVERAGE
+#if IS_ENABLED(CONFIG_COVERAGE)
.ctors : {
. = ALIGN(0x100);
__CTOR_LIST__ = .;
diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld
index 0e9c8804e8..e6b4da717a 100644
--- a/src/lib/rmodule.ld
+++ b/src/lib/rmodule.ld
@@ -30,7 +30,7 @@ SECTIONS
/* C read-only data. */
. = ALIGN(16);
-#ifdef CONFIG_COVERAGE
+#if IS_ENABLED(CONFIG_COVERAGE)
__CTOR_LIST__ = .;
*(.ctors);
LONG(0);