tech-userlevel archive

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

Re: Trivial program size inflation

On Tue, 4 Jul 2023, Joerg Sonnenberger wrote:

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*.

You're right. And, kre@ pointed out the same thing offline just now.
Can't say I understand why ld(1) behaves this way, though. (I'm pretty
sure I ran ranlib too.) It should've noticed _all_ the functions in
the supplied archive, right?

I think lld(1) does things differently. I'll check this later...



Home | Main Index | Thread Index | Old Index