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