zephyr/scripts
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
..
build kernel: syscalls: no need to include all syscalls in binary 2023-06-17 07:57:45 -04:00
checkpatch scripts: checkpatch: add Atmel Pwm typedef 2022-07-12 17:51:23 +02:00
ci ci: testplan: do not start more runners than needed 2023-06-08 07:33:56 -04:00
coccinelle everywhere: fix typos 2022-03-18 13:24:08 -04:00
coredump treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
dts devicetree: better DT_PROP_BY_IDX()/DT_FOREACH_PROP_ELEM() support 2023-05-16 18:14:26 +02:00
footprint scripts: size_report: Use default encoding to process filenames 2023-06-02 15:44:36 -04:00
generate_usb_vif USB-C: genVIF: Cleanup and add support to pick static data from input 2023-05-26 13:54:43 -04:00
gitlint scripts: zephyr_commit_rules: improve commit error messages 2023-02-08 15:03:56 -08:00
kconfig kconfig: provide an option for enforcing Kconfig settings 2023-05-25 14:57:41 +02:00
logging/dictionary logging: Use TYPE_SECTION macros for log const 2023-05-03 10:43:31 +02:00
net scripts: net: add enumerate_http_status.py 2022-10-12 09:02:21 -04:00
pylib twister: Use natural sort when generating hardware map 2023-06-17 07:54:46 -04:00
pylint/checkers scripts: pylint: Add argument parser abbreviation checker 2023-01-26 20:12:36 +09:00
release scripts: add list_devicetree_bindings_changes.py 2023-03-25 11:12:38 +01:00
schemas Twister: Add integration with renode-test 2023-05-26 09:43:49 -04:00
support treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
tests scripts: Typo in the word 'platform' fix 2023-05-29 14:34:33 -04:00
tracing tracing: scripts: Fix spelling 2023-02-08 01:09:31 +09:00
utils scripts: utils: add twister_to_list tool 2023-05-10 09:52:37 +02:00
west_commands west: build: keep kconfig quotes from testcase.yaml 2023-05-31 10:02:28 -04:00
.gitignore
checkpatch.pl checkpatch: update --exclude docs 2022-12-01 15:48:30 +01:00
checkstack.pl
coccicheck scripts: Allow use of bash outside of /bin 2022-03-08 11:11:10 +01:00
dump_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_gcov_files.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
get_maintainer.py scripts: get_maintainer: Fix glob pattern directory match error logic 2023-04-26 00:29:25 +09:00
github_helpers.py scripts: add github_helpers.py 2022-05-24 18:48:03 +02:00
list_boards.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
make_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
requirements-base.txt west.cmake: make MIN_WEST_VERSION catch up with requirements-base.txt 2023-05-22 10:17:11 +02:00
requirements-build-test.txt
requirements-compliance.txt scripts: compliance: add support for YAMLLint 2023-01-04 17:29:23 +01:00
requirements-doc.txt doc: Do not use Sphinx 5.2.0.post0 2022-09-25 10:37:32 +02:00
requirements-extras.txt scripts: requirements: Update protobuf and grpcio-tools requirements 2023-05-23 08:55:16 +02:00
requirements-run-test.txt twister: Use natural sort when generating hardware map 2023-06-17 07:54:46 -04:00
requirements.txt
series-push-hook.sh
set_assignees.py scripts: set_assignee: don't skip assignment on too many labels 2023-01-26 14:57:29 -05:00
snippets.py scripts: snippets: Use UTF-8 to write CMake files 2023-06-02 15:44:36 -04:00
spelling.txt
tags.sh
twister twister: move main to twisterlib/twister_main.py 2023-01-13 15:39:04 -08:00
valgrind.supp
west-commands.yml west: west twister integration 2023-01-13 15:39:04 -08:00
zephyr_module.py west: v0.14.0 is required now (and soon, v1.1) 2023-05-19 13:17:05 -07:00