zephyr/include/linker
Sebastian Bøe 878a0f050e ld: Put 'sizeof(struct device)' in the generated offsets header
Rename _DEVICE_STRUCT_SIZE to _DEVICE_STRUCT_SIZEOF. This causes it to
be picked by the script 'gen_offset_header.py' and inserted into the
header file 'include/generated/offsets.h'.

Renaming from x_SIZE to x_SIZEOF will align it's name with the other
symbols that denote a sctruct's size, like K_THREAD_SIZEOF.

Furthermore, it will allow the symbol to be accessed through a header
file define, instead of only as an extern symbol. This is more
flexible, and more aligned with the other symbols in offsets.

Finally, if we are able to move all of offsets.c symbols into the
offsets.h header file we be able to remove offsets.o from the link and
thereby simplify the linking process.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-09-18 16:23:40 +02:00
..
common-ram.ld logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
common-rom.ld logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
intlist.ld gen_isr_tables: Delete the dead code accompanying .intList.num_isrs 2018-06-25 12:54:49 -07:00
kobject-rom.ld kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
kobject-text.ld userspace: add support for dynamic kernel objects 2018-04-24 12:27:54 -07:00
kobject.ld kernel: threads: assign index no. to dynamically created threads 2018-08-09 09:20:14 -07:00
linker-defs.h ld: Put 'sizeof(struct device)' in the generated offsets header 2018-09-18 16:23:40 +02:00
linker-tool-gcc.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
linker-tool.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
priv_stacks-rom.ld arm: Generate privileged stacks 2018-02-06 15:31:16 -08:00
priv_stacks-text.ld arm: Generate privileged stacks 2018-02-06 15:31:16 -08:00
priv_stacks.ld arm: Generate privileged stacks 2018-02-06 15:31:16 -08:00
section_tags.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
sections.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00