This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problems with ld --wrap : Help!


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]