aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAaron W. LaFramboise <aaronavay62@aaronwl.com>2004-10-24 17:49:55 +0000
committerAaron W. LaFramboise <aaronavay62@aaronwl.com>2004-10-24 17:49:55 +0000
commitf9461bdb4e6e1a16f364911d70cf5247872b5977 (patch)
treeadd3b612ce7b7280e437b0411638a1d5276c5f5d /binutils
parent830866afa5fd613f65393af6c2839ce19f5cb9b9 (diff)
downloadgdb-f9461bdb4e6e1a16f364911d70cf5247872b5977.zip
gdb-f9461bdb4e6e1a16f364911d70cf5247872b5977.tar.gz
gdb-f9461bdb4e6e1a16f364911d70cf5247872b5977.tar.bz2
* 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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/binutils-all/alias.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/alias.def b/binutils/testsuite/binutils-all/alias.def
new file mode 100644
index 0000000..d59d4a0
--- /dev/null
+++ b/binutils/testsuite/binutils-all/alias.def
@@ -0,0 +1,2 @@
+EXPORTS
+symbol=nothing