zephyr/cmake
Daniel Leung 80e78208e6 kernel: syscalls: no need to include all syscalls in binary
The syscall generation phase parses all header files to look
for potential syscalls, and emits all the relevant files to
enable syscalls. However, this results in all the syscall
marshalling functions being included in the final binary.
This is due to these functions being referred to inside
the dispatch list, resulting in ineffective garbage
collection during linking. Previous commits allows each
drivers and subsystems to specify which header files
containing syscalls are relevant. So this commit changes
the syscall generation to only include the syscalls needed
for the build in the syscall dispatch list and removing
various bits related to that. This allows the linker to
garbage collect unused syscall related function, and thus
reducing final binary size.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-06-17 07:57:45 -04:00
..
app
bintools ARC: MWDT: rework GNU helper tools usage 2023-06-17 07:44:31 -04:00
compiler ARC: MWDT: rework GNU helper tools usage 2023-06-17 07:44:31 -04:00
emu Twister: Add integration with renode-test 2023-05-26 09:43:49 -04:00
flash
ide
linker device: use iterable sections 2023-05-12 12:01:10 +02:00
linker_script sensing: initial sensor list and enumerate each sensor 2023-06-17 07:43:25 -04:00
makefile_exports
modules kernel: syscalls: no need to include all syscalls in binary 2023-06-17 07:57:45 -04:00
reports
sca/sparse
toolchain ARC: MWDT: rework GNU helper tools usage 2023-06-17 07:44:31 -04:00
usage
util
cfb.cmake
extra_flags.cmake
gcc-m-cpu.cmake ARC: Add HS4x support 2023-05-02 16:54:24 +02:00
gcc-m-fpu.cmake
gen_version_h.cmake cmake: generalize VERSION infrastructure for better reuse 2023-05-17 13:56:58 +02:00
hex.cmake
kobj.cmake
mcuboot.cmake cmake: mcuboot: Add warning if missing Kconfig signing options 2023-05-26 09:07:49 -04:00
package_helper.cmake cmake: update package helper description to use EXTRA_CONF_FILE var 2023-05-23 16:40:21 +02:00
pristine.cmake
target_toolchain_flags.cmake
verify-toolchain.cmake
vif.cmake USB-C: genVIF: Cleanup and add support to pick static data from input 2023-05-26 13:54:43 -04:00