malloc & friends hidden proto issues

Carmelo AMOROSO carmelo.amoroso at st.com
Mon Jul 20 11:54:30 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Frysinger wrote:
> On Monday 20 July 2009 07:34:32 Carmelo AMOROSO wrote:
>> Mike Frysinger wrote:
>>> but the default should be what
>>> we have today -- the malloc symbols can be resolved dynamically at
>>> runtime. this is how many debugging libraries work in the first place --
>>> they provide the malloc() and related symbols.
>> this is the answer I was looking for. I thought to remove the relocation
>> for malloc too, but I was wrong.
> 
> would documenting this somewhere help ?  strategically placed comments tend to 
> go a long way ...

why not ? include/stdlib.h I guess is the right place ?

> -mike

carmelo


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpkWvYACgkQoRq/3BrK1s/eCwCg1Ty+EC9UO4OQdadfTFkijlPE
bKMAoP2g0LoN1COIlMiCDsaXYJTR2cf3
=IMD0
-----END PGP SIGNATURE-----


More information about the uClibc mailing list