L166: Specifying Lowercase Section Names
I am using Keil C166 v3.12 and µVision 1.32 with RTX-166 3.10a on an 80C167 target.
I am trying to relocate section ?PR?memcpy from the C167L.LIB library file to a specified location in memory. I am using the following construct in my linker include file:
where FCODE is defined earlier thus:
Other sections (for example all the RTX-166 sections) relocate with no problems. However, on trying to link, L166 warns that it is unable to find ?PR?MEMCPY (note this is converted to UPPER CASE) and locates ?PR?memcpy elsewhere.
I suspect that L166 converts all input read in from the include file to uppercase, which means that it looks for ?PR?MEMCPY instead of ?PR?memcpy. Is there a fix for this problem?
Yes. Just type the section name enclosed with quotes. For example:
This will solve your problem.
Last Reviewed: Thursday, February 25, 2021
of your data.