This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Eliminating dead DATA sections in CGT-7.3.2?

Hello Compiler experts

We are using CGT-7.3.2

For legacy reasons we are still building for COFF ABI.

We are using "--gen_func_subsections=on" even for "--program_level_compile" (at the cost of alignment holes...)

I notice that the only way to eliminate dead data sections is by explicitly adding CLINK pragmas to variables or named data sections...

Isn't there an equivalent for GCC-style "-fdata-sections"?

Thanks!