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