Discussion Forum

Usage of Library routines, are the possible to disable?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Rasmus Renzi
Posted
4-Oct-2005 14:27 GMT
Toolset
None
New! Usage of Library routines, are the possible to disable?
Hi everybody

I have a question about C_LIBCODE (LIBRARY ROUTINES).

I have read the following in the document http://www.keil.com/support/docs/1958.htm ;
"The Keil C compiler uses "helper" routines to perform operations where in-line code would cause program bloat"

My question is, is there a way to disable the usage of this kind of "helper" routines.

You see, I have a part of the code in which I need to have full control of all address references. But because of this calls to, in this case C_SCALLI, I can't do that.

If you have read my earlier post, I have a specific part of the hex image on which I need to calculate a checksum.

But this C_LIBCODE calls makes my checksum change from one build to another.
Read-Only
Author
erik malund
Posted
4-Oct-2005 14:42 GMT
Toolset
None
New! RE: Usage of Library routines, are the possible to disable?
My question is, is there a way to disable the usage of this kind of "helper" routines. ..... But this C_LIBCODE calls makes my checksum change from one build to another.

I have made many builds where I have needed identical hex code for comparison (e.g. cleaning up messes by giving variables meaningful names without making "mistakes"). I have yet to find that the "helper routines" or anything else make the hex change from one build to another when no functionality is changed in any source

Erik
Read-Only
Author
Reinhard Keil
Posted
4-Oct-2005 15:17 GMT
Toolset
None
New! RE: Usage of Library routines, are the possible to disable?
There is no way to disable the usage of certain library calls.

Reinhard

Next Thread | Thread List | Previous Thread Start a Thread | Settings