binutils/
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
87bc83b3
CC
12013-05-15 Cary Coutant <ccoutant@google.com>
2
3 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
4 don't increment PTR.
5 (decode_location_expression): DW_OP_const2u should read 2 bytes.
6 (display_debug_lines_decoded): Adjust formatting.
7 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
8 7-byte reads.
9 (byte_get_big_endian): Likewise.
10 (byte_get_signed): Likewise.
11
b015e599
AP
122013-05-09 Andrew Pinski <apinski@cavium.com>
13
14 * doc/binutils.texi: Document -Mvirt disassembler option.
15
6945071a
NC
162013-05-02 Nick Clifton <nickc@redhat.com>
17
18 * readelf.c: Add support for MSP430X architecture.
19
4925cdd7
NC
202013-05-02 Nick Clifton <nickc@redhat.com>
21
22 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
23 sections as if they were fragmentary .debug_line sections.
24 (display_debug_lines_decoded): Likewise.
25
b40bf0a2
NC
262013-04-29 Nick Clifton <nickc@redhat.com>
27
28 * dwarf.c (read_debug_line_header): New function. Reads in a
29 header in a .debug_line section.
30 (display_debug_lines_raw): Use new function. Handle fragmentary
31 .debug_line sections.
32 (display_debug_lines_decoded): Likewise.
33 * readelf.c (process_section_headers): Handle fragmenatry
34 .debug_line sections.
35 (display_debug_section): Likewise.
36
ee441d9a
ILT
372013-04-26 Ian Lance Taylor <iant@google.com>
38
39 * MAINTAINERS: Add myself and Cary as gold maintainers.
40
4337774f
TT
412013-04-08 Tom Tromey <tromey@redhat.com>
42
43 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
44
2e97048a
TT
452013-04-08 Tom Tromey <tromey@redhat.com>
46
47 * dwarf-mode.el: Bump version number.
48 (dwarf-mode): Remove autoload.
49 (dwarf-die-reference): Relax regexp.
50
952781e8
AM
512013-04-05 Alan Modra <amodra@gmail.com>
52
53 PR binutils/15324
54 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
55 * dwarf.c (strnlen): Provide fallback decl.
56 * config.in: Regnerate.
57 * configure: Regenerate.
58
f048b142
L
592013-03-29 H.J. Lu <hongjiu.lu@intel.com>
60
61 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
62 SAFE_BYTE_GET64.
63
7e93ea4b
NC
642013-03-27 Phil Krylov <phil.krylov@gmail.com>
65
66 PR binutils/13409
67 * winduni.c (codepages[]): Use UTF-16LE.
68 (wind_MultiByteToWideChar): Likewise.
69 (wind_WideCharToMultiByte): Likewise.
70
2bdc3eca
AM
712013-03-27 Alan Modra <amodra@gmail.com>
72
73 PR binutils/15206
74 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
75
0c588247
NC
762013-03-26 Nick Clifton <nickc@redhat.com>
77
f4155c00 78 PR binutils/15206
0c588247
NC
79 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
80 space before calling byte_get.
81 (SAFE_BYTE_GET_AND_INC): New macro.
82 (SAFE_SIGNED_BYTE_GET): New macro.
83 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
84 (SAFE_BYTE_GET64): New macro.
85 (process_extened_line_op): Use new macros. Use strnlen when
86 appropriate.
87 (fetch_indirect_string): Likewise.
88 (get_FORM_name): Likewise.
89 (decode_location_expression): Likewise.
90 (read_and_display_attr_value): Likewise.
91 (process_debug_info): Likewise.
92 (display_debug_lines_raw): Likewise.
93 (display_debug_lines_decoded): Likewise.
94 (display_debug_pubnames): Likewise.
95 (display_debug_macinfo): Likewise.
96 (get_line_filename_and_dirname): Likewise.
97 (display_debug_macro): Likewise.
98 (display_loc_list): Likewise.
99 (display_loc_list_dwo): Likewise.
100 (display_debug_aranges): Likewise.
101 (display_debug_ranges): Likewise.
102 (frame_display_row): Likewise.
103 (display_debug_frames): Likewise.
104
f6f0e17b
NC
1052013-03-25 Nick Clifton <nickc@redhat.com>
106
107 PR binutils/15202
108 * dwarf.c (read_leb128): Add END parameter. Do not read at or
109 beyond end.
110 (read_sleb128): Add END parameter.
111 (read_uleb128): New function.
112 (process_extended_line_op): Pass END to leb128 functions.
113 (process_abbrev_section): Likewise.
114 (decode_location_expression): Likewise.
115 (read_and_display_attr_value): Likewise.
116 (read_and_display_attr): Likewise.
117 (process_debug_info): Likewise.
118 (display_debug_lines_raw): Likewise.
119 (display_debug_lines_decoded): Likewise.
120 (display_debug_macinfo): Likewise.
121 (get_line_filename_and_dirname): Likewise.
122 (display_debug_macro): Likewise.
123 (display_loc_list_dwo): Likewise.
124 (display_debug_ranges): Likewise.
125 * dwarf.h (read_leb128): Update prototype.
126 * readelf.c (read_uleb128): Add END parameter.
127 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
128 (decode_tic6x_unwind_bytecode): Likewise.
129 (display_tag_value): New function.
130 (display_arm_attribute): Add END parameter. Pass END to
131 read_uleb128. Use display_tag_value.
132 (display_gnu_attribute): Likewise.
133 (display_power_gnu_attribute): Likewise.
134 (display_sparc_gnu_attribute): Likewise.
135 (display_mips_gnu_attribute): Likewise.
136 (display_tic6x_attribute): Likewise.
137 (process_attributes): Likewise.
138 (display_raw_attribute): New function.
139
c8da6823
NC
1402013-03-22 Nick Clifton <nickc@redhat.com>
141
c842b54b
NC
142 PR binutils/15201
143 * dwarf.c (display_debug_ranges): Add checks for reading beyond
144 the end of the section.
145
c8da6823
NC
146 PR binutils/15157
147 * readelf.c (apply_relocations): Catch relocations with negative
148 offsets.
149
0d0fb1ba
NC
1502013-03-15 Nick Clifton <nickc@redhat.com>
151
152 * addr2line.c (slurp_symtab): If canonicalization reveals that
153 there were no ordinary symbols, try loading the dynamic symbols
154 instead.
155
d5c7e0e9
NC
1562013-03-14 Markos Chandras <markos.chandras@imgtec.com>
157
158 * MAINTAINERS: Add myself as Meta maintainer.
159
abb3f6cc
NC
1602013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
161
162 * readelf.c (get_note_type): Add NT_S390_TDB.
163
c54e2ec1
AM
1642013-03-07 Alan Modra <amodra@gmail.com>
165
166 * strings.c (get_char): Dispense with buf[]. Instead shift
167 chars into big-endian value and byte-swap later if
168 little-endian. Don't EOF check value read from object.
169
ee36d918
CV
1702013-03-05 Corinna Vinschen <vinschen@redhat.com>
171
172 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
173 * configure: Regenerate.
174
fafd911d
NC
1752013-03-04 Nick Clifton <nickc@redhat.com>
176
177 * elfcomm.c (error): Flush stdout before emitting the error
178 message.
179 (warn): Likewise.
180
341f9135
CC
1812013-03-01 Cary Coutant <ccoutant@google.com>
182
183 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
184 (shndx_pool_used): Move to top of file.
185 (struct cu_tu_set): New type.
186 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
187 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
188 (find_cu_tu_set_v2): New function.
189 (read_and_display_attr_value): Add "this_set" parameter.
190 (read_and_display_attr): Likewise.
191 (process_debug_info): Track base offsets for DWARF package files.
192 (load_debug_info): Call load_cu_tu_indexes.
193 (get_DW_SECT_short_name): New function.
194 (process_cu_tu_index): Add support for version 2 DWARF package files.
195
15b42fb0
AM
1962013-02-27 Alan Modra <amodra@gmail.com>
197
198 PR binutils/15191
199 * readelf.c (offsetof): Define.
200 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
201 (process_corefile_note_segment): Allow notes without name or
202 desc. Combine out-of-range checks. Disallow "negative"
203 notesz or descsz.
204
9dd3a467
NC
2052013-02-26 Nick Clifton <nickc@redhat.com>
206
207 PR binutils/15191
208 * readelf.c (process_corefile_note_segment): Prevent attempts to
209 read beyond the end of the note buffer.
210
76d8cf45
KT
2112013-02-15 Kai Tietz <ktietz@redhat.com>
212
213 * objcopy.c (copy_main): Initialize context variable.
214
a043396b
NC
2152013-02-15 Nick Clifton <nickc@redhat.com>
216
217 PR binutils/15140
218 * ar.c (open_inarch): Fail on attempts to convert a normal archive
219 to a thin archive or vice versa.
220 * elfcomm.c (make_qualified_name): Handle corrupted thin
221 archives.
222 * readelf.c (process_archive): Likewise.
223 * doc/binutils.texi: Clarify documentation describing thin
224 archives.
225
2e62b721
NC
2262013-02-15 Nick Clifton <nickc@redhat.com>
227
228 PR binutils/15033
229 * objcopy.c (enum change_action): Delete.
230 (struct section_list): Delete remove, copy, change_vma, change_lma
231 and set_flags fields. Add context field.
232 (find_section_list): Add a context parameter. Add support for
233 wildcard characters in section names.
234 (is_strip_section): Check for sections being both copied and
235 removed.
236 (copy_object): Pass context to find_section_list.
237 (setup_section): Likewise.
238 (copy_section): Likewise.
239 (copy_main): Likewise.
240 * doc/binutils: Document the new behaviour.
241 * NEWS: Mention the new feature
242
d99b05a3
NC
2432013-02-14 Nick Clifton <nickc@redhat.com>
244
245 PR binutils/15125
246 * objcopy.c (copy_object): Provide a helpful warning message when
247 adding a gnu_debuglink section to an object which already contains
248 one.
249
83ee86b1
NC
2502013-02-07 Nick Clifton <nickc@redhat.com>
251
252 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
253 corrupt archive uses long names but has no long name table.
254
36591ba1
SL
2552013-02-06 Sandra Loosemore <sandra@codesourcery.com>
256 Andrew Jenner <andrew@codesourcery.com>
257
258 Based on patches from Altera Corporation.
259
260 * readelf.c: Include elf/nios2.h.
261 (dump_relocations): Add case for EM_ALTERA_NIOS2.
262 (get_nios2_dynamic_type): New.
263 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
264 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
265 (is_16bit_abs_reloc): Likewise.
266 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
267 * NEWS: Note Altera Nios II support.
268 * MAINTAINERS: Add Nios II maintainers.
269
7e26601c
NC
2702013-01-29 Xi Wang <xi.wang@gmail.com>
271
272 * readelf.c (process_version_sections): Fix overflow checks to
273 avoid undefined behaviour.
274
aa170720
DE
2752013-01-28 Doug Evans <dje@google.com>
276
277 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
278
5dddde8e
AM
2792013-01-28 Robert Schiele <rschiele@gmail.com>
280
281 * objcopy.c (parse_flags): Add merge and strings section flags.
282
fab128ef
CC
2832013-01-25 Cary Coutant <ccoutant@google.com>
284
15b42fb0
AM
285 * dwarf.c (display_loc_list): Update offset for each line
286 printed.
287 (print_addr_index): New function.
288 (display_loc_list_dwo): Update offset for each line printed.
289 Fix problems displaying loclists in .dwo files. Add support
290 for type 4 entries.
291 (display_debug_loc): Remove custom header for .dwo files.
292 (display_debug_addr): Adjust formatting.
fab128ef 293
9b8bf321
NC
2942013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
295
296 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
297
90f9a987
DE
2982013-01-24 Doug Evans <dje@google.com>
299
300 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
301
78c8d46c
NC
3022013-01-24 Nick Clifton <nickc@redhat.com>
303
304 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
305
a367d729
AK
3062013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
307
308 * readelf.c: Add strings for NT_S390_LAST_BREAK and
309 NT_S390_SYSTEM_CALL.
310
a477bfd1
NC
3112013-01-18 Nick Clifton <nickc@redhat.com>
312
313 PR binutils/15026
314 * addr2line.c (translate_addresses): When pretty printing, print
315 unknown function names on the same line as unknown symbol names.
316
c32d6f7b
AM
3172013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
318
319 * objdump.c (dump_target_specific): Fix NULL pointer test.
320
cb566e3a
AM
3212013-01-16 Alan Modra <amodra@gmail.com>
322
323 PR binutils/15018
324 * stabs.c (parse_stab_members): Always set physname here to avoid
325 gcc warning..
326 (parse_stab_argtypes): ..and don't duplicate the init here.
327
a3c62988
NC
3282013-01-10 Will Newton <will.newton@imgtec.com>
329
330 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
331 (dump_relocations): Add EM_METAG.
332 (get_machine_name): Correct case for Meta.
333 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
334 (is_none_reloc): Add support for Meta NONE reloc.
335
652451f8
YZ
3362013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
337
338 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
339 and NT_ARM_HW_WATCH.
340
955d0b3b
RM
3412013-01-07 Roland McGrath <mcgrathr@google.com>
342
343 * objcopy.c (deterministic): Make int rather than bfd_boolean,
344 initialize to -1.
345 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
346 (default_deterministic): New function.
347 (strip_main, copy_main): Handle -U. Call default_deterministic.
348 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
349 the default based on DEFAULT_AR_DETERMINISTIC.
350 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
351 configure options on -D.
352
353 * ar.c (default_deterministic): Comment fix.
354
7ca01ed9
NC
3552013-01-07 Patrice Dumas <pertusus@free.fr>
356
357 * doc/binutils.texi: Fix ordering of top level nodes.
358 Replace erroneous uses of @itemx with @item.
359
574b25e8
AS
3602013-01-04 Andreas Schwab <schwab@linux-m68k.org>
361
362 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
363
5b2ab150
MS
3642013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
365
366 * MAINTAINERS: Add myself as AArch64 co-maintainer.
367
62658407
L
3682013-01-02 H.J. Lu <hongjiu.lu@intel.com>
369
370 * version.c (print_version): Update copyright year to 2013.
371
4e5f3f9d 372For older changes see ChangeLog-2012
252b5132 373\f
4e5f3f9d 374Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
375
376Copying and distribution of this file, with or without modification,
377are permitted in any medium without royalty provided the copyright
378notice and this notice are preserved.
379
252b5132
RH
380Local Variables:
381mode: change-log
382left-margin: 8
383fill-column: 74
384version-control: never
385End:
This page took 0.70317 seconds and 4 git commands to generate.