Using CCS v12.6; I have legacy C++ code that uses the #pragma DATA_SECTION directive to create a custom section name
e.g.
#pragma DATA_SECTION ("DMABuffers");
Int16 gScratch[NCISFRAMELENGTH];
Which is producing the following linker warning:
warning #10247-D: creating output section "DMABuffers" without a SECTIONS specification
The memory range is specified in my main.tcf file but there is no associated SECTIONS directive in the autogenerated linker command file. (maincfg.cmd)
Is there a way to associate the input? section created by the #pragma directive to the equivalent output section using the .tcf file? Or do I need to create a custom linker command file?

MEMORY statement in maincfg.cmd:
MEMORY {
PAGE 0: DARAM: origin = 0x400, len = 0xcc00
PAGE 0: VECT: origin = 0x200, len = 0x100
PAGE 0: ExtPgm: origin = 0x10000, len = 0x30000
PAGE 0: ExtPgm1: origin = 0x40000, len = 0x10000
PAGE 0: ExtPgm2: origin = 0x60000, len = 0x40000
PAGE 0: DMABuffers: origin = 0xd000, len = 0x3000
PAGE 0: NCISFrameBuf: origin = 0xa0000, len = 0x20000
PAGE 0: ExtFirmwareBuffer0: origin = 0xc0000, len = 0x10000
PAGE 0: ExtFirmwareBuffer1: origin = 0xd0000, len = 0x10000
PAGE 0: ExtFirmwareBuffer2: origin = 0xe0000, len = 0x10000
PAGE 0: ExtFirmwareBuffer8: origin = 0x140000, len = 0x10000
PAGE 0: ExtFirmwareBuffer9: origin = 0x150000, len = 0x10000
PAGE 0: ExtFirmwareBufferA: origin = 0x160000, len = 0x10000
PAGE 0: ExtFirmwareBufferB: origin = 0x170000, len = 0x10000
PAGE 0: ExtFirmwareBufferC: origin = 0x180000, len = 0x10000
PAGE 0: ExtFirmwareBufferD: origin = 0x190000, len = 0x10000
PAGE 0: ExtFirmwareBufferE: origin = 0x1a0000, len = 0x10000
PAGE 0: ExtFirmwareBufferF: origin = 0x1b0000, len = 0x10000
PAGE 0: ExtFirmwareBuffer3: origin = 0xf0000, len = 0x10000
PAGE 0: ExtFirmwareBuffer4: origin = 0x100000, len = 0x10000
PAGE 0: ExtFirmwareBuffer5: origin = 0x110000, len = 0x10000
PAGE 0: ExtFirmwareBuffer6: origin = 0x120000, len = 0x10000
PAGE 0: ExtFirmwareBuffer7: origin = 0x130000, len = 0x10000
PAGE 0: ExtNCISBuffer: origin = 0x1c0000, len = 0x10000
}
However, there is no SECTIONS directive in the autogenerated maincfg.cmd to allocate the #pragma DMABuffers section to the DMABuffers memory region.
There is only an object alias:
_DMABuffers = DMABuffers;
