bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld does not alias


From: Michiel de Bondt
Subject: ld does not alias
Date: Sat, 13 Oct 2007 07:26:18 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

ld does not replace alias by symbol when import library has .lib extension and output is a .dll (-shared). It does if import library has .a extension, and also if output is a .exe.

So assume .def file of input dll has line a = b (a is the alias and b is the symbol in input dll). output = exe, import library = .a ===> output searches for symbol b in input dll output = dll, import library = .a ===> output searches for symbol b in input dll output = exe, import library = .lib ===> output searches for symbol b in input dll output = dll, import library = .lib ===> output searches for symbol a in input dll






reply via email to

[Prev in Thread] Current Thread [Next in Thread]