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