This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
problems with ld --wrap : Help!
- To: binutils at sources dot redhat dot com
- Subject: problems with ld --wrap : Help!
- From: William Gacquer <wgacquer at ubisoft dot fr>
- Date: Tue, 5 Sep 2000 13:01:41 +0200
Hello
I am attempting to wrap malloc using "ld --wrap malloc" as in the ld
documentation.
but I always get a "__real_malloc undeclared" error message.
In fact, my __wrap_malloc does not call __real_malloc at all.
__real_malloc is just called on time at the begining of the run, to
allocate a big block. But this call is not resolved.
What may be wrong?
My ld is "GNU ld version 2.9-ee-991111 ( with BFD 2.9-ee-991111).
William
________________
William Gacquer
Rayman 2 PS2 team - Ubi Simulations - Annecy France