tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Trivial program size inflation



On Tue, Jul 04, 2023 at 08:38:22AM +0000, RVP wrote:
> b) the alloc functions in libc.a not being marked as being "weak".

This doesn't really matter at all, in fact, it is likely going to make
the situation *worse*. The linker errors happen because you are trying
to mix and match malloc implementations. Making the default in libc.a
weak just means that you can successfully get part of one malloc and
fallbacks used by other code pathes from the other.

Joerg


Home | Main Index | Thread Index | Old Index