* dlltool.c (set_dll_name_from_def): New function. Strip name
authorDanny Smith <dannysmith@users.sourceforge.net>
Sun, 16 Jan 2005 09:25:06 +0000 (09:25 +0000)
committerDanny Smith <dannysmith@users.sourceforge.net>
Sun, 16 Jan 2005 09:25:06 +0000 (09:25 +0000)
commita0ce7f12db1afa72e80b89785d71554c4dbda3ba
tree63ee0c0c97de03efc27ac82e1d6ef42c34d228c8
parenta880c7485ce602503bce7b5b9cd5970ad52e5725
* dlltool.c (set_dll_name_from_def): New function.  Strip name
to basename, with warning.
(def_name): Use it.
(def_library): Likwise.
(main): Strip arg of --dllname to basename, with warning.
Only use basename of exp_name when inferring dll_name.
binutils/ChangeLog
binutils/dlltool.c