optimization/3329: optimization large memory copies uses kern el memcpy function without user's knowledge.

Richard Henderson rth@redhat.com
Tue Apr 2 14:04:00 GMT 2002


There are two markups that export symbols from the kernel:

 (1) EXPORT_SYMBOL

	This is used for symbols with which there are no
	restrictions for use.

 (2) EXPORT_SYMBOL_GPL

	This is used for symbols that may only be used with
	modules that carry a GPL compatible license.

See linux/Documentation/DocBook/kernel-hacking.tmpl or
some post-processing thereof.

You will find that memcpy and all of the other gcc support
routines are exported with EXPORT_SYMBOL, and thus do not
contaminate your code.


r~



More information about the Gcc-bugs mailing list