When the -lnkopt=-vfinfo option is specified, the optimizing linker outputs the variable/function information file. |
The optimizing linker significantly reduces the size of the code as a whole by selecting variables and functions on the basis of size of variable and frequency of reference and producing header files (variable/function information files) in which #pragma directives to use the saddr area for the given variables or the callt function for the given functions are added. |
The following variables or functions are not targets of the variable/function information file. |
/* RENESAS OPTIMIZING LINKER GENERATED FILE 2014.10.20 */ /*** variable information ***/ (1) (2) (3) (4) #pragma saddr var1 /* count:10,size:1,near */ (5) (2) (3) (4) (6) /* #pragma saddr var2 */ /* count:0,size:2,near,unref */ /*** function information ***/ (7) (8) (9) #pragma callt func1 /* count:20,near */ (10) (8) (9) (11) /* #pragma callt func2 */ /* count:0,near,unref */ |