-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-8858
-
C7000_1.4.0.LTS
-
C7000_1.4.3.LTS*
-
default
The linker creates .cinit sections to initialize some data, especially .data, at startup time. It tries to compress the initialization data, but sometimes it cannot, for instance when the user specifies --cinit_compression=none. In this case, the linker computes the length of the .cinit record header incorrectly, which corrupts the .cinit table and causes some data to be initialized incorrectly, leading to unpredictable results.