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