usage: rename-hidden-symbols [-h] [-v] [--arm] [-e ENTRY] [-c] obj
Preprocess input objects to a relocatable object file (produced by
partial linking, i.e. ld -r). This script avoids multiple symbol
definition errors by renaming symbols that conflict.
positional arguments:
obj input object file
optional arguments:
-h, --help show this help message and exit
-v, --verbose display information about operation
--arm use arm toolchain for rename. The default is to use the GNU toolchain
-e ENTRY, --entry ENTRY
the entry point. All other symbols will be renamed
-c, --rename-common also rename COMMON data symbols if they conflict
environment variables:
OBJCOPY objcopy executable to use
READELF readelf executable to use