Next: , Previous: About gnatelim, Up: Reducing the Size of Ada Executables with gnatelim

21.2 Eliminate Pragma

The simplified syntax of the Eliminate pragma used by gnatelim is:


pragma Eliminate (Library_Unit_Name, Subprogram_Name);


full expanded Ada name of a library unit
a simple or expanded name of a subprogram declared within this compilation unit

The effect of an Eliminate pragma placed in the GNAT configuration file gnat.adc is: