L166: LOCATING MULTIPLE SECTIONS WITHOUT SPECIFYING NAMES
Information in this article applies to:
I wish to locate one NCONST section at 8000H and the rest starting at 9000H. How can I achieve this without specifying every single NCONST section name in the SECTIONS directive?
You can use the GROUPS directive to specify the starting address for a particular group. Any sections specified with the SECTIONS directive are exceptions to this. For example:
SECTIONS(?NC?BOOTLOAD%NCONST (0x8000)) GROUPS(NCONST (0x9000))
will locate the section ?NC?BOOTLOAD at 8000H and the rest of the NCONST sections starting at 9000H.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Friday, July 15, 2005
of your data.