[bfd/ChangeLog]
[external/binutils.git] / binutils / ChangeLog
1 2009-03-11  Chris Demetriou  <cgd@google.com>
2
3         * ar.c (deterministic): New global variable.
4         (main): Recognize new 'D' option, which enables 'deterministic mode'.
5         (usage): Document new 'D' option.
6         (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
7         flags if deterministic mode was requested.
8         * doc/binutils.texi (ar): Document deterministic mode ('D' option).
9
10 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
11
12         PR binutils/9933
13         * objcopy.c (filter_symbols): Properly handle common symbols
14         in relocatable file.
15
16 2009-03-06  Nick Clifton  <nickc@redhat.com>
17
18         * po/es.po: Updated Spanish translation.
19
20 2009-03-05  Nick Clifton  <nickc@redhat.com>
21
22         * objdump.c (disassemble_section): If the computed next offset is
23         not beyond the current offset then just continue to the end.
24
25 2009-03-04  Tristan Gingold  <gingold@adacore.com>
26
27         * MAINTAINERS: Add myself as VMS maintainer.
28
29 2009-03-03  Nick Clifton  <nickc@redhat.com>
30
31         * readelf.c: Update formatting.
32
33 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
34
35         * Makefile.am: Run "make dep-am".
36         * Makefile.in: Regenerate.
37
38 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
39
40         * objdump.c (disassemble_section): Mask address before sign extending.
41
42 2009-03-02  Sebastian Biallas  <sb@biallas.net>
43
44         * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
45         (parse_ieee_bb): Set the filename if it has not already been
46         discovered.
47
48 2009-03-02  Cary Coutant  <ccoutant@google.com>
49
50         * readelf.c (adjust_relative_path): New function.
51         (struct archive_info): New type.
52         (setup_archive): New function.
53         (release_archive): New function.
54         (setup_nested_archive): New function.
55         (get_archive_member_name): New function.
56         (get_archive_member_name_at): New function.
57         (make_qualified_name): New function.
58         (process_archive): Factor out code for reading archive index and
59         long filename table to setup_archive.  Add support for thin archives.
60
61 2009-03-02  Nick Clifton  <nickc@redhat.com>
62
63         * po/sk.po: Updated Slovak translation.
64
65 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
66
67         * configure: Regenerate.
68
69 2009-02-23  Cary Coutant <ccoutant@google.com>
70
71         * objdump.c (load_specific_debug_section): New function, from
72         load_debug_section.
73         (load_debug_section): Use load_specific_debug_section.
74         (dump_dwarf_section): Likewise.
75
76 2009-02-23  Cary Coutant <ccoutant@google.com>
77
78         * readelf.c (parse_args): Select all sections explicitly for -w.
79
80 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
81
82         * windres.c (set_endianess): Copy name without leading '-'.
83
84 2009-02-09  Tristan Gingold  <gingold@adacore.com>
85
86         * NEWS: Mention feature match between objdump and readelf for dumping
87         dwarf info.
88
89         * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
90         objdump.
91
92         * objdump.c (usage): Update documentation for -W/--dwarf.
93         (enum option_values): Add OPTION_DWARF.
94         (long_options): --dwarf can accept arguments.
95         (dump_dwarf_section): Also check enabled field.
96         (main): Option -W can accept arguments, code moved to
97         dwarf.c and call dwarf_select_sections_all instead.
98         * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
99         (parse_args): Move code to...
100         * dwarf.c (dwarf_select_sections_by_letters,
101         dwarf_select_sections_by_names): : ...here (new functions).
102         (do_debug_lines_decoded): Remove and replaced by ...
103         (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
104         (display_debug_lines): Adjust for previous change.
105         (dwarf_select_sections_all): New function.
106         (debug_displays): Add initializer for enabled field.
107         * dwarf.h (do_debug_lines_decoded): Remove.
108         Add prototypes for the new functions.
109         (struct dwarf_section_display): Add enabled field.
110
111 2009-02-06  Nick Clifton  <nickc@redhat.com>
112
113         * po/vi.po: Updated Vietnamese translation.
114
115 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
116
117         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
118
119 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
120
121         * NEWS: Move --as-needed change to ...
122         * ../ld/NEWS: Here.
123
124 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
125
126         * configure.in: AC_SUBST pdfdir.
127         * Makefile.am: Add install-pdf, install-pdf-am,
128         and install-pdf-recursive targets.
129         * doc/Makefile.am: Define pdf__strip_dir. Add
130         install-pdf and install-pdf-am targets.
131         * po/Make-in: Add install-pdf target.
132         * configure: Regenerate.
133         * Makefile.in: Regenerate.
134         * doc/Makefile.in: Regenerate.
135
136 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
137
138         PR binutils/9784
139         * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
140
141         * doc/binutils.texi: Document --prefix=PREFIX and
142         --prefix-strip=LEVEL.
143
144         * objdump.c: Include "filenames.h".
145         (prefix): New.
146         (prefix_strip): Likewise.
147         (prefix_length): Likewise.
148         (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
149         (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
150         (long_options): Likewise.
151         (show_line): Handle prefix and prefix_strip.
152         (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
153
154         * readelf.c (PATH_MAX): Moved to ...
155         * sysdep.h: Here.
156
157 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
158
159         * NEWS: Mention --as-needed change.
160
161 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
162
163         PR 9798
164         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
165         (bfd_get_archive_filename): Constify param.
166         * bucomm.h (bfd_get_archive_filename): Update prototype.
167         * objcopy.c (RETURN_NONFATAL): Delete.
168         (copy_unknown_object): Don't call bfd_get_archive_filename for
169         bfd_nonfatal_message filename, instead just pass bfd.
170         (copy_object): Likewise.
171         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
172         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
173         (setup_bfd_headers): Fix error message.
174
175 2009-01-27  Nick Clifton  <nickc@redhat.com>
176
177         PR 9774
178         * objdump.c (disassemble_section): When the target uses signed
179         addresses make sure that we compute signed values.
180
181 2009-01-27  Nick Clifton  <nickc@redhat.com>
182
183         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
184         maintainers.
185
186 2009-01-26  Nick Clifton  <nickc@redhat.com>
187
188         PR 9766
189         * dlltool.c (xlate): When strip text after the @ sign, look for
190         the last one not the first one.
191
192 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
193
194         * configure.in (commonbfdlib): Delete.
195         * configure: Regenerate.
196
197 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
198
199         Cleanup code related to --identify option.
200
201         * binutils/dlltool.c (file scope): Removed globals identify_ms,
202         identify_member_contains_symname_result,
203         identify_dll_name_list_head, and identify_dll_name_list_tail.
204         Renamed existing typedef dll_name_list_type to
205         dll_name_list_node_type.
206         Added new typedefs dll_name_list_type, symname_search_data_type,
207         and identify_data_type.
208         (identify_append_dll_name_to_list): Renamed to...
209         (dll_name_list_append): ...here.  Changed signature to accept list
210         argument rather than use global.
211         (identify_count_dll_name_list): Renamed to...
212         (dll_name_list_count): ...here.  Changed signature to accept list
213         argument rather than use global.
214         (identify_print_dll_name_list): Renamed to...
215         (dll_name_list_print): ...here.  Changed signature to accept list
216         argument rather than use global.
217         (identify_free_dll_name_list): Renamed to...
218         (dll_name_list_free_contents): ...here.
219         (dll_name_list_free): New function.
220         (dll_name_list_create): New function.
221         (identify_process_section_p): Changed signature to accept
222         ms_style_implib argument rather than use global.
223         (identify_member_contains_symname): Expect incoming void * data to
224         be symname_search_data_type.
225         (identify_dll_for_implib): Use new functions dll_name_list_create
226         and dll_name_list_free.  Use new types symname_search_data_type
227         and identify_data_type to communicate with search routines.
228         (identify_search_section): Expect incoming void * data to be
229         identify_data_type. Use its contents rather than global
230         variables.
231
232 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
233
234         Add --identify-strict option.  Handle ms-style implibs:
235
236         * dlltool.c (file scope): Added new globals identify_ms and
237         identify_strict. New typedef dll_name_list_type, and globals
238         identify_dll_name_list_head and identify_dll_name_list_tail. Added
239         new global identify_member_contains_symname_result.
240         (identify_append_dll_name_to_list): New function.
241         (identify_count_dll_name_list): New function.
242         (identify_print_dll_name_list): New function.
243         (identify_free_dll_name_list): New function.
244         (identify_search_archive): Changed signature to take function
245         pointer to operation to apply to each member, and data to pass on
246         to that function.
247         (identify_search_member): Changed signature to accept user data
248         from caller.
249         (identify_member_contains_symname): New function.
250         (identify_dll_for_implib): Rewrite. Now determines whether implib
251         is ms- or binutils- style, before searching sections for
252         dllname. Allows multiple dllnames.
253         (identify_process_section_p): Search alternate section for dllname
254         when implib is ms-style.
255         (identify_search_section): Add additional conditions to excludes
256         candidate sections from consideration.
257         (usage): Added --identify-strict.
258         (long_options): Added --identify-strict.
259         (main): Handle --identify-strict option.
260         * doc/binutils.texi: Document --identify-strict option.
261         * NEWS: Document --identify and --identify-strict options.
262
263 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
264
265         PR 7034
266         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
267
268 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
269
270         * objdump.c (disassemble_section): Don't assume non-instruction
271         data if object symbol at given address is in different section.
272
273 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
274
275         * dlltool.c (create_for_pep): New.
276         (flush_page): Use create_for_pep instead of using
277         macro DLLTOOL_MX86_64 clause.
278         (generate_idata_ofile): Likewise.
279         (make_one_lib_file): Likewise.
280         (make_head): Likewise.
281         (make_tail): Likewise.
282         (main): Initialize create_for_pep.
283
284 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
285
286         * dlltool.c (use_nul_prefixed_import_tables): New.
287         (make_head): Make prefix leading zero prefix element for
288         idata$4 and idata$5 dependent to new flag.
289         (usage): Add new option  --use-nul-prefixed-import-tables.
290         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
291         (long_options): Add --use-nul-prefixed-import-tables.
292         (main): Likewise.
293         * doc/binutils.texi: Add new option documentation for
294         --use-nul-prefixed-import-tables.
295         * NEWS: Add new option.
296
297 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
298
299         * windres.c (set_endianess): Get architecture name
300         for internal target names like "pe-arm-wince-little".
301         (find_arch_match): New helper.
302         * ChangeLog: Reset it.
303         * ChangeLog-2008: Moved old ChangeLog.
304
305 For older changes see ChangeLog-2008
306 \f
307 Local Variables:
308 mode: change-log
309 left-margin: 8
310 fill-column: 74
311 version-control: never
312 End: