Add new binutils target: moxie
[binutils.git] / binutils / ChangeLog
blob4f755b972fa8f086f3cc376af9221326ee5ef586
1 2009-04-15  Anthony Green  <green@moxielogic.com>
3         * MAINTAINERS: Add myself and Moxie port maintainer.
5 2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
7         * objcopy.c (enum long_section_name_handling):  New enum type.
8         (enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
9         (copy_options[]):  Add entry for --long-section-names option.
10         (copy_usage):  Document it.
11         (set_long_section_mode):  New subroutine.
12         (copy_file):  Call it.
13         (copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
14         * doc/binutils.texi:  Update objcopy documentation with details
15         of new option.
17 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
19         * dlltool.c (set_dll_name_from_def):  Accept new second arg that
20         indicates if we are building DLL or EXE, and use it to add a
21         default suffix to the output filename when none is already present.
22         (def_name):  Indicate we are building an EXE when calling it.
23         (def_library):  Indicate we are building a DLL when calling it.
25 2009-04-01  Jari Aalto  <jari.aalto@cante.net>
27         PR 9972
28         * doc/binutils.texi (strings): Document the -V alias for the
29         --version option.
30         * strings.c (usage): Likewise.
32 2009-03-31  Nick Clifton  <nickc@redhat.com>
34         PR 9992
35         * configure.in: Import Solaris specific largefile test from
36         bfd/configure.in.
37         * configure: Regenerate.
39 2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
41         * MAINTAINERS: Add self.
43 2009-03-27  Nick Clifton  <nickc@redhat.com>
45         * dwarf.c (display_debug_ranges): Add the base address to the
46         displayed values for 'Begin' and 'End'. 
48 2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
50         * readelf.c (process_file_header): Don't report a corrupt string
51         table index if it is zero.
53 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55         * dwarf.c (dwarf_regnames): Moved before frame_need_space.
56         (dwarf_regnames_count): Likewise.
57         (frame_need_space): Return int.
58         (display_debug_frames): Check invalid registers.
60 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62         * readelf.c (debug_apply_relocations): Check relocations
63         against STT_SECTION symbol.
65 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
67         * readelf.c (debug_apply_relocations): Allow relocations
68         against function symbols.
70 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
72         * sysdep.h: Include alloca-conf.h instead of config.h and remove
73         existing #if's handling alloca.
74         * Makefile.am: Run "make dep-am".
75         * Makefile.in: Regenerate.
77 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
79         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
80         * configure.in: Likewise.
81         * configure: Regenerate.
83 2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
85         PR binutils/9945
86         * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
88 2009-03-11  Chris Demetriou  <cgd@google.com>
90         * ar.c (deterministic): New global variable.
91         (main): Recognize new 'D' option, which enables 'deterministic mode'.
92         (usage): Document new 'D' option.
93         (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
94         flags if deterministic mode was requested.
95         * doc/binutils.texi (ar): Document deterministic mode ('D' option).
97 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
99         PR binutils/9933
100         * objcopy.c (filter_symbols): Properly handle common symbols
101         in relocatable file.
103 2009-03-06  Nick Clifton  <nickc@redhat.com>
105         * po/es.po: Updated Spanish translation.
107 2009-03-05  Nick Clifton  <nickc@redhat.com>
109         * objdump.c (disassemble_section): If the computed next offset is
110         not beyond the current offset then just continue to the end.
112 2009-03-04  Tristan Gingold  <gingold@adacore.com>
114         * MAINTAINERS: Add myself as VMS maintainer.
116 2009-03-03  Nick Clifton  <nickc@redhat.com>
118         * readelf.c: Update formatting.
120 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
122         * Makefile.am: Run "make dep-am".
123         * Makefile.in: Regenerate.
125 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
127         * objdump.c (disassemble_section): Mask address before sign extending.
129 2009-03-02  Sebastian Biallas  <sb@biallas.net>
131         * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
132         (parse_ieee_bb): Set the filename if it has not already been
133         discovered.
135 2009-03-02  Cary Coutant  <ccoutant@google.com>
137         * readelf.c (adjust_relative_path): New function.
138         (struct archive_info): New type.
139         (setup_archive): New function.
140         (release_archive): New function.
141         (setup_nested_archive): New function.
142         (get_archive_member_name): New function.
143         (get_archive_member_name_at): New function.
144         (make_qualified_name): New function.
145         (process_archive): Factor out code for reading archive index and
146         long filename table to setup_archive.  Add support for thin archives.
148 2009-03-02  Nick Clifton  <nickc@redhat.com>
150         * po/sk.po: Updated Slovak translation.
152 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
154         * configure: Regenerate.
156 2009-02-23  Cary Coutant <ccoutant@google.com>
158         * objdump.c (load_specific_debug_section): New function, from
159         load_debug_section.
160         (load_debug_section): Use load_specific_debug_section.
161         (dump_dwarf_section): Likewise.
163 2009-02-23  Cary Coutant <ccoutant@google.com>
165         * readelf.c (parse_args): Select all sections explicitly for -w.
167 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
169         * windres.c (set_endianess): Copy name without leading '-'.
171 2009-02-09  Tristan Gingold  <gingold@adacore.com>
173         * NEWS: Mention feature match between objdump and readelf for dumping
174         dwarf info.
176         * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
177         objdump.
179         * objdump.c (usage): Update documentation for -W/--dwarf.
180         (enum option_values): Add OPTION_DWARF.
181         (long_options): --dwarf can accept arguments.
182         (dump_dwarf_section): Also check enabled field.
183         (main): Option -W can accept arguments, code moved to
184         dwarf.c and call dwarf_select_sections_all instead.
185         * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
186         (parse_args): Move code to...
187         * dwarf.c (dwarf_select_sections_by_letters,
188         dwarf_select_sections_by_names): : ...here (new functions).
189         (do_debug_lines_decoded): Remove and replaced by ...
190         (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
191         (display_debug_lines): Adjust for previous change.
192         (dwarf_select_sections_all): New function.
193         (debug_displays): Add initializer for enabled field.
194         * dwarf.h (do_debug_lines_decoded): Remove.
195         Add prototypes for the new functions.
196         (struct dwarf_section_display): Add enabled field.
198 2009-02-06  Nick Clifton  <nickc@redhat.com>
200         * po/vi.po: Updated Vietnamese translation.
202 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
204         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
206 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
208         * NEWS: Move --as-needed change to ...
209         * ../ld/NEWS: Here.
211 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
213         * configure.in: AC_SUBST pdfdir.
214         * Makefile.am: Add install-pdf, install-pdf-am,
215         and install-pdf-recursive targets.
216         * doc/Makefile.am: Define pdf__strip_dir. Add
217         install-pdf and install-pdf-am targets.
218         * po/Make-in: Add install-pdf target.
219         * configure: Regenerate.
220         * Makefile.in: Regenerate.
221         * doc/Makefile.in: Regenerate.
223 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
225         PR binutils/9784
226         * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
228         * doc/binutils.texi: Document --prefix=PREFIX and
229         --prefix-strip=LEVEL.
231         * objdump.c: Include "filenames.h".
232         (prefix): New.
233         (prefix_strip): Likewise.
234         (prefix_length): Likewise.
235         (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
236         (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
237         (long_options): Likewise.
238         (show_line): Handle prefix and prefix_strip.
239         (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
241         * readelf.c (PATH_MAX): Moved to ...
242         * sysdep.h: Here.
244 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
246         * NEWS: Mention --as-needed change.
248 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
250         PR 9798
251         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
252         (bfd_get_archive_filename): Constify param.
253         * bucomm.h (bfd_get_archive_filename): Update prototype.
254         * objcopy.c (RETURN_NONFATAL): Delete.
255         (copy_unknown_object): Don't call bfd_get_archive_filename for
256         bfd_nonfatal_message filename, instead just pass bfd.
257         (copy_object): Likewise.
258         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
259         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
260         (setup_bfd_headers): Fix error message.
262 2009-01-27  Nick Clifton  <nickc@redhat.com>
264         PR 9774
265         * objdump.c (disassemble_section): When the target uses signed
266         addresses make sure that we compute signed values.
268 2009-01-27  Nick Clifton  <nickc@redhat.com>
270         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
271         maintainers.
273 2009-01-26  Nick Clifton  <nickc@redhat.com>
275         PR 9766
276         * dlltool.c (xlate): When strip text after the @ sign, look for
277         the last one not the first one.
279 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
281         * configure.in (commonbfdlib): Delete.
282         * configure: Regenerate.
284 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
286         Cleanup code related to --identify option.
288         * binutils/dlltool.c (file scope): Removed globals identify_ms,
289         identify_member_contains_symname_result,
290         identify_dll_name_list_head, and identify_dll_name_list_tail.
291         Renamed existing typedef dll_name_list_type to
292         dll_name_list_node_type.
293         Added new typedefs dll_name_list_type, symname_search_data_type,
294         and identify_data_type.
295         (identify_append_dll_name_to_list): Renamed to...
296         (dll_name_list_append): ...here.  Changed signature to accept list
297         argument rather than use global.
298         (identify_count_dll_name_list): Renamed to...
299         (dll_name_list_count): ...here.  Changed signature to accept list
300         argument rather than use global.
301         (identify_print_dll_name_list): Renamed to...
302         (dll_name_list_print): ...here.  Changed signature to accept list
303         argument rather than use global.
304         (identify_free_dll_name_list): Renamed to...
305         (dll_name_list_free_contents): ...here.
306         (dll_name_list_free): New function.
307         (dll_name_list_create): New function.
308         (identify_process_section_p): Changed signature to accept
309         ms_style_implib argument rather than use global.
310         (identify_member_contains_symname): Expect incoming void * data to
311         be symname_search_data_type.
312         (identify_dll_for_implib): Use new functions dll_name_list_create
313         and dll_name_list_free.  Use new types symname_search_data_type
314         and identify_data_type to communicate with search routines.
315         (identify_search_section): Expect incoming void * data to be
316         identify_data_type. Use its contents rather than global
317         variables.
319 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
321         Add --identify-strict option.  Handle ms-style implibs:
323         * dlltool.c (file scope): Added new globals identify_ms and
324         identify_strict. New typedef dll_name_list_type, and globals
325         identify_dll_name_list_head and identify_dll_name_list_tail. Added
326         new global identify_member_contains_symname_result.
327         (identify_append_dll_name_to_list): New function.
328         (identify_count_dll_name_list): New function.
329         (identify_print_dll_name_list): New function.
330         (identify_free_dll_name_list): New function.
331         (identify_search_archive): Changed signature to take function
332         pointer to operation to apply to each member, and data to pass on
333         to that function.
334         (identify_search_member): Changed signature to accept user data
335         from caller.
336         (identify_member_contains_symname): New function.
337         (identify_dll_for_implib): Rewrite. Now determines whether implib
338         is ms- or binutils- style, before searching sections for
339         dllname. Allows multiple dllnames.
340         (identify_process_section_p): Search alternate section for dllname
341         when implib is ms-style.
342         (identify_search_section): Add additional conditions to excludes
343         candidate sections from consideration.
344         (usage): Added --identify-strict.
345         (long_options): Added --identify-strict.
346         (main): Handle --identify-strict option.
347         * doc/binutils.texi: Document --identify-strict option.
348         * NEWS: Document --identify and --identify-strict options.
350 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
352         PR 7034
353         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
355 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
357         * objdump.c (disassemble_section): Don't assume non-instruction
358         data if object symbol at given address is in different section.
360 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
362         * dlltool.c (create_for_pep): New.
363         (flush_page): Use create_for_pep instead of using
364         macro DLLTOOL_MX86_64 clause.
365         (generate_idata_ofile): Likewise.
366         (make_one_lib_file): Likewise.
367         (make_head): Likewise.
368         (make_tail): Likewise.
369         (main): Initialize create_for_pep.
371 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
373         * dlltool.c (use_nul_prefixed_import_tables): New.
374         (make_head): Make prefix leading zero prefix element for
375         idata$4 and idata$5 dependent to new flag.
376         (usage): Add new option  --use-nul-prefixed-import-tables.
377         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
378         (long_options): Add --use-nul-prefixed-import-tables.
379         (main): Likewise.
380         * doc/binutils.texi: Add new option documentation for
381         --use-nul-prefixed-import-tables.
382         * NEWS: Add new option.
384 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
386         * windres.c (set_endianess): Get architecture name
387         for internal target names like "pe-arm-wince-little".
388         (find_arch_match): New helper.
389         * ChangeLog: Reset it.
390         * ChangeLog-2008: Moved old ChangeLog.
392 For older changes see ChangeLog-2008
394 Local Variables:
395 mode: change-log
396 left-margin: 8
397 fill-column: 74
398 version-control: never
399 End: