zephyr/include/arch
Torsten Rasmussen a28830b811 linker: align __itcm_load_start / __dtcm_data_load_start linker symbols
Cleanup and preparation commit for linker script generator.

Zephyr linker scripts provides start and end symbols for each section,
and sometimes even size and LMA start symbols.

Generally, start and end symbols uses the following pattern, as:
Section name:             foo
Section start symbol:     __foo_start
Section end symbol:       __foo_end

However, this pattern is not followed consistently.
To allow for linker script generation and ensure consistent naming of
symbols then the following pattern is introduced consistently to allow
for cleaner linker script generation.
Section name:             foo
Section start symbol:     __foo_start
Section end symbol:       __foo_end
Section size symbol:      __foo_size
Section LMA start symbol: __foo_load_start

This commit aligns the symbols for __itcm_load_start and
__dtcm_data_load_start to other symbols and in such a way they follow
consistent pattern which allows for linker script and scatter file
generation.

The symbols are named according to the section name they describe.
Section names are itcm and dtcm.

The following symbols are aligned in this commit:
-  __itcm_rom_start      -> __itcm_load_start
-  __dtcm_data_rom_start -> __dtcm_data_load_start

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-08-28 08:48:03 -04:00
..
arc linker: align _image_text_start/end/size linker symbols name 2021-08-28 08:48:03 -04:00
arm/aarch32 linker: align __itcm_load_start / __dtcm_data_load_start linker symbols 2021-08-28 08:48:03 -04:00
arm64 linker: align _image_text_start/end/size linker symbols name 2021-08-28 08:48:03 -04:00
common arch: implement brute force find_lsb_set() 2021-05-07 13:36:22 -04:00
nios2 linker: align _image_rodata and _image_rom start/end/size linker symbols 2021-08-28 08:48:03 -04:00
posix linker: align __data_ram/rom_start/end linker symbol names 2021-08-28 08:48:03 -04:00
riscv linker: align _image_text_start/end/size linker symbols name 2021-08-28 08:48:03 -04:00
sparc linker: align _image_text_start/end/size linker symbols name 2021-08-28 08:48:03 -04:00
x86 linker: align _image_text_start/end/size linker symbols name 2021-08-28 08:48:03 -04:00
xtensa xtensa: cache: XCC needs to declare variable outside for loop 2021-07-22 15:41:11 +03:00
arch_inlines.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
cpu.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
structs.h kernel: add an architecture specific structs header 2021-04-21 09:03:47 -04:00
syscall.h arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00