commit | a98850cc822ea1f30ed195162d22d396158ba36f | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Oct 24 08:30:47 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 02 22:38:01 2023 -0400 |
tree | 273285cfbf999e57ac8a402c5ce0e43373156de9 | |
parent | 14e93429c4d0870ad02b3e0ac4bfbed16b705a42 [diff] |
sandbox: eliminate unused functions from binaries The sandbox should closely mimic other architectures. Place each function or data in a separate section and let the linker eliminate unused ones. This will reduce the binary size. In the linker script mark that u_boot_sandbox_getopt are to be kept. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Tom Rini <trini@konsulko.com>