2012-05-11 Hui Zhu <hui_zhu@mentor.com>
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
4723351a
CC
12012-05-04 Sterling Augustine <saugustine@google.com>
2 Cary Coutant <ccoutant@google.com>
3
4 * doc/binutils.texi: Add --dwarf-check option.
5 * dwarf.c (dwarf_check): New global flag.
6 (fetch_indexed_string): New function.
7 (fetch_indexed_value): New function.
8 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
9 (decode_location_expression): Add DW_OP_GNU_addr_index.
10 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
11 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
12 (get_AT_name): Add new attributes for Fission.
13 (process_debug_info): Load new debug sections for Fission.
14 (load_debug_info): Check for .debug_info.dwo section.
15 (display_loc_list, display_loc_list_dwo): New functions.
16 (display_debug_loc): Move logic to above two functions.
17 (display_debug_info): Choose abbrev section based on info section.
18 (display_debug_types): Likewise.
19 (display_trace_info): Likewise.
20 (comp_addr_base): New function.
21 (display_debug_addr): New function.
22 (display_debug_str_offsets): New function.
23 (display_debug_ranges): Allow missing range lists. Suppress
24 diagnostics if dwarf_check not set.
25 (debug_displays): Add column to select abbrev section.
26 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
27 for Fission.
28 (struct dwarf_section): Add abbrev_sec field.
29 (struct dwarf_section_display): New type.
30 (debug_info): Add addr_base, ranges_base fields.
31 (dwarf_check): New global variable.
32 * objdump.c (usage): Add --dwarf-check option.
33 (enum option_values): Add OPTION_DWARF_CHECK.
34 (long_options): Add --dwarf-check.
35 (main): Likewise.
36 * readelf.c (OPTION_DWARF_CHECK): New macro.
37 (options): Add --dwarf-check.
38 (parse_args): Likewise.
39 (process_section_headers): Use const_strneq instead of
40 streq.
41
e04d7088
L
422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43
44 PR binutils/14088
45 * readelf.c (dump_relocations): Always display addend as
46 signed hex number.
47
208a4923
NC
482012-05-11 Daniel Richard G. <skunk@iskunk.org>
49
50 PR binutils/14028
51 * configure.in: Invoke ACX_HEADER_STRING.
52 * configure: Regenerate.
53 * config.in: Regenerate.
54 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
55 string.h and strings.h.
56
afd6e1ff
JJ
572012-05-10 Jakub Jelinek <jakub@redhat.com>
58
59 * dwarf.c (read_and_display_attr_value): Don't look up tag from
60 abbrev for DW_FORM_ref_addr.
61
a8c30cba 622012-05-08 Sean Keys <skeys@ipdatasys.com>
208a4923 63
a8c30cba 64 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
208a4923 65
96109726
CC
662012-05-08 Cary Coutant <ccoutant@google.com>
67
68 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
69 (strip): Add --strip-dwo option.
70 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
71 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
72 (strip_options): Add --strip-dwo option.
73 (copy_options): Add --extract-dwo, --strip-dwo options.
74 (copy_usage): Likewise.
75 (strip_usage): Add --strip-dwo option.
76 (is_dwo_section): New function.
77 (is_strip_section_1): Check for DWO sections.
78 (copy_object): Check for --strip-dwo, --extract-dwo options.
79 (copy_relocations_in_section): Discard relocations for DWO sections.
80 Discard entire relocation section when no relocations.
81 (strip_main): Add --strip-dwo option.
82 (copy_main): Add --strip-dwo, --extract-dwo options.
83
e5b62927
AM
842012-05-08 Alan Modra <amodra@gmail.com>
85
86 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
87 LC and LANG environment vars.
88 * Makefile.in: Regenerate.
89
a19c41a7
TT
902012-05-07 Tom Tromey <tromey@redhat.com>
91
92 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
93 (get_FORM_name): Use get_DW_FORM_name.
94 (get_AT_name): Use get_DW_AT_name.
95
cce3d66c
AM
962012-05-07 Alan Modra <amodra@gmail.com>
97
98 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
99 * Makefile.in: Regenerate.
100
45dfa85a
AM
1012012-05-05 Alan Modra <amodra@gmail.com>
102
103 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
104
f6c1a2d5
NC
1052012-05-03 Sean Keys <skeys@ipdatasys.com>
106
107 * readelf.c: Add support for XGATE.
108
1c062060
NC
1092012-05-02 Nick Clifton <nickc@redhat.com>
110
111 * po/vi.po: Updated Vietnamese translation.
112 * po/it.po: New Italian translation.
113 * configure.in (ALL_LINGUAS): Add it.
114 * configure: Regenerate.
115
57402f1e
NC
1162012-05-01 Nick Clifton <nickc@redhat.com>
117
118 PR binutils/13121
119 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
120 AIX system headers.
121
2e30cb57
CC
1222012-04-25 Cary Coutant <ccoutant@google.com>
123
124 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
125 to strip and objcopy.
126 * objcopy.c (deterministic): New global variable.
127 (strip_options): Add --enable-deterministic-archives.
128 (copy_options): Likewise.
129 (copy_usage): Likewise.
130 (strip_usage): Likewise.
131 (copy_archive): When stripping all, don't add archive map; set
132 deterministic output when requested.
133 (strip_main): Add -D/--enable-deterministic-archives option.
134 (copy_main): Likewise.
135
c3989150
L
1362012-04-12 H.J. Lu <hongjiu.lu@intel.com>
137
138 PR binutils/13947
139 * objcopy.c (copy_object): Call copy_relocations_in_section
140 before copy_section.
141 (skip_section): New.
142 (copy_relocations_in_section): Likewise.
143 (copy_section): Use skip_section. Don't copy relocations here.
144
1233b4a7
NC
1452012-04-11 Ryan Mansfield <rmansfield@qnx.com>
146
147 * objdump.c (dump_bfd): If defaulting to dwarf call
148 dwarf_select_sections_all to enable displays.
149
58797674
RM
1502012-04-06 Roland McGrath <mcgrathr@google.com>
151
152 * configure.in (AC_CHECK_HEADERS): Add locale.h.
153 * config.in: Regenerate.
154 * configure: Regenerate.
155
44350750
NC
1562012-04-05 Nick Clifton <nickc@redhat.com>
157
158 * configure.in (AC_CHECK_FUNCS): Add setlocale.
159 (AM_LC_MESSAGES): Add.
160 * aclocal.m4: Regenerate.
161 * config.in: Regenerate.
162 * configure: Regenerate.
163
b149968f
NC
1642012-03-30 Nick Clifton <nickc@redhat.com>
165
166 PR binutils/13925
167 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
168 returning an empty context for a function with no arguments.
169
658c7344
TT
1702012-03-28 Tom Tromey <tromey@redhat.com>
171
172 * dwarf.c (display_gdb_index): Handle index version 6.
173
0a22ae8e
NC
1742012-03-07 Nick Clifton <nickc@redhat.com>
175
176 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
177
ae9ab7c0
NC
1782012-02-29 Jeff Law <law@redhat.com>
179
180 * doc/binutils.texi (c++filt): Fix typos.
181
5b3d386e
KT
1822012-02-24 Kai Tietz <ktietz@redhat.com>
183
184 PR binutils/13710
185 * defparse.y (keyword_as_name): Disable LIBRARY
186 keyword.
187 * doc/binutils.texi: Document LIBRARY exception.
188
9a30f236
KT
1892012-02-21 Kai Tietz<ktietz@redhat.com>
190
191 PR binutils/13682
192 * NEWS: Mention new feature.
193 * dlltool.c (i386_x64_dljtab): New stub-code for x64
194 delayed-load feature.
195 (i386_x64_trampoline): New trampoline-code for x64
196 delayed-load feature.
197 (make_one_lib_file): Add support for x64 delayed-load
198 feature.
199 (make_delay_head): Likewis
200
6c713012
AM
2012012-02-20 Namhyung Kim <namhyung.kim@lge.com>
202
203 * objdump.c (slurp_file): Close file if fstat fails.
204
74bc6052
CC
2052012-02-14 Cary Coutant <ccoutant@google.com>
206
207 * dwarf.c (dwarf_vmatoa64): New function.
208 (read_and_display_attr_value): Print 8-byte forms as single hex
209 numbers.
210 (process_debug_info): Print type signatures as single hex numbers.
211 * elfcomm.c (byte_get_64): New function.
212 * elfcomm.h (byte_get_64): New function.
213
aa83d1ec
KT
2142012-02-11 Kai Tietz <ktietz@redhat.com>
215
216 PR binutils/13657
217 * defparse.y (%union): New type id_const.
218 (opt_name2): New rule.
219 (keyword_as_name): New rule.
220 (opt_name): Adjust rule.
221 (opt_import_name): Likewise.
222 (opt_equal_name): Likewise.
223
7afcdbb2
KT
2242012-02-11 Kai Tietz <ktietz@redhat.com>
225
226 PR binutils/13297
227 * resrc.c (write_rc_dialog_control): Omit text dump for
228 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
229
dbb7c441
AM
2302012-02-09 Alan Modra <amodra@gmail.com>
231
232 * sysdep.h: Include sys/stat.h here.
233 * ar.c: Don't include headers already included by sysdep.h.
234 * bucomm.c: Likewise.
235 * budbg.h: Likewise.
236 * dlltool.h: Likewise.
237 * elfedit.c: Likewise.
238 * nlmconv.c: Likewise.
239 * objcopy.c: Likewise.
240 * objdump.c: Likewise.
241 * objdump.h: Likewise.
242 * readelf.c: Likewise.
243 * rename.c: Likewise.
244 * resrc.c: Likewise.
245 * strings.c: Likewise.
246 * windres.c: Likewise.
247 * od-macho.c: Ensure #include sysdep.h is first.
248 * od-xcoff.c: Likewise.
249 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
250 remove duplicate headers.
251 * dlltool.c: Likewise and ensure #include sysdep.h is first.
252
36e32b27
NC
2532012-02-01 Nick Clifton <nickc@redhat.com>
254
255 PR binutils/13493
256 * ar.c (ranlib_main): Process --plugin option.
257 * doc/binutils.texi: Document --plugin support for ranlib.
258
8b971f9f
NC
2592012-02-01 Nick Clifton <nickc@redhat.com>
260
261 PR binutils/13482
262 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
263 verifying the contents of a note.
264
fa1908fd
NC
2652012-01-26 Nick Clifton <nickc@redhat.com>
266
267 PR binutils/13622
268 * readelf.c (process_section_groups): If there are no section
269 headers do not scan for section groups.
270 (process_note_sections): Likewise for note sections.
271
2128eb39
TG
2722012-01-20 Tristan Gingold <gingold@adacore.com>
273
274 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
275 (options): Add an entry for seg_split_info.
276 (mach_o_help): Document it.
277 (dump_segment_split_info): New function.
278 (dump_load_command): Handle seg_split_info.
279
2fc0fe4f
TG
2802012-01-19 Tristan Gingold <gingold@adacore.com>
281
282 * dwarf.c (process_extended_line_op): Add a cast to silent a
283 warning.
284
143a3db0
TG
2852012-01-19 Tristan Gingold <gingold@adacore.com>
286
287 * dwarf.c (process_extended_line_op): Reindent define_file output.
288 Detect define_file opcode length mismatch.
289 (display_debug_lines_decoded): Add an entry in file_table for each
290 define_file opcode.
291 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
292 Display extended opcode for unhandle opcode.
293
576477a6
AM
2942012-01-17 Alan Modra <amodra@gmail.com>
295
296 * version.c (print_version): Update copyright message year.
297
ddb1377c
AM
2982012-01-16 Alan Modra <amodra@gmail.com>
299
300 PR binutils/13593
301 * nm.c (OPTION_SIZE_SORT): Define.
302 (long_options): Don't set no_sort, sort_numerically or
303 sort_by_size directly.
304 (main): Instead set the flags here, making them mutually exclusive.
305
1598539f
TG
3062012-01-10 Tristan Gingold <gingold@adacore.com>
307
308 * objdump.c (display_object_bfd): Renamed from ...
309 (display_bfd): ... this.
310 (display_any_bfd): New function.
311 (display_file): Split. Handle nested archives.
312
52546677
RM
3132012-01-09 Roland McGrath <mcgrathr@google.com>
314
315 * configure.in: Use AM_ZLIB.
316 * configure: Regenerated.
317
99eac5be
NC
3182012-01-06 Nick Clifton <nickc@redhat.com>
319
320 * po/ru.po: Updated Russian translation.
321
9f4a5bd1
TG
3222012-01-04 Tristan Gingold <gingold@adacore.com>
323
324 * od-macho.c (dump_load_command): Handle fvmlib.
325
fc55a902
TG
3262012-01-04 Tristan Gingold <gingold@adacore.com>
327
328 * od-macho.c: Update copyright year.
329 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
330
23e1d329 331For older changes see ChangeLog-2011
252b5132
RH
332\f
333Local Variables:
334mode: change-log
335left-margin: 8
336fill-column: 74
337version-control: never
338End:
This page took 0.509129 seconds and 4 git commands to generate.