* dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.
[external/binutils.git] / binutils / ChangeLog
1 2009-12-08  Cary Coutant  <ccoutant@google.com>
2
3         * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.
4         (debug_displays): Remove duplicate entry for debug_pubtypes.
5
6 2009-12-03  David Daney  <ddaney@caviumnetworks.com>
7             Adam Nemet  <adambnemet@gmail.com>
8
9         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
10
11 2009-12-03  Nick Clifton  <nickc@redhat.com>
12
13         PR binutils/11045
14         * dwarf.c (do_debug_pubtypes): New variable.
15         (dwarf_select_sections_by_names): Handle .debug_pubtypes.
16         (dwarf_select_sections_by_letters): Add 't' for .debug_pubtype.
17         (dwarf_select_sections_all): Set do_debug_pubtypes.
18         (debug_displays): Add support for .debug_pubtypes.
19         * dwarf.h (do_debug_pubtypes): Export.
20         * objdump.c (usage): Add -wt or --dwarf=pubtypes.
21         * readelf.c (usage): Likewise.
22         (process_section_headers): Enable debug display if
23         do_debug_pubtypes is set.
24         * doc/binutils.texi: Document -wt/--dwarf=pubtypes option.
25
26 2009-12-02  Jerker Bäck  <jerker.back@gmail.com>
27
28         PR binutils/11017
29         * dlltool.c (PAGE_SIZE): Delete.
30         (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE.
31         Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386.
32
33 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
34
35         * readelf.c (get_machine_name, get_osabi_name): Handle more
36         allocated values.
37
38 2009-11-30  Joseph Myers  <joseph@codesourcery.com>
39
40         * configure: Regenerate.
41
42 2009-11-20  Nick Clifton  <nickc@redhat.com>
43
44         * readelf.c: Include xc16x.h.
45         (dump_relocations): Handle relocations for the xc16x target.
46         (get_machine_name): Accept EM_C166 for xc16x targets.
47         (is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc.
48         (is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc.
49         (is_none_reloc): Add support for xc16c null reloc.
50         
51 2009-11-20  Ben Elliston  <bje@au.ibm.com>
52
53         * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.
54         (sysinfo.o): Likewise.
55         * Makefile.in: Regenerate.
56
57 2009-11-19  Ben Elliston  <bje@au.ibm.com>
58
59         * arlex.l: Enable noinput, nounput flex options.
60         * syslex.l: Likewise.
61
62 2009-11-17  Paul Brook  <paul@codesourcery.com>
63             Daniel Jacobowitz  <dan@codesourcery.com>
64
65         * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.
66
67 2009-11-16  Kai Tietz  <kai.tietz@onevision.com>
68
69         * windmc.c (set_endianess): Use bfd_get_target_info.
70         * windres.c (set_endianess): Likewise.
71         (find_arch_match): Removed.
72
73 2009-11-11  Nick Clifton  <nickc@redhat.com>
74
75         * po/id.po: Updated Indonesian translation.
76
77 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
78
79         * configure.in: Stop checking for fopen64 and stat64.
80         * strings.c (file_off, file_open, statbuf, file_stat): Remove.
81         (strings_file): Change file_off to file_ptr, file_open to fopen,
82         statbuf to struct stat and file_stat to stat.
83         (get_char): Change parameter type file_off * to file_ptr *.
84         (print_strings): Change parameter and variable `start' type file_off to
85         file_ptr.
86         * configure: Regenerate.
87         * config.in: Regenerate.
88
89 2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
90
91         * configure.in: Call ACX_LARGEFILE.  Stop calling AC_PLUGINS,
92         AC_SYS_LARGEFILE and checking the Solaris largefile exception.
93         * aclocal.m4: Regenerate.
94         * configure: Regenerate.
95
96 2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
97
98         * bucomm.c (get_file_size): Update comment for the error return value.
99
100 2009-11-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
101
102         * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
103
104 2009-11-05  Kai Tietz  <kai.tietz@onevision.com>
105
106         * dllwrap.c (is_leading_underscore): New variable.
107         (cpu_type): New enum type.
108         (which_cpu): New variable.
109         (usage): Add new options --no-leading-underscore
110         and --leading-underscore.
111         (long_options): Likewise.
112         (OPTION_NO_LEADING_UNDERSCORE): New define.
113         (OPTION_LEADING_UNDERSCORE): Likewise.
114         (main): Initialize which_host, pass new options
115         to dlltool, do underscoring dependent on
116         is_leading_underscore, and do '@12' decoration
117         only for x86.
118
119 2009-11-02  Paul Brook  <paul@codesourcery.com>
120
121         * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
122
123 2009-10-28  Kai Tietz <kai.tietz@onevision.com>
124
125         * dlltool.c (leading_underscore): New local variable.
126         (asm_prefix): Interpret leading_underscore.
127         (xlate): Likewise.
128         (add_excludes): Use leading_underscore for making
129         symbol name.
130         (gen_exp_file): Use leading_underscore for internal
131         _imp_ symbols.
132         (usage): Add display of --no-leading-underscore and
133         --leading-underscore option.
134         (OPTION_NO_LEADING_UNDERSCORE): New.
135         (OPTION_LEADING_UNDERSCORE): New.
136         (long_options): Add --no-leading-underscore and
137         --leading-underscore option.
138         (main): Handle new options.
139         * doc/binutils.text: Add documentation of the options
140         --no-leading-underscore and --leading-underscore.
141
142 2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
143
144         * deflex.l: Allow '<' and '>' in ID names.
145
146         * defparse.y (EQUAL): New token constant.
147         (opt_import_name): New rule for emptry or '==' ID.
148         (expline): Add opt_import_name as last line element.
149         (impline): Likewise.
150         * dlltool.c (ifunct): New member its_name.
151         (export): Likewise.
152         (append_import): Add its_name argument.
153         (defexports): Likewise.
154         (defimport): Likewise.
155         (scan_drectve_symbols): Adjust calls to def_exports.
156         (dump_def_info): Print new optinal import/export table
157         symbol name.
158         (generate_idata_ofile): Use its_name member.
159         (make_one_lib_file): Likewise.
160         (nfunc): Take its_name in account on sort.
161         * dlltool.h (def_exports): Add its_name as argument.
162         (def_import): Likewise.
163         * doc/binutils.texi: Add new def file syntax extension.
164         * deflex.l (EQUAL): Add rule for '=='.
165         * NEWS: Mention new feature.
166
167 2009-10-23  Thomas Cougnard  <thomas.cougnard@gmail.com>
168
169         * readelf.c (dynamic_info): Correct size of array.
170
171 2009-10-21  Ben Elliston  <bje@gnu.org>
172
173         * MAINTAINERS (BUILD SYSTEM, TESTSUITES): Remove myself.
174
175 2009-10-19  Jerker Bäck  <jerker.back@gmail.com>
176
177         PR binutils/10793
178         * prdbg.c (tg_end_struct_type): Warning fix.
179
180         PR binutils/10792
181         * dlltool.c (dll_name_list_append): Declare variable at start
182         of block.
183         (dll_name_list_count, dll_name-list_print): Likewise.
184
185 2009-10-16  Doug Evans  <dje@sebabeach.org>
186
187         * MAINTAINERS: Add myself as m32r maintainer.
188
189 2009-10-16  Jerker Bäck <jerker.back@gmail.com>
190
191         PR 10764
192         * Makefile.am (sysinfo.o, syslex.o): Place source file after all
193         command line switches.
194         * Makefile.in: Regenerate.
195
196 2009-10-16  Yann Droneaud  <yann@droneaud.fr>
197
198         PR 10768
199         * dlltool.c (bfd_get_errmsg): New macro.
200         (scan_obj_file): Use it.
201         (make_one_lib_file): Use it.
202         (make_head): Use it.
203         (make_delay_head): Use it.
204         (make_tail): Use it.
205         (gen_lib_file): Use it.
206         (identify_dll_for_implib): Use it.
207         (identify_search_archive):  Use it.
208
209 2009-10-16  Nick Clifton  <nickc@redhat.com>
210
211         * readelf.c (usage): Add mention of --debug-dump=frames-interp.
212         Wrap output to 80 columns.
213         * objdump.c (usage): Likewise.
214         * doc/binutils.texi (readelf): Add note about =frames-interp.
215
216 2009-10-01  Alan Modra  <amodra@bigpond.net.au>
217
218         * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
219
220 2009-09-29  Nick Clifton  <nickc@redhat.com>
221
222         * doc/binutils.texi (c++filt): Remove spurious description of
223         nonexistent --java command line switch for cxxfilt.
224
225 2009-09-29  DJ Delorie  <dj@redhat.com>
226
227         * readelf.c: Add support for RX target.
228         * MAINTAINERS: Add DJ and NickC as maintainers for RX.
229
230 2009-09-28  Alan Modra  <amodra@bigpond.net.au>
231
232         * configure.in: Don't invoke configure.tgt on $enable_targets.
233         * configure: Regenerate.
234
235 2009-09-28  Nick Clifton  <nickc@redhat.com>
236
237         PR 10478
238         * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
239         SHN_AFTER section link values in x86 binaries.
240         (process_section_headers): Likewise.
241
242 2009-09-25  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
243
244         PR 10656
245         * readelf.c: Remove duplicate declaration of variable do_wide.
246         * dwarf.h: Add export of do_wide.
247
248 2009-09-24  Cary Coutant  <ccoutant@google.com>
249
250         * dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
251         (get_FORM_name): Add new DWARF-4 forms.
252         (read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
253         (get_AT_name): Add new DWARF-4 and GNU-specific attributes.
254         (process_debug_info): Add do_types parameter; change all callers.
255         Add support for .debug_types sections.
256         (display_debug_types): New function.
257         (debug_displays): Add .debug_types section.
258         * readelf.c (process_section_headers): Add .debug_types section.
259         (display_debug_section): Simplify call to streq.
260
261 2009-09-25  Alan Modra  <amodra@bigpond.net.au>
262
263         * readelf.c (print_dynamic_symbol): Format entries as for
264         normal symbol table.
265         (process_symbol_table): Use -7s format string for visibility.
266
267 2009-09-22  Richard Sandiford  <rdsandiford@googlemail.com>
268
269         * objdump.c (disassemble_section): Use bfd_get_arch_size
270         instead of assuming that the address size is 32 bits.
271
272 2009-09-21  Alan Modra  <amodra@bigpond.net.au>
273
274         * readelf.c (get_ppc_dynamic_type): Add TLSOPT.
275         (get_ppc64_dynamic_type): Likewise.
276
277 2009-09-18  Nick Clifton  <nickc@redhat.com>
278
279         * po/es.po: Updated Spanish translation.
280         * po/vi.po: Updated Vietnamese translation.
281
282 2009-09-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
283
284         * readelf.c (process_version_sections, process_symbol_table):
285         Use symbolic constants.
286
287 2009-09-11  Nick Clifton  <nickc@redhat.com>
288
289         * po/binutils.pot: Updated by the Translation project.
290
291 2009-09-11  Philippe De Muyter  <phdm@macqel.be>
292
293         * obcopy.c (copy_object): New parameter `input_arch', architecture
294         of input file, if not specified in input file itself; all callers
295         updated; `binary_architecture' hack removed.
296         (copy_archive, copy_file): New parameter `input_arch', for
297         `copy_object' usage.
298         (copy_main): Accept `-B' (`--binary-architecture') option also
299         for any arch-less input ifile format, not only `binary'; remove
300         bfd_external_binary_architecture hack; instead, add `input_arch'
301         to calls to `copy_file'.
302         * windres.c, windmc.c : Obsolete and useless external references
303         to `bfd_external_binary_architecture' or `bfd_external_machine'
304         removed.
305         * doc/binutils.texi: Mention that -B parameter can be used for any
306         input file type which does not have its own architecture.
307
308 2009-09-10  Martin Thuresson  <martin@mtme.org>
309
310         Update sources to compile cleanly with -Wc++-compat:
311         * addr2line.c (slurp_symtab): Fix casts. Introduce variable
312         minisyms to avoid aliasing varning.
313         * ar.c: Add casts.
314         (normalize): Use name del instead of delete.
315         (display_target_list,display_info_table): Change loop counter
316         variable a to int.
317         * bucomm.c: Add casts.
318         * debug.c: Update function to use new names.
319         (struct debug_baseclass): Rename member from virtual to
320         is_virtual.
321         (struct debug_type_s, struct debug_field_s, struct
322         debug_baseclass_s, struct debug_method_s, struct
323         debug_method_variant_s, struct debug_type_s): Rename struct from
324         avoid name collision.
325         * debug.h: Use new struct names.
326         * dwarf.c: Add casts.
327         (free_debug_memory): Change loop counter variable a to int.
328         * ieee.c: Add casts.
329         (enum ieee_var_kind): Move to top level.
330         (ieee_class_baseclass): Rename parameter virtual to is_virtual.
331         (ieee_class_method_var): Rename variable virtual to is_virtual.
332         * nm.c: Add casts.
333         * objcopy.c: Add casts.
334         (copy_archive): Rename variable delete to del.
335         * objdump.c: Add casts.
336         (dump_dwarf_section): Change loop counter variable i to int.
337         * prdbg.c: Add casts.
338         (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
339         to is_virtual.
340         * readelf.c: Add casts.
341         (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
342         top level.
343         * size.c: Add casts.
344         * stabs.c (parse_stab_type, parse_stab_range_type,
345         (parse_stab_cpp_abbrev): Rename parameter from typename to
346         type_name.
347         (parse_stab_baseclasses): Rename variable virtual to is_virtual.
348         * strings.c: Add casts.
349         * wrstabs.c (stab_class_baseclass): Rename parameter virtual to
350         is_virtual.
351
352 2009-09-09  Nick Clifton  <nickc@redhat.com>
353
354         PR 10478:
355         readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
356         SHF_ORDERED.
357         (process_section_headers): Warn about out of range sh_link
358         values.  When displaying detailed section header information
359         annote the SHN_BEFORE and SHN_AFTER values.
360
361 2009-09-08  Alan Modra  <amodra@bigpond.net.au>
362
363         * dwarf.c (byte_get_little_endian): Handle size of 3.
364         (byte_get_big_endian): Likewise.
365         * readelf.c (byte_put_little_endian): Likewise.
366         (byte_put_big_endian): Likewise.
367         (is_24bit_abs_reloc): New function.
368         (is_none_reloc): Formatting.
369         (apply_relocations): Use is_24bit_abs_reloc.  Handle pj and xtensa
370         reloc peculiarity.
371
372 2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
373
374         * readelf.c (is_none_reloc <EM_XTENSA_OLD>, is_none_reloc <EM_XTENSA>):
375         New.
376
377 2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
378
379         * dwarf.c (process_debug_info): Support section padding abbrev codes.
380
381 2009-09-07  Tristan Gingold  <gingold@adacore.com>
382
383         * po/binutils.pot: Regenerate.
384
385 2009-09-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
386
387         * Makefile.am (sysdump.o): Depend on sysroff.c.
388         * Makefile.in: Regenerate.
389
390 2009-09-05  Martin Thuresson  <martin@mtme.org>
391
392         * ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class,
393         ieee_read_reference): Rename variables named class to cxxclass.
394
395 2009-09-04  Tristan Gingold  <gingold@adacore.com>
396
397         * BRANCHES: Add binutils-2_20-branch.
398
399 2009-09-04  Tristan Gingold  <gingold@adacore.com>
400
401         * NEWS: Add marker for 2.20.
402
403 2009-09-04  Timo Kreuzer  <timo.kreuzer@web.de>
404
405         * dlltool.c (delayimp_name): Add new global variable
406         (usage, long_options, main): Add new option "-y" / "--output-delaylib"
407         (struct mac): Add fields how_dljtab_size, how_dljtab_roff1,
408         how_dljtab_roff2, how_dljtab, trampoline.
409         (i386_dljtab): Add binary stub for x86 delay import.
410         (i386_trampoline): Add text assembly stub for x86 delay import.
411         (mtable): Add delay import data for M386 and MX86 only.
412         (make_delay_head): New function.
413         (make_one_lib_file): New arg delay creates delay-load import stub.
414         (gen_lib_file): New arg delay likewise.
415         (HOW_JTAB, HOW_JTAB_SIZE, HOW_JTAB_ROFF): New arg delay likewise.
416         (HOW_JTAB_ROFF2, HOW_JTAB_ROFF3): New macros for delay import.
417         (make_tail): Convert hard TABS embedded in strings to "\t" escapes.
418         * NEWS: Mention new feature.  Also fix whitespace.
419         * doc/binutils.texi: Updated dlltool documentation.
420
421 2009-09-02  Tristan Gingold  <gingold@adacore.com>
422
423         * configure.com: Do not copy makefile.vms-in to makefile.vms
424         * makefile.vms-in: Renamed to...
425         * makefile.vms: ... this usual name as it is not processed anymore.
426         Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
427         objdump.exe.
428
429 2009-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
430
431         * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o)
432         (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct
433         source file name for generated files which may be in $(srcdir).
434         * Makefile.in: Regenerate.
435
436 2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
437
438         * version.c (print_version): Change to "Copyright 2009".
439
440 2009-09-01  Tristan Gingold  <gingold@adacore.com>
441
442         * makefile.vms-in: Remove unused VERSION variable.  Remove unused
443         dependencies.
444         * configure.com: Ported to Itanium VMS.  Create build.com DCL script.
445
446 2009-08-29  Martin Thuresson  <martin@mtme.org>
447
448         * nlmconv.c (main): Rename variable new to new_name.
449
450 2009-08-28  H.J. Lu  <hongjiu.lu@intel.com>
451
452         * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace
453         CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD.
454         (syslex.o): Likewise.
455         (sysinfo.o): Likewise.
456         (bin2c$(EXEEXT_FOR_BUILD)): Likewise.
457         * Makefile.in: Regenerated.
458
459 2009-08-27  Dave Korn  <dave.korn.cygwin@gmail.com>
460
461         * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
462         (--subsystem): ... from here.
463
464 2009-08-24  Cary Coutant  <ccoutant@google.com>
465
466         * objdump.c (find_symbol_for_address): Avoid costly call to
467         bfd_octets_per_byte.
468
469 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
470
471         * Makefile.am (am__skiplex, am__skipyacc): New.
472         * Makefile.in: Regenerate.
473
474 2009-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
475
476         * Makefile.am (syslex.o): Depend on sysinfo.h config.h.
477         * Makefile.in: Regenerate.
478
479 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
480
481         * Makefile.am (AM_CPPFLAGS): Renamed from ...
482         (INCLUDES): ... this.
483         (bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
484         (installcheck-local): Renamed from ...
485         (installcheck): ... this.
486         * Makefile.in: Regenerate.
487
488         * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
489         foreign.
490         (MKDEP, CLEANFILES): Remove now-unneeded variables.
491         (DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
492         (mkdep section): Remove.
493         (BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
494         (EXTRA_ar_SOURCES): New, list $(CFILES).
495         (syslex.o): Depend on syslex.c.
496         (sysinfo.o): Depend on sysinfo.c.
497         (arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
498         Remove dependencies, now tracked by automake.
499         (srconv.o): Depend on sysroff.c.
500         (objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
501         (nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
502         (rescoff.o, nlmconv.o): Rewrite using automake-style dependency
503         tracking rules; only list the dependency upon the primary source
504         file, but no included headers.
505         * Makefile.in: Regenerate.
506
507         * Makefile.am (install-pdf, install-pdf-recursive, install-html)
508         (install-html-recursive): Remove.
509         * Makefile.in: Regenerate.
510         * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
511         (html__strip_dir, install-html, install-html-am): Remove.
512         * doc/Makefile.in: Regenerate.
513
514         * Makefile.in: Regenerate.
515         * aclocal.m4: Likewise.
516         * config.in: Likewise.
517         * configure: Likewise.
518         * doc/Makefile.in: Likewise.
519
520 2009-08-17  Nick Clifton  <nickc@redhat.com>
521
522         * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
523         32-bit absolute reloc for the purposes of processing debug
524         sections.
525
526 2009-08-10  Daniel Gutson  <dgutson@codesourcery.com>
527
528         * readelf.c (get_arm_section_type_name): Added support for
529         new sections headers.
530
531 2009-08-03  H.J. Lu  <hongjiu.lu@intel.com>
532
533         PR binutils/10364
534         * objcopy.c (strip_main): Check return from smart_rename.
535         (copy_main): Likewise.
536
537 2009-07-27  Nick Clifton  <nickc@redhat.com>
538
539         PR 10413
540         * objdump.c (dump_section_header): Skip sections that we are
541         ignoring.
542
543 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
544
545         * readelf.c (guess_is_rela): Handle EM_L1OM.
546         (dump_relocations): Likewise.
547         (get_machine_name): Likewise.
548         (get_section_type_name): Likewise.
549         (get_elf_section_flags): Likewise.
550         (get_symbol_index_type): Likewise.
551         (is_32bit_abs_reloc): Likewise.
552         (is_32bit_pcrel_reloc): Likewise.
553         (is_64bit_abs_reloc): Likewise.
554         (is_64bit_pcrel_reloc): Likewise.
555         (is_none_reloc): Likewise.
556
557 2009-07-23  Ulrich Drepper  <drepper@redhat.com>
558
559         * readelf.c (get_symbol_binding): For Linux targeted files return
560         UNIQUE for symbols with the STB_GNU_UNIQUE binding.
561         * doc/binutils.texi: Document the meaning of the 'u' symbol
562         binding in the output of nm and objdump --syms.
563
564 2009-07-20  H.J. Lu  <hongjiu.lu@intel.com>
565
566         * NEWS: Mention --insn-width.
567
568         * objdump.c (insn_width): New.
569         (usage): Display --insn-width.
570         (option_values): Add OPTION_INSN_WIDTH.
571         (long_options): Add --insn-width.
572         (disassemble_bytes): Handle insn_width.
573         (main): Handle OPTION_INSN_WIDTH.
574
575         * doc/binutils.texi: Document --insn-width.
576
577 2009-07-17  Nick Clifton  <nickc@redhat.com>
578
579         * dwarf.c (display_debug_lines): If do_debug_lines has not been
580         set then default to displaying raw .debug_line section contents.
581
582 2009-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
583
584         Support unordered .debug_info references to .debug_ranges.
585         * dwarf.c (struct range_entry, range_entry_compar): New.
586         (display_debug_ranges): Remove variables last_offset, first, j,
587         seen_first_offset, use_debug_info and next.  New variables
588         range_entries and range_entry_fill.  Create the sorted copy
589         range_entries.  Remove the FIXME error on detected unordered references.
590         * dwarf.h (debug_info <range_lists>): New comment.
591
592 2009-07-14  Nick Clifton  <nickc@redhat.com>
593
594         PR 10380
595         * README: Document use of LDFLAGS="--static".
596
597 2009-07-10  H.J. Lu  <hongjiu.lu@intel.com>
598
599         * Makefile.am: Run "make dep-am".
600         * Makefile.in: Regenerated.
601
602 2009-07-10  Tom Tromey  <tromey@redhat.com>
603
604         * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
605         * Makefile.in: Rebuild.
606         * dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
607
608 2009-07-06  Tristan Gingold  <gingold@adacore.com>
609
610         * objdump.c (dump_dwarf_section): Handle .eh_frame like other dwarf
611         sections.
612         * dwarf.h (struct dwarf_section_display): Remove eh_frame field.
613         * dwarf.c (debug_displays): Adjust for removed field.
614
615 2009-07-03  Jakub Jelinek  <jakub@redhat.com>
616
617         * dwarf.c (decode_location_expression): Handle DW_OP_stack_value
618         and DW_OP_implicit_value.
619
620 2009-07-01  Nick Clifton  <nickc@redhat.com>
621
622         PR 6714
623         * rclex.c (handle_quotes): Do not complain about whitespace
624         separating quoted strings.
625         (rclex_string): Ignore whitespace when looking for a new opening
626         quote following a closing quote.
627
628 2009-06-27  H.J. Lu  <hongjiu.lu@intel.com>
629
630         PR binutils/10321
631         * bucomm.c (get_file_size): Return -1 on error.
632
633         * objcopy.c (copy_file): Report empty file.
634
635 2009-06-23  Nick Clifton  <nickc@redhat.com>
636
637         * dwarf.c (display_debug_lines_raw): Include the name of the
638         section in warning message.
639         (struct debug_display): Enable reloc processing for .debug_line
640         and .debug_ranges sections.
641
642         * readelf.c: Add --relocated-dump command line option to dump the
643         relocated contents of a specified section.
644         (request_dump): New function.
645         (parse_args): Use it.
646         (dump_section_as_bytes): Add parameter to indicate whether the
647         contents should be relocated.
648         (target_specific_reloc_handling): Add code for a R_MN10300_16
649         reloc found after a R_MN10300_SYM_DIFF reloc.
650         (debug_apply_relocations): Rename to apply_relocations.
651         (get_section_contents): New function.  Replaces common code found
652         in dump_section_as_strings and dump_section_as_bytes.
653         * doc/binutils.texi: Document new command line option.
654         * NEWS: Mention the new feature.
655
656 2009-06-22  Nick Clifton  <nickc@redhat.com>
657
658         * readelf.c (target_specific_reloc_handling): New function:
659         Processes relocs in a target specific manner.
660         (debug_apply_relocations): Use the new function.
661         * dwarf.c (display_debug_loc): End the dump with a blank line.
662         (struct debug_display): Enable reloc processing for .debug_aranges
663         and .debug_loc sections.
664
665 2009-06-19  Nick Clifton  <nickc@redhat.com>
666
667         * ar.c (usage): Do not use #ifdef inside _("...).
668         * nm.c (usage): Likewise.
669
670 2009-06-18  Nick Clifton  <nickc@redhat.com>
671
672         PR 10288
673         * objdump.c (disassemble_bytes): Set the
674         USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
675         if the user has invoked the -m switch.
676         * doc/binutils.texi: Document the additional behaviour of
677         objdump's -m switch for ARM targets.
678
679 2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
680
681         * configure.in: Merge cegcc and mingw32ce target name changes from
682         CeGCC project.
683
684 2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
685
686         * configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
687         * configure: Regenerate.
688
689 2009-06-15  Nick Clifton  <nickc@redhat.com>
690
691         PR 10263
692         * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in
693         the flags field of the disassemble_info structure if the -D switch
694         is in operation.
695
696 2009-06-12  Homer Xing  <homer.xing@yahoo.com>
697
698         * NEWS: Mention new feature added to gprof.
699
700 2009-06-12  John Reiser  <jreiser@BitWagon.com>
701
702         * readelf.c (process_symbol_table): Set gnubuckets to NULL after
703         freeing it and before returning.
704
705 2009-06-12  Jakub Jelinek  <jakub@redhat.com>
706
707         * readelf.c (process_symbol_table): Don't return early if
708         .hash/.gnu.hash is empty/unusable and not -D.
709
710 2009-06-09  Tom Bramer  <tjb@postpro.net>
711
712         PR 10165
713         * winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED
714         to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
715
716 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
717
718         * strings.c (main): Delay parsing of decimal digits.
719
720 2009-06-04  Alan Modra  <amodra@bigpond.net.au>
721
722         * dep-in.sed: Don't use \n in replacement part of s command.
723         * Makefile.am (DEP1): LC_ALL for uniq.
724         Run "make dep-am".
725         * Makefile.in: Regenerate.
726
727 2009-06-03  Tristan Gingold  <gingold@adacore.com>
728
729         * MAINTAINERS: Add myself as Mach-O maintainer.
730
731 2009-06-01  Alan Modra  <amodra@bigpond.net.au>
732
733         PR 10199
734         * doc/binutils.texi (nm): Correct -S description.
735
736 2009-05-28  Nick Clifton  <nickc@redhat.com>
737
738         * po/da.po: Updated Danish translation.
739
740 2009-05-28  Nick Clifton  <nickc@redhat.com>
741
742         * readelf.c (display_debug_section): Do not display debug sections
743         with the NOBITS section type.
744
745 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
746
747         * aclocal.m4: Include ../config/plugins.m4.
748         * configure.in: Use AC_PLUGINS.
749         * configure: Regenerate.
750         * Makefile.in: Regenerate.
751         * doc/Makefile.in: Regenerate.
752
753 2009-05-27  Rafael Avila de Espindola  <espindola@google.com>
754
755         * ar.c (main): Call bfd_plugin_set_program_name.
756         * nm.c (main): Call bfd_plugin_set_program_name.
757
758 2009-05-27  Nathan Sidwell  <nathan@codesourcery.com>
759
760         * sysdump.c (tab): Use puts rather than two printfs.
761
762 2009-05-26  Nick Clifton  <nickc@redhat.com>
763
764         * po/id.po: Updated Indonesian translation.
765         * po/binutils.pot: Updated template file.
766
767 2009-05-26  Rafael Avila de Espindola  <espindola@google.com>
768
769         * ar.c: Include plugin.h.
770         (main): Handle the --plugin option.
771         * nm.c: Include plugin.h.
772         (OPTION_PLUGIN): New.
773         (long_options): Add plugin.
774         (main): Handle OPTION_PLUGIN.
775         * NEWS: Mention  the new feature.
776         * doc/binutils: Documement the new command line options.
777         * configure.in: Check for --enable-plugins.
778         * configure: Regenerate.
779
780 2009-05-26  Alan Modra  <amodra@bigpond.net.au>
781
782         * dep-in.sed: Output one filename per line with all lines having
783         continuation backslash.  Prefix first line with "A", following
784         lines with "B".
785         * Makefile.am (DEP): Don't use dep.sed here.
786         (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
787         sort and uniq.
788         * Makefile.in: Regenerate.
789
790 2009-05-25  Tristan Gingold  <gingold@adacore.com>
791
792         * makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
793
794         * configure.com: Fix it: handle alloca and define TARGET in config.h.
795
796 2009-05-22  Alan Modra  <amodra@bigpond.net.au>
797
798         * Makefile.am: Run "make dep-am".
799         * Makefile.in: Regenerate.
800
801 2009-05-12  Alan Modra  <amodra@bigpond.net.au>
802
803         * objcopy.c (set_long_section_mode): Check input_bfd is coff
804         before accessing coff specific fields of bfd.
805
806 2009-05-09  Dave Korn  <dave.korn.cygwin@gmail.com>
807
808         * MAINTAINERS:  Add myself as PE/COFF co-maintainer.
809
810 2009-05-08  Kai Tietz  <kai.tietz@onevision.com>
811
812         * winduni.c (iconv_onechar): Only define when HAVE_ICONV
813         is defined, but not when __CYGWIN__ or _WIN32 are defined.
814         See wind_iconv_cp for call logic of this local funtion.
815
816 2009-05-05  Guillaume Duhamel  <guillaume.duhamel@gmail.com>
817
818         PR 10109
819         * winduni.c: Replace test of HAVE_ICONV_H with a test of
820         HAVE_ICONV.
821         (iconv_onechar): Use ICONV_CONST instead of "const".
822         (wind_MultiByteToWideChar): Initialise local strings.
823
824 2009-04-30  Nick Clifton  <nickc@redhat.com>
825
826         * readelf.c (dump_relocations): Display a relocation against an
827         ifunc symbol as if it were a function invocation.
828         (get_symbol_type): Handle STT_GNU_IFUNC.
829
830 2009-04-29  Anthony Green  <green@moxielogic.com>
831
832         * NEWS: Tweak verilog support description.
833
834 2009-04-29  Alan Modra  <amodra@bigpond.net.au>
835             Denis Scherbakov <denis_scherbakov@yahoo.com>
836
837         * readelf.c (slurp_ia64_unwind_table): Correct 64-bit unwind table
838         read, and merge with 32-bit case.
839
840 2009-04-27  Anthony Green  <green@moxielogic.com>
841
842         * NEWS: Mention verilog support added to bfd.
843
844 2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
845
846         * objcopy.c (copy_object): Copy pe_opthdr before changing PE
847         parameters.
848
849 2009-04-24  Cary Coutant  <ccoutant@google.com>
850
851         * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
852         Add missing newlines to HP extensions.
853
854 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
855
856         * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
857         * doc/binutils.texi: Likewise.
858
859 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
860
861         PR binutils/10074
862         * objcopy.c: Include coff/i386.h and coff/pe.h.
863         (pe_file_alignment): New.
864         (pe_heap_commit): Likewise.
865         (pe_heap_reserve): Likewise.
866         (pe_image_base): Likewise.
867         (pe_section_alignment): Likewise.
868         (pe_stack_commit): Likewise.
869         (pe_stack_reserve): Likewise.
870         (pe_subsystem): Likewise.
871         (pe_major_subsystem_version): Likewise.
872         (pe_minor_subsystem_version): Likewise.
873         (set_pe_subsystem): Likewise.
874         (convert_efi_target): Likewise.
875         (command_line_switch): Add OPTION_FILE_ALIGNMENT,
876         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
877         OPTION_STACK and OPTION_SUBSYSTEM.
878         (copy_options): Likewise.
879         (copy_usage): Add --file-alignment, --heap, --image-base,
880         --section-alignment, --stack and --subsystem.
881         (copy_object): Set up PE parameters.
882         (copy_main): Process Add OPTION_FILE_ALIGNMENT,
883         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
884         OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
885         PEI target.
886
887         * NEWS: Mention --file-alignment, --heap, --image-base,
888         --section-alignment, --stack and --subsystem command line
889         options for objcopy.
890
891         * doc/binutils.texi: Document --file-alignment, --heap,
892         --image-base, --section-alignment, --stack and --subsystem
893         command line options for objcopy.
894
895 2009-04-15  Anthony Green  <green@moxielogic.com>
896
897         * MAINTAINERS: Add myself as Moxie port maintainer.
898
899 2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
900
901         * objcopy.c (enum long_section_name_handling):  New enum type.
902         (enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
903         (copy_options[]):  Add entry for --long-section-names option.
904         (copy_usage):  Document it.
905         (set_long_section_mode):  New subroutine.
906         (copy_file):  Call it.
907         (copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
908         * doc/binutils.texi:  Update objcopy documentation with details
909         of new option.
910
911 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
912
913         * dlltool.c (set_dll_name_from_def):  Accept new second arg that
914         indicates if we are building DLL or EXE, and use it to add a
915         default suffix to the output filename when none is already present.
916         (def_name):  Indicate we are building an EXE when calling it.
917         (def_library):  Indicate we are building a DLL when calling it.
918
919 2009-04-01  Jari Aalto  <jari.aalto@cante.net>
920
921         PR 9972
922         * doc/binutils.texi (strings): Document the -V alias for the
923         --version option.
924         * strings.c (usage): Likewise.
925
926 2009-03-31  Nick Clifton  <nickc@redhat.com>
927
928         PR 9992
929         * configure.in: Import Solaris specific largefile test from
930         bfd/configure.in.
931         * configure: Regenerate.
932
933 2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
934
935         * MAINTAINERS: Add self.
936
937 2009-03-27  Nick Clifton  <nickc@redhat.com>
938
939         * dwarf.c (display_debug_ranges): Add the base address to the
940         displayed values for 'Begin' and 'End'.
941
942 2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
943
944         * readelf.c (process_file_header): Don't report a corrupt string
945         table index if it is zero.
946
947 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
948
949         * dwarf.c (dwarf_regnames): Moved before frame_need_space.
950         (dwarf_regnames_count): Likewise.
951         (frame_need_space): Return int.
952         (display_debug_frames): Check invalid registers.
953
954 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
955
956         * readelf.c (debug_apply_relocations): Check relocations
957         against STT_SECTION symbol.
958
959 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
960
961         * readelf.c (debug_apply_relocations): Allow relocations
962         against function symbols.
963
964 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
965
966         * sysdep.h: Include alloca-conf.h instead of config.h and remove
967         existing #if's handling alloca.
968         * Makefile.am: Run "make dep-am".
969         * Makefile.in: Regenerate.
970
971 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
972
973         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
974         * configure.in: Likewise.
975         * configure: Regenerate.
976
977 2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
978
979         PR binutils/9945
980         * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
981
982 2009-03-11  Chris Demetriou  <cgd@google.com>
983
984         * ar.c (deterministic): New global variable.
985         (main): Recognize new 'D' option, which enables 'deterministic mode'.
986         (usage): Document new 'D' option.
987         (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
988         flags if deterministic mode was requested.
989         * doc/binutils.texi (ar): Document deterministic mode ('D' option).
990
991 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
992
993         PR binutils/9933
994         * objcopy.c (filter_symbols): Properly handle common symbols
995         in relocatable file.
996
997 2009-03-06  Nick Clifton  <nickc@redhat.com>
998
999         * po/es.po: Updated Spanish translation.
1000
1001 2009-03-05  Nick Clifton  <nickc@redhat.com>
1002
1003         * objdump.c (disassemble_section): If the computed next offset is
1004         not beyond the current offset then just continue to the end.
1005
1006 2009-03-04  Tristan Gingold  <gingold@adacore.com>
1007
1008         * MAINTAINERS: Add myself as VMS maintainer.
1009
1010 2009-03-03  Nick Clifton  <nickc@redhat.com>
1011
1012         * readelf.c: Update formatting.
1013
1014 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
1015
1016         * Makefile.am: Run "make dep-am".
1017         * Makefile.in: Regenerate.
1018
1019 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
1020
1021         * objdump.c (disassemble_section): Mask address before sign extending.
1022
1023 2009-03-02  Sebastian Biallas  <sb@biallas.net>
1024
1025         * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
1026         (parse_ieee_bb): Set the filename if it has not already been
1027         discovered.
1028
1029 2009-03-02  Cary Coutant  <ccoutant@google.com>
1030
1031         * readelf.c (adjust_relative_path): New function.
1032         (struct archive_info): New type.
1033         (setup_archive): New function.
1034         (release_archive): New function.
1035         (setup_nested_archive): New function.
1036         (get_archive_member_name): New function.
1037         (get_archive_member_name_at): New function.
1038         (make_qualified_name): New function.
1039         (process_archive): Factor out code for reading archive index and
1040         long filename table to setup_archive.  Add support for thin archives.
1041
1042 2009-03-02  Nick Clifton  <nickc@redhat.com>
1043
1044         * po/sk.po: Updated Slovak translation.
1045
1046 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1047
1048         * configure: Regenerate.
1049
1050 2009-02-23  Cary Coutant <ccoutant@google.com>
1051
1052         * objdump.c (load_specific_debug_section): New function, from
1053         load_debug_section.
1054         (load_debug_section): Use load_specific_debug_section.
1055         (dump_dwarf_section): Likewise.
1056
1057 2009-02-23  Cary Coutant <ccoutant@google.com>
1058
1059         * readelf.c (parse_args): Select all sections explicitly for -w.
1060
1061 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
1062
1063         * windres.c (set_endianess): Copy name without leading '-'.
1064
1065 2009-02-09  Tristan Gingold  <gingold@adacore.com>
1066
1067         * NEWS: Mention feature match between objdump and readelf for dumping
1068         dwarf info.
1069
1070         * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
1071         objdump.
1072
1073         * objdump.c (usage): Update documentation for -W/--dwarf.
1074         (enum option_values): Add OPTION_DWARF.
1075         (long_options): --dwarf can accept arguments.
1076         (dump_dwarf_section): Also check enabled field.
1077         (main): Option -W can accept arguments, code moved to
1078         dwarf.c and call dwarf_select_sections_all instead.
1079         * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
1080         (parse_args): Move code to...
1081         * dwarf.c (dwarf_select_sections_by_letters,
1082         dwarf_select_sections_by_names): : ...here (new functions).
1083         (do_debug_lines_decoded): Remove and replaced by ...
1084         (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
1085         (display_debug_lines): Adjust for previous change.
1086         (dwarf_select_sections_all): New function.
1087         (debug_displays): Add initializer for enabled field.
1088         * dwarf.h (do_debug_lines_decoded): Remove.
1089         Add prototypes for the new functions.
1090         (struct dwarf_section_display): Add enabled field.
1091
1092 2009-02-06  Nick Clifton  <nickc@redhat.com>
1093
1094         * po/vi.po: Updated Vietnamese translation.
1095
1096 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
1097
1098         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
1099
1100 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
1101
1102         * NEWS: Move --as-needed change to ...
1103         * ../ld/NEWS: Here.
1104
1105 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
1106
1107         * configure.in: AC_SUBST pdfdir.
1108         * Makefile.am: Add install-pdf, install-pdf-am,
1109         and install-pdf-recursive targets.
1110         * doc/Makefile.am: Define pdf__strip_dir. Add
1111         install-pdf and install-pdf-am targets.
1112         * po/Make-in: Add install-pdf target.
1113         * configure: Regenerate.
1114         * Makefile.in: Regenerate.
1115         * doc/Makefile.in: Regenerate.
1116
1117 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
1118
1119         PR binutils/9784
1120         * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
1121
1122         * doc/binutils.texi: Document --prefix=PREFIX and
1123         --prefix-strip=LEVEL.
1124
1125         * objdump.c: Include "filenames.h".
1126         (prefix): New.
1127         (prefix_strip): Likewise.
1128         (prefix_length): Likewise.
1129         (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
1130         (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
1131         (long_options): Likewise.
1132         (show_line): Handle prefix and prefix_strip.
1133         (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
1134
1135         * readelf.c (PATH_MAX): Moved to ...
1136         * sysdep.h: Here.
1137
1138 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
1139
1140         * NEWS: Mention --as-needed change.
1141
1142 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
1143
1144         PR 9798
1145         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
1146         (bfd_get_archive_filename): Constify param.
1147         * bucomm.h (bfd_get_archive_filename): Update prototype.
1148         * objcopy.c (RETURN_NONFATAL): Delete.
1149         (copy_unknown_object): Don't call bfd_get_archive_filename for
1150         bfd_nonfatal_message filename, instead just pass bfd.
1151         (copy_object): Likewise.
1152         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
1153         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
1154         (setup_bfd_headers): Fix error message.
1155
1156 2009-01-27  Nick Clifton  <nickc@redhat.com>
1157
1158         PR 9774
1159         * objdump.c (disassemble_section): When the target uses signed
1160         addresses make sure that we compute signed values.
1161
1162 2009-01-27  Nick Clifton  <nickc@redhat.com>
1163
1164         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
1165         maintainers.
1166
1167 2009-01-26  Nick Clifton  <nickc@redhat.com>
1168
1169         PR 9766
1170         * dlltool.c (xlate): When strip text after the @ sign, look for
1171         the last one not the first one.
1172
1173 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
1174
1175         * configure.in (commonbfdlib): Delete.
1176         * configure: Regenerate.
1177
1178 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
1179
1180         Cleanup code related to --identify option.
1181
1182         * dlltool.c (file scope): Removed globals identify_ms,
1183         identify_member_contains_symname_result,
1184         identify_dll_name_list_head, and identify_dll_name_list_tail.
1185         Renamed existing typedef dll_name_list_type to
1186         dll_name_list_node_type.
1187         Added new typedefs dll_name_list_type, symname_search_data_type,
1188         and identify_data_type.
1189         (identify_append_dll_name_to_list): Renamed to...
1190         (dll_name_list_append): ...here.  Changed signature to accept list
1191         argument rather than use global.
1192         (identify_count_dll_name_list): Renamed to...
1193         (dll_name_list_count): ...here.  Changed signature to accept list
1194         argument rather than use global.
1195         (identify_print_dll_name_list): Renamed to...
1196         (dll_name_list_print): ...here.  Changed signature to accept list
1197         argument rather than use global.
1198         (identify_free_dll_name_list): Renamed to...
1199         (dll_name_list_free_contents): ...here.
1200         (dll_name_list_free): New function.
1201         (dll_name_list_create): New function.
1202         (identify_process_section_p): Changed signature to accept
1203         ms_style_implib argument rather than use global.
1204         (identify_member_contains_symname): Expect incoming void * data to
1205         be symname_search_data_type.
1206         (identify_dll_for_implib): Use new functions dll_name_list_create
1207         and dll_name_list_free.  Use new types symname_search_data_type
1208         and identify_data_type to communicate with search routines.
1209         (identify_search_section): Expect incoming void * data to be
1210         identify_data_type. Use its contents rather than global
1211         variables.
1212
1213 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
1214
1215         Add --identify-strict option.  Handle ms-style implibs:
1216
1217         * dlltool.c (file scope): Added new globals identify_ms and
1218         identify_strict. New typedef dll_name_list_type, and globals
1219         identify_dll_name_list_head and identify_dll_name_list_tail. Added
1220         new global identify_member_contains_symname_result.
1221         (identify_append_dll_name_to_list): New function.
1222         (identify_count_dll_name_list): New function.
1223         (identify_print_dll_name_list): New function.
1224         (identify_free_dll_name_list): New function.
1225         (identify_search_archive): Changed signature to take function
1226         pointer to operation to apply to each member, and data to pass on
1227         to that function.
1228         (identify_search_member): Changed signature to accept user data
1229         from caller.
1230         (identify_member_contains_symname): New function.
1231         (identify_dll_for_implib): Rewrite. Now determines whether implib
1232         is ms- or binutils- style, before searching sections for
1233         dllname. Allows multiple dllnames.
1234         (identify_process_section_p): Search alternate section for dllname
1235         when implib is ms-style.
1236         (identify_search_section): Add additional conditions to excludes
1237         candidate sections from consideration.
1238         (usage): Added --identify-strict.
1239         (long_options): Added --identify-strict.
1240         (main): Handle --identify-strict option.
1241         * doc/binutils.texi: Document --identify-strict option.
1242         * NEWS: Document --identify and --identify-strict options.
1243
1244 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1245
1246         PR 7034
1247         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
1248
1249 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1250
1251         * objdump.c (disassemble_section): Don't assume non-instruction
1252         data if object symbol at given address is in different section.
1253
1254 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
1255
1256         * dlltool.c (create_for_pep): New.
1257         (flush_page): Use create_for_pep instead of using
1258         macro DLLTOOL_MX86_64 clause.
1259         (generate_idata_ofile): Likewise.
1260         (make_one_lib_file): Likewise.
1261         (make_head): Likewise.
1262         (make_tail): Likewise.
1263         (main): Initialize create_for_pep.
1264
1265 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
1266
1267         * dlltool.c (use_nul_prefixed_import_tables): New.
1268         (make_head): Make prefix leading zero prefix element for
1269         idata$4 and idata$5 dependent to new flag.
1270         (usage): Add new option  --use-nul-prefixed-import-tables.
1271         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1272         (long_options): Add --use-nul-prefixed-import-tables.
1273         (main): Likewise.
1274         * doc/binutils.texi: Add new option documentation for
1275         --use-nul-prefixed-import-tables.
1276         * NEWS: Add new option.
1277
1278 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
1279
1280         * windres.c (set_endianess): Get architecture name
1281         for internal target names like "pe-arm-wince-little".
1282         (find_arch_match): New helper.
1283         * ChangeLog: Reset it.
1284         * ChangeLog-2008: Moved old ChangeLog.
1285
1286 For older changes see ChangeLog-2008
1287 \f
1288 Local Variables:
1289 mode: change-log
1290 left-margin: 8
1291 fill-column: 74
1292 version-control: never
1293 End: