I my case I'd like to replace a call to a function that doesn't exist by a
call to an existing function. This is to be applied to a project where a
function is called with a name (e.g. fct1_wrongname in my example), but is
implemented with another name (e.g. fct9). Since I cannot modify source
code, I'd like to make this with the help of a linker script.
It looks strange but in the final project, a part of the code calling
fct1_wrongname is generated automatically, so I cannot modify it.
I'm afraid I cannot use alias as you mentioned because it makes me modify
source code.
In my example, I need to "rename" function. Eventually I'll need to "rename"
variables as well.