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