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