DSPRelated.com
Forums

LINKER: Placing a specific global variable in a SECTION

Started by bmbmz123 October 30, 2003
Hi,

A "c" file has several global variables.

I want to alloate/place only one variable (an array) in SECTION_A,
and all the other variables from that file are allocated/placed in
SECTION_B.

I understand that I should first allocate the specific variable to
SECTION_A,
and then allocate the rest to SECTION_B with file.c(.bss) command.

How will I go about doing this, what is the command or format for
that?

The specific variable is an array. Is it treated differently?

10x
boaz