Keil Logo

NOINIT Linker Directive

Abbreviation

NOIN

Arguments

None.

Default

Uninitialized static and global C variables are cleared to 0.

µVision

Options — L166 Misc — Misc Controls.

Description

The NOINIT directive disables zero initialization for uninitialized static and global C variables. By default, the L166 Linker generates a zero initialization address table for sections with uninitialized static and global variables. The NOINIT directive suppresses this table.

Note

  • You may selectively disable zero initialization by using the NOINIT compiler directive within your C source code.
Example
L166 file1.obj NOINIT
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.