diff options
| author | Kele Zhang <[email protected]> | 2024-10-01 23:05:51 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-11-06 16:29:39 +0530 |
| commit | 0171cfcc7010bcd75277a2c452e9702d934230f9 (patch) | |
| tree | d8260651f0c540c239151e2a8cdbd25b54cdf4d2 /lib/utils/timer/fdt_timer_mtimer.c | |
| parent | 369c64517ee5c2753a33a5ff7695b4d2b6066e7b (diff) | |
Makefile: enable --gc-sections
The --gc-sections option enables the linker to perform garbage
collection of unreferenced code and data, thereby reducing the binary
size.
The -ffunction-sections option will place each function into a separate
section, so it is necessary to add .text.* to the linker script.
Signed-off-by: Kele Zhang <[email protected]>
Signed-off-by: Yuan Tan <[email protected]>
Signed-off-by: Zhangjin Wu <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Xiang W <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/fdt_timer_mtimer.c')
0 files changed, 0 insertions, 0 deletions
