This option deletes an external symbol name or a library module.
[Specification format]
-DELete=suboption[, ...]
suboption := (symbol[, ...])
| file ( symbol[, ...] )
| module
|
- | Interpretation when omitted |
None
[Detailed description]
- | This option deletes external symbol name symbol or library module module. |
- | Symbol names or modules in specific file file can be deleted. |
- | When a C variable name or C function name is specified, add "_" at the head of the definition name in the program. |
- | If there are two or more files with the same name, the priority depends on the input order. |
- | When a symbol is deleted using this option, the object is not deleted but the attribute is changed to the internal symbol. |
[Example of use]
- | To delete symbol name "_sym1" in all the files, describe as: |
>rlink a.obj -delete=(_sym1)
|
- | To delete symbol name "_sym2" in b.obj, describe as: |
>rlink a.obj b.obj -delete=b.obj(_sym2)
|
[Remark]
- | If this option is specified together with the -extract option or -strip option, this option will be invalid. |
- | When the -form=library option is specified, library modules can be deleted. |
- | When the -form={absolute|relocate|hexadecimal|stype|binary} option is specified, external symbols can be deleted. |
- | Operation is not guaranteed if this option is used in combination with compile option -Xmerge_files. |