* doc/binutils.texi: Add -D/--enable-deterministic-archives option
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2012-04-25  Cary Coutant  <ccoutant@google.com>
2
3         * doc/binutils.texi: Add -D/--enable-deterministic-archives option
4         to strip and objcopy.
5         * objcopy.c (deterministic): New global variable.
6         (strip_options): Add --enable-deterministic-archives.
7         (copy_options): Likewise.
8         (copy_usage): Likewise.
9         (strip_usage): Likewise.
10         (copy_archive): When stripping all, don't add archive map; set
11         deterministic output when requested.
12         (strip_main): Add -D/--enable-deterministic-archives option.
13         (copy_main): Likewise.
14
15 2012-04-12  H.J. Lu  <hongjiu.lu@intel.com>
16
17         PR binutils/13947
18         * objcopy.c (copy_object): Call copy_relocations_in_section
19         before copy_section.
20         (skip_section): New.
21         (copy_relocations_in_section): Likewise.
22         (copy_section): Use skip_section.  Don't copy relocations here.
23
24 2012-04-11  Ryan Mansfield  <rmansfield@qnx.com>
25
26         * objdump.c (dump_bfd): If defaulting to dwarf call
27         dwarf_select_sections_all to enable displays.
28
29 2012-04-06  Roland McGrath  <mcgrathr@google.com>
30
31         * configure.in (AC_CHECK_HEADERS): Add locale.h.
32         * config.in: Regenerate.
33         * configure: Regenerate.
34
35 2012-04-05  Nick Clifton  <nickc@redhat.com>
36
37         * configure.in (AC_CHECK_FUNCS): Add setlocale.
38         (AM_LC_MESSAGES): Add.
39         * aclocal.m4: Regenerate.
40         * config.in: Regenerate.
41         * configure: Regenerate.
42
43 2012-03-30  Nick Clifton  <nickc@redhat.com>
44
45         PR binutils/13925
46         * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
47         returning an empty context for a function with no arguments.
48
49 2012-03-28  Tom Tromey  <tromey@redhat.com>
50
51         * dwarf.c (display_gdb_index): Handle index version 6.
52
53 2012-03-07  Nick Clifton  <nickc@redhat.com>
54
55         * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
56
57 2012-02-29  Jeff Law  <law@redhat.com>
58
59         * doc/binutils.texi (c++filt): Fix typos.
60
61 2012-02-24  Kai Tietz  <ktietz@redhat.com>
62
63         PR binutils/13710
64         * defparse.y (keyword_as_name): Disable LIBRARY
65         keyword.
66         * doc/binutils.texi: Document LIBRARY exception.
67
68 2012-02-21  Kai Tietz<ktietz@redhat.com>
69
70         PR binutils/13682
71         * NEWS: Mention new feature.
72         * dlltool.c (i386_x64_dljtab): New stub-code for x64
73         delayed-load feature.
74         (i386_x64_trampoline): New trampoline-code for x64
75         delayed-load feature.
76         (make_one_lib_file): Add support for x64 delayed-load
77         feature.
78         (make_delay_head): Likewis
79
80 2012-02-20  Namhyung Kim  <namhyung.kim@lge.com>
81
82         * objdump.c (slurp_file): Close file if fstat fails.
83
84 2012-02-14  Cary Coutant  <ccoutant@google.com>
85
86         * dwarf.c (dwarf_vmatoa64): New function.
87         (read_and_display_attr_value): Print 8-byte forms as single hex
88         numbers.
89         (process_debug_info): Print type signatures as single hex numbers.
90         * elfcomm.c (byte_get_64): New function.
91         * elfcomm.h (byte_get_64): New function.
92
93 2012-02-11  Kai Tietz  <ktietz@redhat.com>
94
95         PR binutils/13657
96         * defparse.y (%union): New type id_const.
97         (opt_name2): New rule.
98         (keyword_as_name): New rule.
99         (opt_name): Adjust rule.
100         (opt_import_name): Likewise.
101         (opt_equal_name): Likewise.
102
103 2012-02-11  Kai Tietz  <ktietz@redhat.com>
104
105         PR binutils/13297
106         * resrc.c (write_rc_dialog_control): Omit text dump for
107         EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
108
109 2012-02-09  Alan Modra  <amodra@gmail.com>
110
111         * sysdep.h: Include sys/stat.h here.
112         * ar.c: Don't include headers already included by sysdep.h.
113         * bucomm.c: Likewise.
114         * budbg.h: Likewise.
115         * dlltool.h: Likewise.
116         * elfedit.c: Likewise.
117         * nlmconv.c: Likewise.
118         * objcopy.c: Likewise.
119         * objdump.c: Likewise.
120         * objdump.h: Likewise.
121         * readelf.c: Likewise.
122         * rename.c: Likewise.
123         * resrc.c: Likewise.
124         * strings.c: Likewise.
125         * windres.c: Likewise.
126         * od-macho.c: Ensure #include sysdep.h is first.
127         * od-xcoff.c: Likewise.
128         * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
129         remove duplicate headers.
130         * dlltool.c: Likewise and ensure #include sysdep.h is first.
131
132 2012-02-01  Nick Clifton  <nickc@redhat.com>
133
134         PR binutils/13493
135         * ar.c (ranlib_main): Process --plugin option.
136         * doc/binutils.texi: Document --plugin support for ranlib.
137
138 2012-02-01  Nick Clifton  <nickc@redhat.com>
139
140         PR binutils/13482
141         * readelf.c (process_corefile_note_segment): Fix off-by-one errors
142         verifying the contents of a note.
143
144 2012-01-26  Nick Clifton  <nickc@redhat.com>
145
146         PR binutils/13622
147         * readelf.c (process_section_groups): If there are no section
148         headers do not scan for section groups.
149         (process_note_sections): Likewise for note sections.
150
151 2012-01-20  Tristan Gingold  <gingold@adacore.com>
152
153         * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
154         (options): Add an entry for seg_split_info.
155         (mach_o_help): Document it.
156         (dump_segment_split_info): New function.
157         (dump_load_command): Handle seg_split_info.
158
159 2012-01-19  Tristan Gingold  <gingold@adacore.com>
160
161         * dwarf.c (process_extended_line_op): Add a cast to silent a
162         warning.
163
164 2012-01-19  Tristan Gingold  <gingold@adacore.com>
165
166         * dwarf.c (process_extended_line_op): Reindent define_file output.
167         Detect define_file opcode length mismatch.
168         (display_debug_lines_decoded): Add an entry in file_table for each
169         define_file opcode.
170         Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
171         Display extended opcode for unhandle opcode.
172
173 2012-01-17  Alan Modra  <amodra@gmail.com>
174
175         * version.c (print_version): Update copyright message year.
176
177 2012-01-16  Alan Modra  <amodra@gmail.com>
178
179         PR binutils/13593
180         * nm.c (OPTION_SIZE_SORT): Define.
181         (long_options): Don't set no_sort, sort_numerically or
182         sort_by_size directly.
183         (main): Instead set the flags here, making them mutually exclusive.
184
185 2012-01-10  Tristan Gingold  <gingold@adacore.com>
186
187         * objdump.c (display_object_bfd): Renamed from ...
188         (display_bfd): ... this.
189         (display_any_bfd): New function.
190         (display_file): Split.  Handle nested archives.
191
192 2012-01-09  Roland McGrath  <mcgrathr@google.com>
193
194         * configure.in: Use AM_ZLIB.
195         * configure: Regenerated.
196
197 2012-01-06  Nick Clifton  <nickc@redhat.com>
198
199         * po/ru.po: Updated Russian translation.
200
201 2012-01-04  Tristan Gingold  <gingold@adacore.com>
202
203         * od-macho.c (dump_load_command): Handle fvmlib.
204
205 2012-01-04  Tristan Gingold  <gingold@adacore.com>
206
207         * od-macho.c: Update copyright year.
208         (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
209
210 For older changes see ChangeLog-2011
211 \f
212 Local Variables:
213 mode: change-log
214 left-margin: 8
215 fill-column: 74
216 version-control: never
217 End: