This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ELF symbol aliasing in
On Wed, 2009-11-18 at 06:16 -0800, H.J. Lu wrote:
> Glibc uses alias. What is the problem?
As I already said, the problem is that gcc's alias only works for
symbols which are defined in the same source file as the alias
declaration.
Apple's linker has an option "-alias_list" to read what are essentially
--defsym argument pairs, from a file. That'd be even more helpful, but
building an argument list from the file works well enough.