Renesas Technology, Tools FAQs
Last Updated: March 21, 2000
Document Number: 01051238_e
Q.
How can I locate library functions in a ROM address when linking. Also, is there a section for library functions that enables me to
make section assignments during a link?
A.
There is no section prepared for library functions. To do this, you need toobtain the library source program which we supply in
NC30WA and define a section name with the NC30 expansion function #pragma section in the source program.
Description method of the "#pragma SECTION"
First, add the following statement to the top of the source program.
#pragma SECTION program library
Next, complete and assemble it like a regular function.
Finally, specify the necessary address for this library section during the link.
(NOTE)
Please note that a library function written by assembler is not applicable for this method. You must use ".section program" to
specify the section.
(Reference info)
Library source programs are installed in directory src30\lib. (Please make sure that you specify the library source copy option
when you install NC30WA.)
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Kommentare zu diesen Handbüchern