|ARM Technical Support Knowledge Articles|
Applies to: L166 Linker/Locator
Information in this article applies to:
How can I locate a C function at an absolute address using C166/L166?
You may not locate an indivitual function, but all functions of a module to a fixed address using the L166 directive SECTIONS to specify an address for your function. For example, to locate the section ?PR?ABC in class NCODE at address 0x12000, you would use the following command line syntax:
L166 abc.obj SECTIONS( ?PR?ABC%NCODE ( 0x12000 ) )
Note that the section name is combosed of the module name and the memory model as explained under Sections, Classes, and Groups in the C166 User's Guide.
Article last edited on: 2005-09-30 09:11:32
Did you find this article helpful? Yes No
How can we improve this article?