Use this panel to control how the linker formats the listing file, as well as error and warning messages.
The following table lists and describes the linker output options for S12Z.
| Option | Description |
|---|---|
| Link as ROM library | Check to link the application as a ROM library. This option has the same effect as specifying AS ROM_LIB in the linker parameter file. |
| Generate S-Record file | Check to specify that in addition to an absolute file, also an srecord file should be generated. The name of the srecord file is the same as the name of the abs file, except that the extension "SX" is used. The default.env variable "SRECORD" may specify an alternative extension. |
| Check if Objects Overlap in the Absolute File (even if different address spaces) | Check to instruct the linker to check if objects overlap, taking into account their address space. |
| Define Default Value of the EPAGE Register | Defines the reset value for the EEPROM Page Index Register (EPAGE). The value is specific to the actual S12(X) derivative. |
| Define Default Value of the PPAGE Register | Defines the reset value for the Program Page Index Register (PPAGE). The value is specific to the actual S12(X) derivative. |
| Define Default Value of the RPAGE Register | Defines the reset value for the RAM Page Index Register (RPAGE). The value is specific to the actual S12(X) derivative. |
| Generate Map File | Check to scan source files for dependencies and emit a Makefile, without generating object code. |
| Mapping for Memory Space 0x4000-0x7FFF | This option sets the memory mapping for addresses between 0x4000 and 0x7FFF for HCS12XE. This mapping is determined by the MMC control register (the ROMHM and RAMHM bits) and the compiler must be aware of the current setting to correctly perform address translations. |
| Never Check Section Qualifier Compatibility | For some target CPU's, when placing a section in a segment the linker checks if the qualifiers of the section are compatible with the ones of the segment (for instance when placing .text into RAM may result in a linker error).This option disables the check. |
| Strip Symbolic Information | Check to disable the generation of DWARF sections in the absolute file to save memory space. |
| Generate Fixups in abs File | Check to ensure compatibility with previous linker versions. Usually, absolute files do not contain any fixups because all fixups are evaluated at link time. But with fixups, the decoder might symbolically decode the content in absolute files. Some debuggers do not load absolute files which contain fixups because they assume that these fixups are not yet evaluated. But the fixups inserted with this option are actually already handled by this linker. |
| Enable Stack Consumption Computation | The linker computes maximum stack effect for given application when the option is enabled and places the result in the output .map file. |
| Specify Statistic File (e.g. statistic.txt) | Specify the name of the linker statistic file. The statistic file reports each allocated object and its attributes. Every attribute is separated by a tab character, so it can be easily imported into a spreadsheet/database program for further processing. |