Rename symbol at link time
DamienDaG
deusnei-div@yahoo.fr
Fri Jun 8 10:56:00 GMT 2012
Hi
As suggested by Ian, y tried this with another version of MinGW, and it
worked with
_fct1_wrongname = _fct9
It also works when a variable is renamed.
Václav : of course I could rename symbols in source files, but I need to
compile code for an embedded target. This code is written either by
following strict coding rules, or by automatic generation. The target linker
script renames symbols (no problem) and I wanted to do the same to build an
executable on PC. Since the target compiler is based on gcc, I supposed it
was possible to build on PC.
Thanks again for your help.
Damien
--
View this message in context: http://old.nabble.com/Rename-symbol-at-link-time-tp33968382p33980805.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list