This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ELF symbol aliasing in
On Tue, 2009-11-17 at 19:33 -0500, Mike Frysinger wrote:
> i'm not sure how representative this example is to your actual needs.
> are you actually [final] linking an application ? or do you really
> need to create a shared library and/or static archive with the aliases
> contained in there ?
>
Good point; actually it's for a library, so I suppose defsym= won't
work.
> a linker script could do it just fine though i bet.
Probably, but I have no idea how to write somethign like that;
the examples I've seen are all concerned with section layout.