Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - L index

CONFIG_LD_DEAD_CODE_DATA_ELIMINATION: Dead code and data elimination (EXPERIMENTAL)

General informations

The Linux kernel configuration item CONFIG_LD_DEAD_CODE_DATA_ELIMINATION has multiple definitions:

Dead code and data elimination (EXPERIMENTAL) found in init/Kconfig

The configuration item CONFIG_LD_DEAD_CODE_DATA_ELIMINATION:

Help text

Enable this if you want to do dead code and data elimination with the linker by compiling with -ffunction-sections -fdata-sections, and linking with --gc-sections.

This can reduce on disk and in-memory size of the kernel code and static data, particularly for small configs and on small systems. This has the possibility of introducing silently broken kernel if the required annotations are not present. This option is not well tested yet, so use at your own risk.

found in arch/Kconfig

The configuration item CONFIG_LD_DEAD_CODE_DATA_ELIMINATION:

Help text

Select this if the architecture wants to do dead code and data elimination with the linker by compiling with -ffunction-sections -fdata-sections and linking with --gc-sections.

This requires that the arch annotates or otherwise protects its external entry points from being discarded. Linker scripts must also merge .text.*, .data.*, and .bss.* correctly into output sections. Care must be taken not to pull in unrelated sections (e.g., '.text.init'). Typically '.' in section names is used to distinguish them from label names / C identifiers.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - L index

Automatically generated (in year 2024). See also LKDDb sources on GitLab