Skip to content

Commit

Permalink
linker: move all linker headers to include/linker
Browse files Browse the repository at this point in the history
Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif authored and galak committed Jun 18, 2017
1 parent be366b7 commit 397d29d
Show file tree
Hide file tree
Showing 151 changed files with 186 additions and 186 deletions.
2 changes: 1 addition & 1 deletion arch/arc/core/atomic.S
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

/* exports */

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <misc/util.h>
#include <toolchain.h>
#include <cache.h>
#include <linker-defs.h>
#include <linker/linker-defs.h>
#include <arch/arc/v2/aux_regs.h>
#include <nano_internal.h>
#include <misc/__assert.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/cpu_idle.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <kernel_structs.h>
#include <offsets_short.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>

GTEXT(k_cpu_idle)
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <inttypes.h>

#include <kernel.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/fault_s.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <swap_macros.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/irq_manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <arch/cpu.h>
#include <misc/__assert.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <irq.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/isr_wrapper.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include <offsets_short.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <kernel_structs.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/prep_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <zephyr/types.h>
#include <toolchain.h>
#include <linker-defs.h>
#include <linker/linker-defs.h>
#include <arch/arc/v2/aux_regs.h>
#include <kernel_structs.h>
#include <nano_internal.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/reset.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// #include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>

GDATA(_interrupt_stack)
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/sys_fatal_error_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <kernel.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <kernel_structs.h>
#include <misc/printk.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/thread_entry_wrapper.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

GTEXT(_thread_entry_wrapper)
GTEXT(_thread_entry)
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/kernel_arch_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" {
#endif

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <vector_table.h>
#include <kernel_arch_thread.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/vector_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C" {

#include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

GTEXT(__start)
GTEXT(_VectorTable)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <misc/printk.h>
#include <misc/reboot.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

extern void _SysNmiOnReset(void);
#if !defined(CONFIG_RUNTIME_NMI)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/nmi_on_reset.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

_ASM_FILE_PROLOGUE

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/prep_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <kernel.h>
#include <zephyr/types.h>
#include <toolchain.h>
#include <linker-defs.h>
#include <linker/linker-defs.h>
#include <nano_internal.h>
#include <arch/arm/cortex_m/cmsis.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/reset.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <offsets_short.h>
#include "vector_table.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/vector_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <drivers/system_timer.h>
#include "vector_table.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/vector_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C" {

#include <board.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <misc/util.h>

GTEXT(__start)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cpu_idle.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <offsets_short.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#ifdef CONFIG_TICKLESS_IDLE
#include <kernel_structs.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/fatal.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <inttypes.h>

#include <kernel.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

#include <kernel.h>
#include <kernel_structs.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/fault_s.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>

_ASM_FILE_PROLOGUE
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/irq_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <arch/arm/cortex_m/cmsis.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/irq_manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <arch/arm/cortex_m/cmsis.h>
#include <misc/__assert.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <irq.h>
#include <kernel_structs.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/isr_wrapper.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <offsets_short.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <kernel_structs.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/sys_fatal_error_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/thread_abort.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <kernel.h>
#include <kernel_structs.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <ksched.h>
#include <wait_q.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/include/kernel_arch_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" {
#endif

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <kernel_arch_thread.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/k6x/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <init.h>
#include <soc.h>
#include <uart.h>
#include <sections.h>
#include <linker/sections.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/k6x/wdog.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <soc.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

_ASM_FILE_PROLOGUE

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/kl2x/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <device.h>
#include <init.h>
#include <soc.h>
#include <sections.h>
#include <linker/sections.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/soc/nxp_kinetis/kwx/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <init.h>
#include <soc.h>
#include <uart.h>
#include <sections.h>
#include <linker/sections.h>
#include <fsl_common.h>
#include <fsl_clock.h>
#include <arch/cpu.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/common/gen_isr_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def parse_args():
/* AUTO-GENERATED by gen_isr_tables.py, do not edit! */
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
"""
Expand Down
2 changes: 1 addition & 1 deletion arch/common/isr_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <sw_isr_table.h>
#include <arch/cpu.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/nios2/core/prep_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <zephyr/types.h>
#include <toolchain.h>
#include <linker-defs.h>
#include <linker/linker-defs.h>
#include <kernel_structs.h>
#include <nano_internal.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/nios2/include/kernel_arch_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extern "C" {
#endif

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <kernel_arch_thread.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/riscv32/core/isr.S
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <kernel_structs.h>
#include <offsets_short.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/riscv32/include/kernel_arch_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extern "C" {
#endif

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <arch/cpu.h>
#include <kernel_arch_thread.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/riscv32/soc/pulpino/soc_irq.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <kernel_structs.h>
#include <offsets.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <soc.h>

/* exports */
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv32/soc/riscv-privilege/common/soc_irq.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <kernel_structs.h>
#include <offsets.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <soc.h>

/* exports */
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv32/soc/riscv-privilege/riscv32-qemu/qemu_irq.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <kernel_structs.h>
#include <offsets.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>
#include <soc.h>

/* exports */
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/core/fatal.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

#include <kernel.h>
#include <kernel_structs.h>
Expand Down
4 changes: 2 additions & 2 deletions arch/x86/core/gdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
* for the IA-32 architecture.
*/

#include <linker-defs.h>
#include <linker/linker-defs.h>
#include <toolchain.h>
#include <sections.h>
#include <linker/sections.h>

#include <kernel_structs.h>
#include <arch/cpu.h>
Expand Down
Loading

0 comments on commit 397d29d

Please sign in to comment.