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