Re: [PATCH v3 1/1] sandbox: eliminate unused functions from binaries

2023-11-02 Thread Simon Glass
On Tue, Oct 24, 2023 at 08:30:47AM +0200, Heinrich Schuchardt wrote: > 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

Re: [PATCH v3 1/1] sandbox: eliminate unused functions from binaries

2023-10-24 Thread Tom Rini
On Tue, Oct 24, 2023 at 08:30:47AM +0200, Heinrich Schuchardt wrote: > 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

Re: [PATCH v3 1/1] sandbox: eliminate unused functions from binaries

2023-10-24 Thread Simon Glass
Hi Heinrich, On Mon, 23 Oct 2023 at 23:31, Heinrich Schuchardt wrote: > > 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

[PATCH v3 1/1] sandbox: eliminate unused functions from binaries

2023-10-24 Thread Heinrich Schuchardt
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 --- v3: