* dlltool.c: Include <assert.h>.
commitca5f3f429276b025db321b0b2227fcf6ccb4bfae
authorAaron W. LaFramboise <aaronavay62@aaronwl.com>
Sun, 24 Oct 2004 17:49:55 +0000 (24 17:49 +0000)
committerAaron W. LaFramboise <aaronavay62@aaronwl.com>
Sun, 24 Oct 2004 17:49:55 +0000 (24 17:49 +0000)
tree9f1310598bc2e09305c7d7bcaaefdaf5d6f49e16
parent2f820f8418a7fd570f640c55b8184cc095bfd75f
* 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/testsuite/binutils-all/alias.def [new file with mode: 0644]