equating symbols to undefined

H. J. Lu hjl@lucon.org
Wed Oct 12 16:06:00 GMT 2005


On Wed, Oct 12, 2005 at 05:31:01PM +0200, Jan Beulich wrote:
> 
> I want to be able to have a header file that defines an alias memcpy
> should resolve to (because there is no way I could tell gcc to not call
> memcpy when copying large compound objects), which can be included by
> both consumers and producer of the replacement definition, without the
> producer (because of inclusion of the header file) providing a global
> definition for memcpy.
> 
> Similarly, I want to be able to a header file that defines an alias,
> say, __divdi3 should resolve to (because there is no way I could tell
> gcc to not call __divdi3 when dividing 64-bit integers on a 32-bit
> target), which can be included by both consumers and producer of the
> replacement definition, without the producer (because of inclusion of
> the header file) providing a global definition for __divdi3 (because the
> policy in the rest of the component - linux kernel - is to not have such
> a function available).
> 

Then please show me a testcase where I can do

# make

and see the failure.


H.J.



More information about the Binutils mailing list