< Optimizing Linkage Editor (rlink) Options / Other Options >
-lib_rename = <name1>=<name2>[,...] -lib_rename = <file>(<name1>=<name2>[,...]) -lib_rename = "<file>|<module>[|<module>...](<name1>=<name2>[,...])" |
This option changes the name of global symbol or section included in a module within the library that was specified by the -library option. |
Specify the symbol name or section name to be changed as <name 1>. Specify the symbol name or section name after the change as <name 2>. |
If there are two or more files or modules with the same name, the priority depends on the input order. |
If this option is specified together with the -form={object|library}, -extract, or -strip option, an error will occur. |
When the -form={absolute|hexadecimal|stype|binary} option is specified, the -show=struct option cannot be specified together. Thus, the section name of the input library cannot be changed. |
Correct operation is not guaranteed if this option is used in combination with the compiler option -merge_files. |