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