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