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