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