initialization segment must not change during translation unit
The #pragma init_seg statement cannot be preceded by segment initialization code. The #pragma init_seg statement must precede any code and cannot be preceded by another #pragma init_seg statement.
Move the segment initialization code to the beginning of the module. If multiple areas must be initialized, move them to separate modules.