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