diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2011-04-13 12:53:36 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2011-04-13 12:53:36 +0000 |
commit | db17156eaa6dbb38436c6a01712688e35389e773 (patch) | |
tree | d21e8952f2eee10e1e62512a1c98b7857c211bf5 /ld/deffile.h | |
parent | 7f880bc3d4d91558b61f7460dabacc04c0ed44a3 (diff) | |
download | gdb-db17156eaa6dbb38436c6a01712688e35389e773.zip gdb-db17156eaa6dbb38436c6a01712688e35389e773.tar.gz gdb-db17156eaa6dbb38436c6a01712688e35389e773.tar.bz2 |
2011-04-13 Kai Tietz <ktietz@redhat.com>
PR binutils/12658
* deffile.h (def_file_add_export): Add is_dup argument.
(def_file_add_import): Likewise.
* deffilep.y (are_names_equal): New helper.
(cmp_export_elem): New helper.
(find_export_in_list): Add search routine for exports.
(def_file_add_export): Check for duplicates.
(cmp_import_elem): New helper.
(find_import_in_list): Add search routine for imports.
(def_file_add_import): Check for duplicates.
(def_exports): Handle duplicates.
(def_imports): Likewise.
* pe-dll.c (process_def_file_and_drectve): Likewise.
(pe_implied_import_dll): Likewise.
Diffstat (limited to 'ld/deffile.h')
-rw-r--r-- | ld/deffile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/deffile.h b/ld/deffile.h index 8ddd070..ca8c779 100644 --- a/ld/deffile.h +++ b/ld/deffile.h @@ -105,10 +105,10 @@ extern def_file *def_file_parse (const char *, def_file *); extern void def_file_free (def_file *); extern def_file_export *def_file_add_export (def_file *, const char *, const char *, int, - const char *); + const char *, int *); extern def_file_import *def_file_add_import (def_file *, const char *, const char *, int, const char *, - const char *); + const char *, int *); extern void def_file_add_directive (def_file *, const char *, int); extern def_file_module *def_get_module (def_file *, const char *); #ifdef DEF_FILE_PRINT |