Browse Source

linker: move all linker headers to include/linker

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
pull/539/head
Anas Nashif 8 years ago committed by Kumar Gala
parent
commit
397d29db42
  1. 2
      arch/arc/core/atomic.S
  2. 2
      arch/arc/core/cache.c
  3. 2
      arch/arc/core/cpu_idle.S
  4. 2
      arch/arc/core/fault.c
  5. 2
      arch/arc/core/fault_s.S
  6. 2
      arch/arc/core/irq_manage.c
  7. 2
      arch/arc/core/isr_wrapper.S
  8. 2
      arch/arc/core/prep_c.c
  9. 2
      arch/arc/core/reset.S
  10. 2
      arch/arc/core/sys_fatal_error_handler.c
  11. 2
      arch/arc/core/thread_entry_wrapper.S
  12. 2
      arch/arc/include/kernel_arch_data.h
  13. 2
      arch/arc/include/vector_table.h
  14. 2
      arch/arm/core/cortex_m/nmi.c
  15. 2
      arch/arm/core/cortex_m/nmi_on_reset.S
  16. 2
      arch/arm/core/cortex_m/prep_c.c
  17. 2
      arch/arm/core/cortex_m/reset.S
  18. 2
      arch/arm/core/cortex_m/vector_table.S
  19. 2
      arch/arm/core/cortex_m/vector_table.h
  20. 2
      arch/arm/core/cpu_idle.S
  21. 2
      arch/arm/core/fatal.c
  22. 2
      arch/arm/core/fault.c
  23. 2
      arch/arm/core/fault_s.S
  24. 2
      arch/arm/core/irq_init.c
  25. 2
      arch/arm/core/irq_manage.c
  26. 2
      arch/arm/core/isr_wrapper.S
  27. 2
      arch/arm/core/sys_fatal_error_handler.c
  28. 2
      arch/arm/core/thread_abort.c
  29. 2
      arch/arm/include/kernel_arch_data.h
  30. 2
      arch/arm/soc/nxp_kinetis/k6x/soc.c
  31. 2
      arch/arm/soc/nxp_kinetis/k6x/wdog.S
  32. 2
      arch/arm/soc/nxp_kinetis/kl2x/soc.c
  33. 2
      arch/arm/soc/nxp_kinetis/kwx/soc.c
  34. 2
      arch/common/gen_isr_tables.py
  35. 2
      arch/common/isr_tables.c
  36. 2
      arch/nios2/core/prep_c.c
  37. 2
      arch/nios2/include/kernel_arch_data.h
  38. 2
      arch/riscv32/core/isr.S
  39. 2
      arch/riscv32/include/kernel_arch_data.h
  40. 2
      arch/riscv32/soc/pulpino/soc_irq.S
  41. 2
      arch/riscv32/soc/riscv-privilege/common/soc_irq.S
  42. 2
      arch/riscv32/soc/riscv-privilege/riscv32-qemu/qemu_irq.S
  43. 2
      arch/x86/core/fatal.c
  44. 4
      arch/x86/core/gdt.c
  45. 2
      arch/x86/core/sys_fatal_error_handler.c
  46. 2
      arch/x86/core/thread.c
  47. 2
      arch/x86/include/kernel_arch_data.h
  48. 2
      arch/xtensa/core/sw_isr_table.S
  49. 2
      arch/xtensa/include/kernel_arch_data.h
  50. 6
      arch/xtensa/soc/D_108mini/linker.ld
  51. 6
      arch/xtensa/soc/D_212GP/linker.ld
  52. 6
      arch/xtensa/soc/D_233L/linker.ld
  53. 6
      arch/xtensa/soc/XRC_D2PM_5swIrq/linker.ld
  54. 6
      arch/xtensa/soc/XRC_FUSION_AON_ALL_LM/linker.ld
  55. 6
      arch/xtensa/soc/hifi2_std/linker.ld
  56. 6
      arch/xtensa/soc/hifi3_bd5/linker.ld
  57. 6
      arch/xtensa/soc/hifi3_bd5_call0/linker.ld
  58. 6
      arch/xtensa/soc/hifi4_bd7/linker.ld
  59. 6
      arch/xtensa/soc/hifi_mini/linker.ld
  60. 6
      arch/xtensa/soc/hifi_mini_4swIrq/linker.ld
  61. 6
      arch/xtensa/soc/sample_controller/linker.ld
  62. 2
      drivers/console/uart_console.c
  63. 2
      drivers/ieee802154/ieee802154_cc2520.h
  64. 2
      drivers/ieee802154/ieee802154_mcr20a.h
  65. 2
      drivers/ieee802154/ieee802154_nrf5.h
  66. 2
      drivers/interrupt_controller/i8259.c
  67. 2
      drivers/interrupt_controller/ioapic_intr.c
  68. 2
      drivers/interrupt_controller/loapic_intr.c
  69. 2
      drivers/pci/pci.c
  70. 2
      drivers/serial/uart_atmel_sam3.c
  71. 2
      drivers/serial/uart_cmsdk_apb.c
  72. 2
      drivers/serial/uart_nrf5.c
  73. 2
      drivers/serial/uart_ns16550.c
  74. 2
      drivers/serial/uart_nsim.c
  75. 2
      drivers/serial/uart_stellaris.c
  76. 2
      drivers/serial/uart_stm32.c
  77. 2
      drivers/timer/arcv2_timer0.c
  78. 2
      drivers/timer/cortex_m_systick.c
  79. 2
      drivers/timer/hpet.c
  80. 2
      drivers/timer/loapic_timer.c
  81. 6
      include/arch/arc/v2/linker.ld
  82. 6
      include/arch/arm/cortex_m/scripts/linker.ld
  83. 2
      include/arch/nios2/asm.h
  84. 6
      include/arch/nios2/linker.ld
  85. 6
      include/arch/riscv32/common/linker.ld
  86. 6
      include/arch/riscv32/pulpino/linker.ld
  87. 2
      include/arch/x86/asm.h
  88. 4
      include/arch/x86/linker.ld
  89. 2
      include/kernel.h
  90. 2
      include/linker/linker-defs.h
  91. 0
      include/linker/linker-tool-gcc.h
  92. 2
      include/linker/linker-tool.h
  93. 0
      include/linker/section_tags.h
  94. 2
      include/linker/sections.h
  95. 2
      kernel/alert.c
  96. 2
      kernel/compiler_stack_protect.c
  97. 2
      kernel/idle.c
  98. 4
      kernel/init.c
  99. 2
      kernel/mailbox.c
  100. 2
      kernel/mem_slab.c
  101. Some files were not shown because too many files have changed in this diff Show More

2
arch/arc/core/atomic.S

@ -17,7 +17,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
/* exports */ /* exports */

2
arch/arc/core/cache.c

@ -18,7 +18,7 @@
#include <misc/util.h> #include <misc/util.h>
#include <toolchain.h> #include <toolchain.h>
#include <cache.h> #include <cache.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <arch/arc/v2/aux_regs.h> #include <arch/arc/v2/aux_regs.h>
#include <nano_internal.h> #include <nano_internal.h>
#include <misc/__assert.h> #include <misc/__assert.h>

2
arch/arc/core/cpu_idle.S

@ -14,7 +14,7 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <offsets_short.h> #include <offsets_short.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
GTEXT(k_cpu_idle) GTEXT(k_cpu_idle)

2
arch/arc/core/fault.c

@ -12,7 +12,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <inttypes.h> #include <inttypes.h>
#include <kernel.h> #include <kernel.h>

2
arch/arc/core/fault_s.S

@ -12,7 +12,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <swap_macros.h> #include <swap_macros.h>

2
arch/arc/core/irq_manage.c

@ -21,7 +21,7 @@
#include <arch/cpu.h> #include <arch/cpu.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <sw_isr_table.h> #include <sw_isr_table.h>
#include <irq.h> #include <irq.h>

2
arch/arc/core/isr_wrapper.S

@ -15,7 +15,7 @@
#include <offsets_short.h> #include <offsets_short.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <sw_isr_table.h> #include <sw_isr_table.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <arch/cpu.h> #include <arch/cpu.h>

2
arch/arc/core/prep_c.c

@ -18,7 +18,7 @@
#include <zephyr/types.h> #include <zephyr/types.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <arch/arc/v2/aux_regs.h> #include <arch/arc/v2/aux_regs.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <nano_internal.h> #include <nano_internal.h>

2
arch/arc/core/reset.S

@ -13,7 +13,7 @@
// #include <board.h> // #include <board.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
GDATA(_interrupt_stack) GDATA(_interrupt_stack)

2
arch/arc/core/sys_fatal_error_handler.c

@ -13,7 +13,7 @@
#include <kernel.h> #include <kernel.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <misc/printk.h> #include <misc/printk.h>

2
arch/arc/core/thread_entry_wrapper.S

@ -12,7 +12,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
GTEXT(_thread_entry_wrapper) GTEXT(_thread_entry_wrapper)
GTEXT(_thread_entry) GTEXT(_thread_entry)

2
arch/arc/include/kernel_arch_data.h

@ -25,7 +25,7 @@ extern "C" {
#endif #endif
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <vector_table.h> #include <vector_table.h>
#include <kernel_arch_thread.h> #include <kernel_arch_thread.h>

2
arch/arc/include/vector_table.h

@ -31,7 +31,7 @@ extern "C" {
#include <board.h> #include <board.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
GTEXT(__start) GTEXT(__start)
GTEXT(_VectorTable) GTEXT(_VectorTable)

2
arch/arm/core/cortex_m/nmi.c

@ -18,7 +18,7 @@
#include <misc/printk.h> #include <misc/printk.h>
#include <misc/reboot.h> #include <misc/reboot.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
extern void _SysNmiOnReset(void); extern void _SysNmiOnReset(void);
#if !defined(CONFIG_RUNTIME_NMI) #if !defined(CONFIG_RUNTIME_NMI)

2
arch/arm/core/cortex_m/nmi_on_reset.S

@ -16,7 +16,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
_ASM_FILE_PROLOGUE _ASM_FILE_PROLOGUE

2
arch/arm/core/cortex_m/prep_c.c

@ -19,7 +19,7 @@
#include <kernel.h> #include <kernel.h>
#include <zephyr/types.h> #include <zephyr/types.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <nano_internal.h> #include <nano_internal.h>
#include <arch/arm/cortex_m/cmsis.h> #include <arch/arm/cortex_m/cmsis.h>

2
arch/arm/core/cortex_m/reset.S

@ -13,7 +13,7 @@
#include <board.h> #include <board.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <offsets_short.h> #include <offsets_short.h>
#include "vector_table.h" #include "vector_table.h"

2
arch/arm/core/cortex_m/vector_table.S

@ -18,7 +18,7 @@
#include <board.h> #include <board.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <drivers/system_timer.h> #include <drivers/system_timer.h>
#include "vector_table.h" #include "vector_table.h"

2
arch/arm/core/cortex_m/vector_table.h

@ -29,7 +29,7 @@ extern "C" {
#include <board.h> #include <board.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <misc/util.h> #include <misc/util.h>
GTEXT(__start) GTEXT(__start)

2
arch/arm/core/cpu_idle.S

@ -12,7 +12,7 @@
#include <offsets_short.h> #include <offsets_short.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#ifdef CONFIG_TICKLESS_IDLE #ifdef CONFIG_TICKLESS_IDLE
#include <kernel_structs.h> #include <kernel_structs.h>

2
arch/arm/core/fatal.c

@ -12,7 +12,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <inttypes.h> #include <inttypes.h>
#include <kernel.h> #include <kernel.h>

2
arch/arm/core/fault.c

@ -12,7 +12,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel.h> #include <kernel.h>
#include <kernel_structs.h> #include <kernel_structs.h>

2
arch/arm/core/fault_s.S

@ -12,7 +12,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
_ASM_FILE_PROLOGUE _ASM_FILE_PROLOGUE

2
arch/arm/core/irq_init.c

@ -17,7 +17,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel.h> #include <kernel.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <arch/arm/cortex_m/cmsis.h> #include <arch/arm/cortex_m/cmsis.h>

2
arch/arm/core/irq_manage.c

@ -19,7 +19,7 @@
#include <arch/arm/cortex_m/cmsis.h> #include <arch/arm/cortex_m/cmsis.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <sw_isr_table.h> #include <sw_isr_table.h>
#include <irq.h> #include <irq.h>
#include <kernel_structs.h> #include <kernel_structs.h>

2
arch/arm/core/isr_wrapper.S

@ -14,7 +14,7 @@
#include <offsets_short.h> #include <offsets_short.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <sw_isr_table.h> #include <sw_isr_table.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <arch/cpu.h> #include <arch/cpu.h>

2
arch/arm/core/sys_fatal_error_handler.c

@ -14,7 +14,7 @@
#include <kernel.h> #include <kernel.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <misc/printk.h> #include <misc/printk.h>

2
arch/arm/core/thread_abort.c

@ -19,7 +19,7 @@
#include <kernel.h> #include <kernel.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <ksched.h> #include <ksched.h>
#include <wait_q.h> #include <wait_q.h>

2
arch/arm/include/kernel_arch_data.h

@ -25,7 +25,7 @@ extern "C" {
#endif #endif
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <kernel_arch_thread.h> #include <kernel_arch_thread.h>

2
arch/arm/soc/nxp_kinetis/k6x/soc.c

@ -18,7 +18,7 @@
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <uart.h>
#include <sections.h> #include <linker/sections.h>
#include <fsl_common.h> #include <fsl_common.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#include <arch/cpu.h> #include <arch/cpu.h>

2
arch/arm/soc/nxp_kinetis/k6x/wdog.S

@ -13,7 +13,7 @@
#include <soc.h> #include <soc.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
_ASM_FILE_PROLOGUE _ASM_FILE_PROLOGUE

2
arch/arm/soc/nxp_kinetis/kl2x/soc.c

@ -8,7 +8,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <sections.h> #include <linker/sections.h>
#include <fsl_common.h> #include <fsl_common.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#include <arch/cpu.h> #include <arch/cpu.h>

2
arch/arm/soc/nxp_kinetis/kwx/soc.c

@ -9,7 +9,7 @@
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <uart.h>
#include <sections.h> #include <linker/sections.h>
#include <fsl_common.h> #include <fsl_common.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#include <arch/cpu.h> #include <arch/cpu.h>

2
arch/common/gen_isr_tables.py

@ -118,7 +118,7 @@ source_header = """
/* AUTO-GENERATED by gen_isr_tables.py, do not edit! */ /* AUTO-GENERATED by gen_isr_tables.py, do not edit! */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <sw_isr_table.h> #include <sw_isr_table.h>
""" """

2
arch/common/isr_tables.c

@ -5,7 +5,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <sw_isr_table.h> #include <sw_isr_table.h>
#include <arch/cpu.h> #include <arch/cpu.h>

2
arch/nios2/core/prep_c.c

@ -18,7 +18,7 @@
#include <zephyr/types.h> #include <zephyr/types.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <nano_internal.h> #include <nano_internal.h>

2
arch/nios2/include/kernel_arch_data.h

@ -26,7 +26,7 @@ extern "C" {
#endif #endif
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <kernel_arch_thread.h> #include <kernel_arch_thread.h>

2
arch/riscv32/core/isr.S

@ -5,7 +5,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <offsets_short.h> #include <offsets_short.h>

2
arch/riscv32/include/kernel_arch_data.h

@ -20,7 +20,7 @@ extern "C" {
#endif #endif
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <kernel_arch_thread.h> #include <kernel_arch_thread.h>

2
arch/riscv32/soc/pulpino/soc_irq.S

@ -7,7 +7,7 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <offsets.h> #include <offsets.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <soc.h> #include <soc.h>
/* exports */ /* exports */

2
arch/riscv32/soc/riscv-privilege/common/soc_irq.S

@ -11,7 +11,7 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <offsets.h> #include <offsets.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <soc.h> #include <soc.h>
/* exports */ /* exports */

2
arch/riscv32/soc/riscv-privilege/riscv32-qemu/qemu_irq.S

@ -7,7 +7,7 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <offsets.h> #include <offsets.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <soc.h> #include <soc.h>
/* exports */ /* exports */

2
arch/x86/core/fatal.c

@ -12,7 +12,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel.h> #include <kernel.h>
#include <kernel_structs.h> #include <kernel_structs.h>

4
arch/x86/core/gdt.c

@ -12,9 +12,9 @@
* for the IA-32 architecture. * for the IA-32 architecture.
*/ */
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <arch/cpu.h> #include <arch/cpu.h>

2
arch/x86/core/sys_fatal_error_handler.c

@ -14,7 +14,7 @@
#include <kernel.h> #include <kernel.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <misc/printk.h> #include <misc/printk.h>

2
arch/x86/core/thread.c

@ -17,7 +17,7 @@
#endif /* CONFIG_INIT_STACKS */ #endif /* CONFIG_INIT_STACKS */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <wait_q.h> #include <wait_q.h>

2
arch/x86/include/kernel_arch_data.h

@ -27,7 +27,7 @@
#define _kernel_arch_data__h_ #define _kernel_arch_data__h_
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <asm_inline.h> #include <asm_inline.h>
#include <exception.h> #include <exception.h>
#include <kernel_arch_thread.h> #include <kernel_arch_thread.h>

2
arch/xtensa/core/sw_isr_table.S

@ -11,7 +11,7 @@
*/ */
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <xtensa/config/core.h> #include <xtensa/config/core.h>

2
arch/xtensa/include/kernel_arch_data.h

@ -25,7 +25,7 @@ extern "C" {
#endif #endif
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <kernel_arch_thread.h> #include <kernel_arch_thread.h>

6
arch/xtensa/soc/D_108mini/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram0_seg :sram0_phdr #define RAMABLE_REGION sram0_seg :sram0_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/D_212GP/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram19_seg :sram19_phdr #define RAMABLE_REGION sram19_seg :sram19_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/D_233L/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram20_seg :sram20_phdr #define RAMABLE_REGION sram20_seg :sram20_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/XRC_D2PM_5swIrq/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram19_seg :sram19_phdr #define RAMABLE_REGION sram19_seg :sram19_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/XRC_FUSION_AON_ALL_LM/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram0_seg :sram0_phdr #define RAMABLE_REGION sram0_seg :sram0_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/hifi2_std/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram19_seg :sram19_phdr #define RAMABLE_REGION sram19_seg :sram19_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/hifi3_bd5/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram9_seg :sram9_phdr #define RAMABLE_REGION sram9_seg :sram9_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/hifi3_bd5_call0/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram9_seg :sram9_phdr #define RAMABLE_REGION sram9_seg :sram9_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/hifi4_bd7/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram13_seg :sram13_phdr #define RAMABLE_REGION sram13_seg :sram13_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/hifi_mini/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION dram0_0_seg :dram0_0_phdr #define RAMABLE_REGION dram0_0_seg :dram0_0_phdr
#define ROMABLE_REGION iram0_7_seg :iram0_7_phdr #define ROMABLE_REGION iram0_7_seg :iram0_7_phdr

6
arch/xtensa/soc/hifi_mini_4swIrq/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram0_0_seg :sram0_0_phdr #define RAMABLE_REGION sram0_0_seg :sram0_0_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

6
arch/xtensa/soc/sample_controller/linker.ld

@ -14,10 +14,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define RAMABLE_REGION sram0_seg :sram0_phdr #define RAMABLE_REGION sram0_seg :sram0_phdr
#define ROMABLE_REGION srom1_seg :srom1_phdr #define ROMABLE_REGION srom1_seg :srom1_phdr

2
drivers/console/uart_console.c

@ -29,7 +29,7 @@
#include <console/console.h> #include <console/console.h>
#include <console/uart_console.h> #include <console/uart_console.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <atomic.h> #include <atomic.h>
#include <misc/printk.h> #include <misc/printk.h>

2
drivers/ieee802154/ieee802154_cc2520.h

@ -9,7 +9,7 @@
#ifndef __IEEE802154_CC2520_H__ #ifndef __IEEE802154_CC2520_H__
#define __IEEE802154_CC2520_H__ #define __IEEE802154_CC2520_H__
#include <sections.h> #include <linker/sections.h>
#include <atomic.h> #include <atomic.h>
#include <spi.h> #include <spi.h>

2
drivers/ieee802154/ieee802154_mcr20a.h

@ -10,7 +10,7 @@
#ifndef __IEEE802154_MCR20A_H__ #ifndef __IEEE802154_MCR20A_H__
#define __IEEE802154_MCR20A_H__ #define __IEEE802154_MCR20A_H__
#include <sections.h> #include <linker/sections.h>
#include <atomic.h> #include <atomic.h>
#include <spi.h> #include <spi.h>

2
drivers/ieee802154/ieee802154_nrf5.h

@ -8,7 +8,7 @@
#ifndef __IEEE802154_NRF5_H__ #ifndef __IEEE802154_NRF5_H__
#define __IEEE802154_NRF5_H__ #define __IEEE802154_NRF5_H__
#include <sections.h> #include <linker/sections.h>
#include <atomic.h> #include <atomic.h>
#define NRF5_FCS_LENGTH (2) #define NRF5_FCS_LENGTH (2)

2
drivers/interrupt_controller/i8259.c

@ -16,7 +16,7 @@
#include <kernel.h> #include <kernel.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>

2
drivers/interrupt_controller/ioapic_intr.c

@ -56,7 +56,7 @@
#include "board.h" #include "board.h"
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <init.h> #include <init.h>
#include <string.h> #include <string.h>

2
drivers/interrupt_controller/loapic_intr.c

@ -85,7 +85,7 @@
#include "board.h" #include "board.h"
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <drivers/loapic.h> /* public API declarations */ #include <drivers/loapic.h> /* public API declarations */
#include <init.h> #include <init.h>
#include <drivers/sysapic.h> #include <drivers/sysapic.h>

2
drivers/pci/pci.c

@ -73,7 +73,7 @@
#include <arch/cpu.h> #include <arch/cpu.h>
#include <misc/printk.h> #include <misc/printk.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <board.h> #include <board.h>

2
drivers/serial/uart_atmel_sam3.c

@ -24,7 +24,7 @@
#include <board.h> #include <board.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <uart.h>
#include <sections.h> #include <linker/sections.h>
/* UART registers struct */ /* UART registers struct */
struct _uart { struct _uart {

2
drivers/serial/uart_cmsdk_apb.c

@ -17,7 +17,7 @@
#include <board.h> #include <board.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <uart.h>
#include <sections.h> #include <linker/sections.h>
/* UART registers struct */ /* UART registers struct */
struct uart_cmsdk_apb { struct uart_cmsdk_apb {

2
drivers/serial/uart_nrf5.c

@ -14,7 +14,7 @@
#include <board.h> #include <board.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <uart.h>
#include <sections.h> #include <linker/sections.h>
#include <gpio.h> #include <gpio.h>
#ifdef CONFIG_SOC_NRF52840 #ifdef CONFIG_SOC_NRF52840

2
drivers/serial/uart_ns16550.c

@ -29,7 +29,7 @@
#include <board.h> #include <board.h>
#include <init.h> #include <init.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <uart.h> #include <uart.h>
#include <sys_io.h> #include <sys_io.h>

2
drivers/serial/uart_nsim.c

@ -8,7 +8,7 @@
#include <kernel.h> #include <kernel.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <sections.h> #include <linker/sections.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <zephyr/types.h> #include <zephyr/types.h>
#include <misc/util.h> #include <misc/util.h>

2
drivers/serial/uart_stellaris.c

@ -24,7 +24,7 @@
#include <board.h> #include <board.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <uart.h>
#include <sections.h> #include <linker/sections.h>
/* definitions */ /* definitions */

2
drivers/serial/uart_stm32.c

@ -24,7 +24,7 @@
#include <uart.h> #include <uart.h>
#include <clock_control.h> #include <clock_control.h>
#include <sections.h> #include <linker/sections.h>
#include <clock_control/stm32_clock_control.h> #include <clock_control/stm32_clock_control.h>
#include "uart_stm32.h" #include "uart_stm32.h"

2
drivers/timer/arcv2_timer0.c

@ -44,7 +44,7 @@
#include <kernel.h> #include <kernel.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <arch/arc/v2/aux_regs.h> #include <arch/arc/v2/aux_regs.h>
#include <sys_clock.h> #include <sys_clock.h>

2
drivers/timer/cortex_m_systick.c

@ -21,7 +21,7 @@
#include <kernel.h> #include <kernel.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <sys_clock.h> #include <sys_clock.h>
#include <drivers/system_timer.h> #include <drivers/system_timer.h>

2
drivers/timer/hpet.c

@ -43,7 +43,7 @@
#include <kernel.h> #include <kernel.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <sys_clock.h> #include <sys_clock.h>
#include <drivers/ioapic.h> #include <drivers/ioapic.h>
#include <drivers/system_timer.h> #include <drivers/system_timer.h>

2
drivers/timer/loapic_timer.c

@ -67,7 +67,7 @@
#include <kernel.h> #include <kernel.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <sys_clock.h> #include <sys_clock.h>
#include <drivers/system_timer.h> #include <drivers/system_timer.h>
#include <arch/x86/irq_controller.h> #include <arch/x86/irq_controller.h>

6
include/arch/arc/v2/linker.ld

@ -12,14 +12,14 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#if defined(CONFIG_NSIM) #if defined(CONFIG_NSIM)
EXTERN(_VectorTable) EXTERN(_VectorTable)
#endif #endif
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
/* physical address of RAM */ /* physical address of RAM */
#ifdef CONFIG_HARVARD #ifdef CONFIG_HARVARD

6
include/arch/arm/cortex_m/scripts/linker.ld

@ -15,11 +15,11 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <generated_dts_board.h> #include <generated_dts_board.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
/* physical address of RAM */ /* physical address of RAM */
#ifdef CONFIG_XIP #ifdef CONFIG_XIP

2
include/arch/nios2/asm.h

@ -8,7 +8,7 @@
#define _NIOS2_ASM_H #define _NIOS2_ASM_H
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>

6
include/arch/nios2/linker.ld

@ -15,10 +15,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
/* These sections are specific to this CPU */ /* These sections are specific to this CPU */
#define _EXCEPTION_SECTION_NAME exceptions #define _EXCEPTION_SECTION_NAME exceptions

6
include/arch/riscv32/common/linker.ld

@ -17,10 +17,10 @@
#include <soc.h> #include <soc.h>
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#ifdef CONFIG_XIP #ifdef CONFIG_XIP
#define ROMABLE_REGION ROM #define ROMABLE_REGION ROM

6
include/arch/riscv32/pulpino/linker.ld

@ -15,10 +15,10 @@
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <autoconf.h> #include <autoconf.h>
#include <sections.h> #include <linker/sections.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <linker-tool.h> #include <linker/linker-tool.h>
#define ROMABLE_REGION DATARAM #define ROMABLE_REGION DATARAM
#define RAMABLE_REGION DATARAM #define RAMABLE_REGION DATARAM

2
include/arch/x86/asm.h

@ -11,7 +11,7 @@
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
/* offsets from stack pointer to function arguments */ /* offsets from stack pointer to function arguments */

4
include/arch/x86/linker.ld

@ -40,12 +40,12 @@
#define _LINKER #define _LINKER
#define _ASMLANGUAGE #define _ASMLANGUAGE
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <offsets.h> #include <offsets.h>
#include <misc/util.h> #include <misc/util.h>
#define MMU_PAGE_SIZE KB(4) #define MMU_PAGE_SIZE KB(4)
#include <linker-tool.h> #include <linker/linker-tool.h>
#ifdef CONFIG_XIP #ifdef CONFIG_XIP
#define ROMABLE_REGION ROM #define ROMABLE_REGION ROM

2
include/kernel.h

@ -18,7 +18,7 @@
#include <zephyr/types.h> #include <zephyr/types.h>
#include <limits.h> #include <limits.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <atomic.h> #include <atomic.h>
#include <errno.h> #include <errno.h>
#include <misc/__assert.h> #include <misc/__assert.h>

2
include/linker-defs.h → include/linker/linker-defs.h

@ -20,7 +20,7 @@
#define _LINKERDEFS_H #define _LINKERDEFS_H
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
/* include platform dependent linker-defs */ /* include platform dependent linker-defs */
#ifdef CONFIG_X86 #ifdef CONFIG_X86

0
include/linker-tool-gcc.h → include/linker/linker-tool-gcc.h

2
include/linker-tool.h → include/linker/linker-tool.h

@ -17,7 +17,7 @@
#if defined(_LINKER) #if defined(_LINKER)
#if defined(__GCC_LINKER_CMD__) #if defined(__GCC_LINKER_CMD__)
#include <linker-tool-gcc.h> #include <linker/linker-tool-gcc.h>
#else #else
#error "Unknown toolchain" #error "Unknown toolchain"
#endif #endif

0
include/section_tags.h → include/linker/section_tags.h

2
include/sections.h → include/linker/sections.h

@ -49,6 +49,6 @@
#define TI_CCFG .ti_ccfg #define TI_CCFG .ti_ccfg
#endif #endif
#include <section_tags.h> #include <linker/section_tags.h>
#endif /* _SECTIONS_H */ #endif /* _SECTIONS_H */

2
kernel/alert.c

@ -15,7 +15,7 @@
#include <atomic.h> #include <atomic.h>
#include <init.h> #include <init.h>
#include <toolchain.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_start[];
extern struct k_alert _k_alert_list_end[]; extern struct k_alert _k_alert_list_end[];

2
kernel/compiler_stack_protect.c

@ -20,7 +20,7 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <kernel.h> #include <kernel.h>
/** /**

2
kernel/idle.c

@ -7,7 +7,7 @@
#include <kernel.h> #include <kernel.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <drivers/system_timer.h> #include <drivers/system_timer.h>
#include <wait_q.h> #include <wait_q.h>
#include <power.h> #include <power.h>

4
kernel/init.c

@ -17,12 +17,12 @@
#include <misc/printk.h> #include <misc/printk.h>
#include <misc/stack.h> #include <misc/stack.h>
#include <drivers/rand32.h> #include <drivers/rand32.h>
#include <sections.h> #include <linker/sections.h>
#include <toolchain.h> #include <toolchain.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <linker-defs.h> #include <linker/linker-defs.h>
#include <ksched.h> #include <ksched.h>
#include <version.h> #include <version.h>
#include <string.h> #include <string.h>

2
kernel/mailbox.c

@ -12,7 +12,7 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <debug/object_tracing_common.h> #include <debug/object_tracing_common.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <string.h> #include <string.h>
#include <wait_q.h> #include <wait_q.h>
#include <misc/dlist.h> #include <misc/dlist.h>

2
kernel/mem_slab.c

@ -8,7 +8,7 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <debug/object_tracing_common.h> #include <debug/object_tracing_common.h>
#include <toolchain.h> #include <toolchain.h>
#include <sections.h> #include <linker/sections.h>
#include <wait_q.h> #include <wait_q.h>
#include <misc/dlist.h> #include <misc/dlist.h>
#include <ksched.h> #include <ksched.h>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save