linker: move all linker headers to include/linker
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/kernel/alert.c b/kernel/alert.c
index 375e7cd..daa4bd5 100644
--- a/kernel/alert.c
+++ b/kernel/alert.c
@@ -15,7 +15,7 @@
#include <atomic.h>
#include <init.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
extern struct k_alert _k_alert_list_start[];
extern struct k_alert _k_alert_list_end[];
diff --git a/kernel/compiler_stack_protect.c b/kernel/compiler_stack_protect.c
index a55632d..7ed30bb 100644
--- a/kernel/compiler_stack_protect.c
+++ b/kernel/compiler_stack_protect.c
@@ -20,7 +20,7 @@
#include <kernel_structs.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <kernel.h>
/**
diff --git a/kernel/idle.c b/kernel/idle.c
index 2eb442e..d4e9255 100644
--- a/kernel/idle.c
+++ b/kernel/idle.c
@@ -7,7 +7,7 @@
#include <kernel.h>
#include <kernel_structs.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <drivers/system_timer.h>
#include <wait_q.h>
#include <power.h>
diff --git a/kernel/init.c b/kernel/init.c
index 5c88d9e..04200fb 100644
--- a/kernel/init.c
+++ b/kernel/init.c
@@ -17,12 +17,12 @@
#include <misc/printk.h>
#include <misc/stack.h>
#include <drivers/rand32.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <toolchain.h>
#include <kernel_structs.h>
#include <device.h>
#include <init.h>
-#include <linker-defs.h>
+#include <linker/linker-defs.h>
#include <ksched.h>
#include <version.h>
#include <string.h>
diff --git a/kernel/mailbox.c b/kernel/mailbox.c
index 0c3d4b1..cd10a87 100644
--- a/kernel/mailbox.c
+++ b/kernel/mailbox.c
@@ -12,7 +12,7 @@
#include <kernel_structs.h>
#include <debug/object_tracing_common.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <string.h>
#include <wait_q.h>
#include <misc/dlist.h>
diff --git a/kernel/mem_slab.c b/kernel/mem_slab.c
index 4ac708e..a0af3b9 100644
--- a/kernel/mem_slab.c
+++ b/kernel/mem_slab.c
@@ -8,7 +8,7 @@
#include <kernel_structs.h>
#include <debug/object_tracing_common.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <wait_q.h>
#include <misc/dlist.h>
#include <ksched.h>
diff --git a/kernel/msg_q.c b/kernel/msg_q.c
index 94896e7..baf0e02 100644
--- a/kernel/msg_q.c
+++ b/kernel/msg_q.c
@@ -14,7 +14,7 @@
#include <kernel_structs.h>
#include <debug/object_tracing_common.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <string.h>
#include <wait_q.h>
#include <misc/dlist.h>
diff --git a/kernel/mutex.c b/kernel/mutex.c
index ccf5a88..3bf1d3d 100644
--- a/kernel/mutex.c
+++ b/kernel/mutex.c
@@ -29,7 +29,7 @@
#include <kernel.h>
#include <kernel_structs.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <wait_q.h>
#include <misc/dlist.h>
#include <debug/object_tracing_common.h>
diff --git a/kernel/pipes.c b/kernel/pipes.c
index 77d72f1..c6cc518 100644
--- a/kernel/pipes.c
+++ b/kernel/pipes.c
@@ -14,7 +14,7 @@
#include <kernel_structs.h>
#include <debug/object_tracing_common.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <wait_q.h>
#include <misc/dlist.h>
#include <init.h>
diff --git a/kernel/queue.c b/kernel/queue.c
index 5a5c75d..1ff4467 100644
--- a/kernel/queue.c
+++ b/kernel/queue.c
@@ -15,7 +15,7 @@
#include <kernel_structs.h>
#include <debug/object_tracing_common.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <wait_q.h>
#include <ksched.h>
#include <misc/slist.h>
diff --git a/kernel/sem.c b/kernel/sem.c
index 50d0f00..5b751db 100644
--- a/kernel/sem.c
+++ b/kernel/sem.c
@@ -20,7 +20,7 @@
#include <kernel_structs.h>
#include <debug/object_tracing_common.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <wait_q.h>
#include <misc/dlist.h>
#include <ksched.h>
diff --git a/kernel/stack.c b/kernel/stack.c
index b5d59d6..01dd4c1 100644
--- a/kernel/stack.c
+++ b/kernel/stack.c
@@ -12,7 +12,7 @@
#include <kernel_structs.h>
#include <debug/object_tracing_common.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <ksched.h>
#include <wait_q.h>
#include <misc/__assert.h>
diff --git a/kernel/sys_clock.c b/kernel/sys_clock.c
index b6c019c..e07674f 100644
--- a/kernel/sys_clock.c
+++ b/kernel/sys_clock.c
@@ -9,7 +9,7 @@
#include <kernel_structs.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <wait_q.h>
#include <drivers/system_timer.h>
diff --git a/kernel/thread.c b/kernel/thread.c
index cd56347..41eb10d 100644
--- a/kernel/thread.c
+++ b/kernel/thread.c
@@ -14,7 +14,7 @@
#include <kernel.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <kernel_structs.h>
#include <misc/printk.h>
diff --git a/kernel/thread_abort.c b/kernel/thread_abort.c
index 825eb95..e4ad224 100644
--- a/kernel/thread_abort.c
+++ b/kernel/thread_abort.c
@@ -15,7 +15,7 @@
#include <nano_internal.h>
#include <string.h>
#include <toolchain.h>
-#include <sections.h>
+#include <linker/sections.h>
#include <wait_q.h>
#include <ksched.h>