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