bfd/
[external/binutils.git] / binutils / ChangeLog
1 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
2
3         * configure.in (commonbfdlib): Delete.
4         * configure: Regenerate.
5
6 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
7
8         Cleanup code related to --identify option.
9
10         * binutils/dlltool.c (file scope): Removed globals identify_ms,
11         identify_member_contains_symname_result,
12         identify_dll_name_list_head, and identify_dll_name_list_tail.
13         Renamed existing typedef dll_name_list_type to
14         dll_name_list_node_type.
15         Added new typedefs dll_name_list_type, symname_search_data_type,
16         and identify_data_type.
17         (identify_append_dll_name_to_list): Renamed to...
18         (dll_name_list_append): ...here.  Changed signature to accept list
19         argument rather than use global.
20         (identify_count_dll_name_list): Renamed to...
21         (dll_name_list_count): ...here.  Changed signature to accept list
22         argument rather than use global.
23         (identify_print_dll_name_list): Renamed to...
24         (dll_name_list_print): ...here.  Changed signature to accept list
25         argument rather than use global.
26         (identify_free_dll_name_list): Renamed to...
27         (dll_name_list_free_contents): ...here.
28         (dll_name_list_free): New function.
29         (dll_name_list_create): New function.
30         (identify_process_section_p): Changed signature to accept
31         ms_style_implib argument rather than use global.
32         (identify_member_contains_symname): Expect incoming void * data to
33         be symname_search_data_type.
34         (identify_dll_for_implib): Use new functions dll_name_list_create
35         and dll_name_list_free.  Use new types symname_search_data_type
36         and identify_data_type to communicate with search routines.
37         (identify_search_section): Expect incoming void * data to be
38         identify_data_type. Use its contents rather than global
39         variables.
40
41 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
42
43         Add --identify-strict option.  Handle ms-style implibs:
44
45         * dlltool.c (file scope): Added new globals identify_ms and
46         identify_strict. New typedef dll_name_list_type, and globals
47         identify_dll_name_list_head and identify_dll_name_list_tail. Added
48         new global identify_member_contains_symname_result.
49         (identify_append_dll_name_to_list): New function.
50         (identify_count_dll_name_list): New function.
51         (identify_print_dll_name_list): New function.
52         (identify_free_dll_name_list): New function.
53         (identify_search_archive): Changed signature to take function
54         pointer to operation to apply to each member, and data to pass on
55         to that function.
56         (identify_search_member): Changed signature to accept user data
57         from caller.
58         (identify_member_contains_symname): New function.
59         (identify_dll_for_implib): Rewrite. Now determines whether implib
60         is ms- or binutils- style, before searching sections for
61         dllname. Allows multiple dllnames. 
62         (identify_process_section_p): Search alternate section for dllname
63         when implib is ms-style.
64         (identify_search_section): Add additional conditions to excludes
65         candidate sections from consideration.
66         (usage): Added --identify-strict.
67         (long_options): Added --identify-strict.
68         (main): Handle --identify-strict option.
69         * doc/binutils.texi: Document --identify-strict option.
70         * NEWS: Document --identify and --identify-strict options.
71
72 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
73
74         PR 7034
75         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
76
77 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
78
79         * objdump.c (disassemble_section): Don't assume non-instruction
80         data if object symbol at given address is in different section.
81
82 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
83
84         * dlltool.c (create_for_pep): New.
85         (flush_page): Use create_for_pep instead of using
86         macro DLLTOOL_MX86_64 clause.
87         (generate_idata_ofile): Likewise.
88         (make_one_lib_file): Likewise.
89         (make_head): Likewise.
90         (make_tail): Likewise.
91         (main): Initialize create_for_pep.
92
93 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
94
95         * dlltool.c (use_nul_prefixed_import_tables): New.
96         (make_head): Make prefix leading zero prefix element for
97         idata$4 and idata$5 dependent to new flag.
98         (usage): Add new option  --use-nul-prefixed-import-tables.
99         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
100         (long_options): Add --use-nul-prefixed-import-tables.
101         (main): Likewise.
102         * doc/binutils.texi: Add new option documentation for
103         --use-nul-prefixed-import-tables.
104         * NEWS: Add new option.
105
106 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
107
108         * windres.c (set_endianess): Get architecture name
109         for internal target names like "pe-arm-wince-little".
110         (find_arch_match): New helper.
111         * ChangeLog: Reset it.
112         * ChangeLog-2008: Moved old ChangeLog.
113
114 For older changes see ChangeLog-2008
115 \f
116 Local Variables:
117 mode: change-log
118 left-margin: 8
119 fill-column: 74
120 version-control: never
121 End: