OSDN Git Service

* dlltool.c: Include <assert.h>.
authorNick Clifton <nickc@redhat.com>
Sat, 23 Oct 2004 17:26:36 +0000 (17:26 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 23 Oct 2004 17:26:36 +0000 (17:26 +0000)
commit8493278529ac82412488885058667f687cdd086c
tree7e2f466b461c64623fa5f9152c89965d0546f8de
parent4d4dc0feb3c0430447095c4a9021d5b254cf4add
* dlltool.c: Include <assert.h>.
(PREFIX_ALIAS_BASE): Define.
(struct export): Add member import_name;
(def_exports): Set import_name.
(make_one_lib_file): Remove prefix alias code, use import_name in .idata$6.
(gen_lib_file): Create and delete aliases.

* binutils-all/alias.def: New file.
* binutils-all/dlltool.exp: Two new -p tests.
* config/default.exp (dlltool_gas_flag): New variable.
Copy gas and lds executables into tmpdir/gas directory rather than making
symlinks which might not be supported by the host OS.
Attempt to handle the case where the host OS does not use the .exe extension
but the target OS does.
* lib/utils-lib.exp (exe_ext): New procedure.
binutils/ChangeLog
binutils/dlltool.c
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/dlltool.exp
binutils/testsuite/config/default.exp
binutils/testsuite/lib/utils-lib.exp