You copied the Doc URL to your clipboard.


Renames the specified symbol in an output ELF object.


You must use --elf and --output with this option.



Where option is one of:

This replaces all symbols in the ELF object object_name that have a symbol name matching old_symbol_name.
This replaces all symbols that have a symbol name matching old_symbol_name.

You can:

  • Use wildcard characters ? and * for symbolic names in old_symbol_name, new_symbol_name, and object_name arguments.
  • Specify multiple values in one option followed by a comma-separated list of arguments.


This example renames the clock symbol in the timer.axf image to myclock, and creates a new file called mytimer.axf:

fromelf --elf --rename=clock=myclock --output=mytimer.axf timer.axf