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