zephyr/arch/common
Torsten Rasmussen 510d7dbfb6 linker: align _ramfunc_ram/rom_start/size linker symbol names
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 _ramfunc_ram/rom 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 name is `ramfunc`

The following symbols are aligned in this commit:
-  _ramfunc_ram_start  -> __ramfunc_start
-  _ramfunc_ram_end    -> __ramfunc_end
-  _ramfunc_ram_size   -> __ramfunc_size
-  _ramfunc_rom_start  -> __ramfunc_load_start

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-08-28 08:48:03 -04:00
..
CMakeLists.txt cmake: Support coverage flags on all archs 2021-06-10 18:01:36 -04:00
gen_isr_tables.py gen_isr_tables: Added check of the IRQ num before accessing the vt 2021-01-24 10:12:54 -05:00
isr_tables.c isr_tables: adopt _irq_vector_table for using on 64bit architectures 2021-01-04 16:47:51 -08:00
nocache.ld arch: common: nocache: fix linker section definition 2019-06-19 09:08:40 -07:00
ramfunc.ld linker: align _ramfunc_ram/rom_start/size linker symbol names 2021-08-28 08:48:03 -04:00
rom_start_offset.ld config: Rename TEXT_SECTION_OFFSET to ROM_START_OFFSET 2020-07-09 14:02:38 -04:00
sw_isr_common.c arch: common: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
timing.c arch: common: Fix 10.4 violations 2021-04-10 09:59:37 -04:00