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