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