PR ld/15839
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
8b64b65e
TG
12013-08-19 Tristan Gingold <gingold@adacore.com>
2
3 * nm.c (print_size_symbols): Directly get symbol size.
4
643902a4
AS
52013-08-12 Andreas Schwab <schwab@suse.de>
6
7 PR binutils/15818
8 * objdump.c (disassemble_section): Return early if nothing from
9 this section needs to be disassembled.
10
4046d87a
NC
112013-08-09 Nick Clifton <nickc@redhat.com>
12
13 * readelf.c (get_machine_flags): Handle RL78 G10 flag.
14
43234a1e
L
152013-07-26 Sergey Guriev <sergey.s.guriev@intel.com>
16 Alexander Ivchenko <alexander.ivchenko@intel.com>
17 Maxim Kuznetsov <maxim.kuznetsov@intel.com>
18 Sergey Lega <sergey.s.lega@intel.com>
19 Anna Tikhonova <anna.tikhonova@intel.com>
20 Ilya Tocar <ilya.tocar@intel.com>
21 Andrey Turetskiy <andrey.turetskiy@intel.com>
22 Ilya Verbin <ilya.verbin@intel.com>
23 Kirill Yukhin <kirill.yukhin@intel.com>
24 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
25
26 * dwarf.c (dwarf_regnames_i386): Add k0-k7 registers and
27 numeration in comments.
28 (dwarf_regnames_x86_64): Add xmm16-31 and k0-k7 registers to
29 dwarf table.
30
1ae40aa4
NC
312013-07-19 Nick Clifton <nickc@redhat.com>
32
33 PR binutils/15745
34 * readelf.c (get_unwind_section_word): Whilst searching for a
35 reloc section associated with an unwind section, check the type as
36 well as the section number.
37
faf786e6
NC
382013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
39
40 * ar.c (usage): Fix C conformance issue.
41
9f758fdc
NC
422013-07-18 Nick Clifton <nickc@redhat.com>
43
39b07303
NC
44 * doc/binutils.texi (nm, objdump): Remove bogus links to STABS
45 documentation.
46
9f758fdc
NC
47 * readelf.c (process_unwind): Do not return the result of a void
48 function.
49
d929bc19
MR
502013-07-15 Maciej W. Rozycki <macro@codesourcery.com>
51
52 * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic
53 numbers with enum values.
54
ba92f887
MR
552013-07-12 Maciej W. Rozycki <macro@codesourcery.com>
56
57 * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008.
58
868d1840
TG
592013-07-10 Tristan Gingold <gingold@adacore.com>
60
61 * od-xcoff.c (OPT_LDINFO): Define.
62 (options): Add ldinfo.
63 (xcoff_help): Mention ldinfo.
64 (xcoff_dump): Rename to ...
65 (xcoff_dump_obj): ... this. Add a break.
66 (dump_dumpx_core): New function.
67 (xcoff_dump_core): Likewise.
68 (xcoff_dump): Likewise.
69 * doc/binutils.texi (objdump): Mention ldinfo.
70
c1094734
TG
712013-07-09 Tristan Gingold <gingold@adacore.com>
72
73 * configure.com: Add new defines to match changes in configure.
74
fe59e83d
CC
752013-05-28 Cary Coutant <ccoutant@google.com>
76
77 * dwarf.c (display_debug_lines_raw): Print section offsets.
78
87bc83b3
CC
792013-05-15 Cary Coutant <ccoutant@google.com>
80
81 * dwarf.c (SAFE_BYTE_GET64): Correct end-of-buffer check;
82 don't increment PTR.
83 (decode_location_expression): DW_OP_const2u should read 2 bytes.
84 (display_debug_lines_decoded): Adjust formatting.
85 * elfcomm.c (byte_get_little_endian): Add cases for 5-, 6-, and
86 7-byte reads.
87 (byte_get_big_endian): Likewise.
88 (byte_get_signed): Likewise.
89
b015e599
AP
902013-05-09 Andrew Pinski <apinski@cavium.com>
91
92 * doc/binutils.texi: Document -Mvirt disassembler option.
93
6945071a
NC
942013-05-02 Nick Clifton <nickc@redhat.com>
95
96 * readelf.c: Add support for MSP430X architecture.
97
4925cdd7
NC
982013-05-02 Nick Clifton <nickc@redhat.com>
99
100 * dwarf.c (display_debug_lines_raw): Do not treat .debug_line.dwo
101 sections as if they were fragmentary .debug_line sections.
102 (display_debug_lines_decoded): Likewise.
103
b40bf0a2
NC
1042013-04-29 Nick Clifton <nickc@redhat.com>
105
106 * dwarf.c (read_debug_line_header): New function. Reads in a
107 header in a .debug_line section.
108 (display_debug_lines_raw): Use new function. Handle fragmentary
109 .debug_line sections.
110 (display_debug_lines_decoded): Likewise.
111 * readelf.c (process_section_headers): Handle fragmenatry
112 .debug_line sections.
113 (display_debug_section): Likewise.
114
ee441d9a
ILT
1152013-04-26 Ian Lance Taylor <iant@google.com>
116
117 * MAINTAINERS: Add myself and Cary as gold maintainers.
118
4337774f
TT
1192013-04-08 Tom Tromey <tromey@redhat.com>
120
121 * dwarf.c (process_debug_info): Check dwarf_cutoff_level.
122
2e97048a
TT
1232013-04-08 Tom Tromey <tromey@redhat.com>
124
125 * dwarf-mode.el: Bump version number.
126 (dwarf-mode): Remove autoload.
127 (dwarf-die-reference): Relax regexp.
128
952781e8
AM
1292013-04-05 Alan Modra <amodra@gmail.com>
130
131 PR binutils/15324
132 * configure.in: Add strnlen to AC_CHECK_DECLS, sort.
133 * dwarf.c (strnlen): Provide fallback decl.
134 * config.in: Regnerate.
135 * configure: Regenerate.
136
f048b142
L
1372013-03-29 H.J. Lu <hongjiu.lu@intel.com>
138
139 * dwarf.c (process_debug_info): Increment hdrptr by 8 after
140 SAFE_BYTE_GET64.
141
7e93ea4b
NC
1422013-03-27 Phil Krylov <phil.krylov@gmail.com>
143
144 PR binutils/13409
145 * winduni.c (codepages[]): Use UTF-16LE.
146 (wind_MultiByteToWideChar): Likewise.
147 (wind_WideCharToMultiByte): Likewise.
148
2bdc3eca
AM
1492013-03-27 Alan Modra <amodra@gmail.com>
150
151 PR binutils/15206
152 * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int.
153
0c588247
NC
1542013-03-26 Nick Clifton <nickc@redhat.com>
155
f4155c00 156 PR binutils/15206
0c588247
NC
157 * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer
158 space before calling byte_get.
159 (SAFE_BYTE_GET_AND_INC): New macro.
160 (SAFE_SIGNED_BYTE_GET): New macro.
161 (SAFE_SIGNED_BYTE_GET_AND_INC): New macro.
162 (SAFE_BYTE_GET64): New macro.
163 (process_extened_line_op): Use new macros. Use strnlen when
164 appropriate.
165 (fetch_indirect_string): Likewise.
166 (get_FORM_name): Likewise.
167 (decode_location_expression): Likewise.
168 (read_and_display_attr_value): Likewise.
169 (process_debug_info): Likewise.
170 (display_debug_lines_raw): Likewise.
171 (display_debug_lines_decoded): Likewise.
172 (display_debug_pubnames): Likewise.
173 (display_debug_macinfo): Likewise.
174 (get_line_filename_and_dirname): Likewise.
175 (display_debug_macro): Likewise.
176 (display_loc_list): Likewise.
177 (display_loc_list_dwo): Likewise.
178 (display_debug_aranges): Likewise.
179 (display_debug_ranges): Likewise.
180 (frame_display_row): Likewise.
181 (display_debug_frames): Likewise.
182
f6f0e17b
NC
1832013-03-25 Nick Clifton <nickc@redhat.com>
184
185 PR binutils/15202
186 * dwarf.c (read_leb128): Add END parameter. Do not read at or
187 beyond end.
188 (read_sleb128): Add END parameter.
189 (read_uleb128): New function.
190 (process_extended_line_op): Pass END to leb128 functions.
191 (process_abbrev_section): Likewise.
192 (decode_location_expression): Likewise.
193 (read_and_display_attr_value): Likewise.
194 (read_and_display_attr): Likewise.
195 (process_debug_info): Likewise.
196 (display_debug_lines_raw): Likewise.
197 (display_debug_lines_decoded): Likewise.
198 (display_debug_macinfo): Likewise.
199 (get_line_filename_and_dirname): Likewise.
200 (display_debug_macro): Likewise.
201 (display_loc_list_dwo): Likewise.
202 (display_debug_ranges): Likewise.
203 * dwarf.h (read_leb128): Update prototype.
204 * readelf.c (read_uleb128): Add END parameter.
205 (decode_arm_unwind_bytecode): Pass END to read_uleb128.
206 (decode_tic6x_unwind_bytecode): Likewise.
207 (display_tag_value): New function.
208 (display_arm_attribute): Add END parameter. Pass END to
209 read_uleb128. Use display_tag_value.
210 (display_gnu_attribute): Likewise.
211 (display_power_gnu_attribute): Likewise.
212 (display_sparc_gnu_attribute): Likewise.
213 (display_mips_gnu_attribute): Likewise.
214 (display_tic6x_attribute): Likewise.
215 (process_attributes): Likewise.
216 (display_raw_attribute): New function.
217
c8da6823
NC
2182013-03-22 Nick Clifton <nickc@redhat.com>
219
c842b54b
NC
220 PR binutils/15201
221 * dwarf.c (display_debug_ranges): Add checks for reading beyond
222 the end of the section.
223
c8da6823
NC
224 PR binutils/15157
225 * readelf.c (apply_relocations): Catch relocations with negative
226 offsets.
227
0d0fb1ba
NC
2282013-03-15 Nick Clifton <nickc@redhat.com>
229
230 * addr2line.c (slurp_symtab): If canonicalization reveals that
231 there were no ordinary symbols, try loading the dynamic symbols
232 instead.
233
d5c7e0e9
NC
2342013-03-14 Markos Chandras <markos.chandras@imgtec.com>
235
236 * MAINTAINERS: Add myself as Meta maintainer.
237
abb3f6cc
NC
2382013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
239
240 * readelf.c (get_note_type): Add NT_S390_TDB.
241
c54e2ec1
AM
2422013-03-07 Alan Modra <amodra@gmail.com>
243
244 * strings.c (get_char): Dispense with buf[]. Instead shift
245 chars into big-endian value and byte-swap later if
246 little-endian. Don't EOF check value read from object.
247
ee36d918
CV
2482013-03-05 Corinna Vinschen <vinschen@redhat.com>
249
250 * configure.in: Build DLL tools on x86_64-*-cygwin* as well.
251 * configure: Regenerate.
252
fafd911d
NC
2532013-03-04 Nick Clifton <nickc@redhat.com>
254
255 * elfcomm.c (error): Flush stdout before emitting the error
256 message.
257 (warn): Likewise.
258
341f9135
CC
2592013-03-01 Cary Coutant <ccoutant@google.com>
260
261 * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size)
262 (shndx_pool_used): Move to top of file.
263 (struct cu_tu_set): New type.
264 (cu_count, tu_count, cu_sets, tu_sets): New file scope variables.
265 (fetch_indexed_string): Add "this_set" parameter. Update all callers.
266 (find_cu_tu_set_v2): New function.
267 (read_and_display_attr_value): Add "this_set" parameter.
268 (read_and_display_attr): Likewise.
269 (process_debug_info): Track base offsets for DWARF package files.
270 (load_debug_info): Call load_cu_tu_indexes.
271 (get_DW_SECT_short_name): New function.
272 (process_cu_tu_index): Add support for version 2 DWARF package files.
273
15b42fb0
AM
2742013-02-27 Alan Modra <amodra@gmail.com>
275
276 PR binutils/15191
277 * readelf.c (offsetof): Define.
278 (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article.
279 (process_corefile_note_segment): Allow notes without name or
280 desc. Combine out-of-range checks. Disallow "negative"
281 notesz or descsz.
282
9dd3a467
NC
2832013-02-26 Nick Clifton <nickc@redhat.com>
284
285 PR binutils/15191
286 * readelf.c (process_corefile_note_segment): Prevent attempts to
287 read beyond the end of the note buffer.
288
76d8cf45
KT
2892013-02-15 Kai Tietz <ktietz@redhat.com>
290
291 * objcopy.c (copy_main): Initialize context variable.
292
a043396b
NC
2932013-02-15 Nick Clifton <nickc@redhat.com>
294
295 PR binutils/15140
296 * ar.c (open_inarch): Fail on attempts to convert a normal archive
297 to a thin archive or vice versa.
298 * elfcomm.c (make_qualified_name): Handle corrupted thin
299 archives.
300 * readelf.c (process_archive): Likewise.
301 * doc/binutils.texi: Clarify documentation describing thin
302 archives.
303
2e62b721
NC
3042013-02-15 Nick Clifton <nickc@redhat.com>
305
306 PR binutils/15033
307 * objcopy.c (enum change_action): Delete.
308 (struct section_list): Delete remove, copy, change_vma, change_lma
309 and set_flags fields. Add context field.
310 (find_section_list): Add a context parameter. Add support for
311 wildcard characters in section names.
312 (is_strip_section): Check for sections being both copied and
313 removed.
314 (copy_object): Pass context to find_section_list.
315 (setup_section): Likewise.
316 (copy_section): Likewise.
317 (copy_main): Likewise.
318 * doc/binutils: Document the new behaviour.
319 * NEWS: Mention the new feature
320
d99b05a3
NC
3212013-02-14 Nick Clifton <nickc@redhat.com>
322
323 PR binutils/15125
324 * objcopy.c (copy_object): Provide a helpful warning message when
325 adding a gnu_debuglink section to an object which already contains
326 one.
327
83ee86b1
NC
3282013-02-07 Nick Clifton <nickc@redhat.com>
329
330 * elfcomm.c (get_archive_member_name): Prevent seg-fault if a
331 corrupt archive uses long names but has no long name table.
332
36591ba1
SL
3332013-02-06 Sandra Loosemore <sandra@codesourcery.com>
334 Andrew Jenner <andrew@codesourcery.com>
335
336 Based on patches from Altera Corporation.
337
338 * readelf.c: Include elf/nios2.h.
339 (dump_relocations): Add case for EM_ALTERA_NIOS2.
340 (get_nios2_dynamic_type): New.
341 (get_dynamic_type): Add case for EM_ALTERA_NIOS2.
342 (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
343 (is_16bit_abs_reloc): Likewise.
344 (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
345 * NEWS: Note Altera Nios II support.
346 * MAINTAINERS: Add Nios II maintainers.
347
7e26601c
NC
3482013-01-29 Xi Wang <xi.wang@gmail.com>
349
350 * readelf.c (process_version_sections): Fix overflow checks to
351 avoid undefined behaviour.
352
aa170720
DE
3532013-01-28 Doug Evans <dje@google.com>
354
355 * dwarf.c (display_gdb_index): Handle .gdb_index version 8.
356
5dddde8e
AM
3572013-01-28 Robert Schiele <rschiele@gmail.com>
358
359 * objcopy.c (parse_flags): Add merge and strings section flags.
360
fab128ef
CC
3612013-01-25 Cary Coutant <ccoutant@google.com>
362
15b42fb0
AM
363 * dwarf.c (display_loc_list): Update offset for each line
364 printed.
365 (print_addr_index): New function.
366 (display_loc_list_dwo): Update offset for each line printed.
367 Fix problems displaying loclists in .dwo files. Add support
368 for type 4 entries.
369 (display_debug_loc): Remove custom header for .dwo files.
370 (display_debug_addr): Adjust formatting.
fab128ef 371
9b8bf321
NC
3722013-01-25 Marco Atzeri <marco.atzeri@gmail.com>
373
374 * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK.
375
90f9a987
DE
3762013-01-24 Doug Evans <dje@google.com>
377
378 * dwarf.c (display_debug_addr): Add missing parentheses to expression.
379
78c8d46c
NC
3802013-01-24 Nick Clifton <nickc@redhat.com>
381
382 * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH.
383
a367d729
AK
3842013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
385
386 * readelf.c: Add strings for NT_S390_LAST_BREAK and
387 NT_S390_SYSTEM_CALL.
388
a477bfd1
NC
3892013-01-18 Nick Clifton <nickc@redhat.com>
390
391 PR binutils/15026
392 * addr2line.c (translate_addresses): When pretty printing, print
393 unknown function names on the same line as unknown symbol names.
394
c32d6f7b
AM
3952013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu>
396
397 * objdump.c (dump_target_specific): Fix NULL pointer test.
398
cb566e3a
AM
3992013-01-16 Alan Modra <amodra@gmail.com>
400
401 PR binutils/15018
402 * stabs.c (parse_stab_members): Always set physname here to avoid
403 gcc warning..
404 (parse_stab_argtypes): ..and don't duplicate the init here.
405
a3c62988
NC
4062013-01-10 Will Newton <will.newton@imgtec.com>
407
408 * binutils/readelf.c: (guess_is_rela): Add EM_METAG.
409 (dump_relocations): Add EM_METAG.
410 (get_machine_name): Correct case for Meta.
411 (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
412 (is_none_reloc): Add support for Meta NONE reloc.
413
652451f8
YZ
4142013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
415
416 * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
417 and NT_ARM_HW_WATCH.
418
955d0b3b
RM
4192013-01-07 Roland McGrath <mcgrathr@google.com>
420
421 * objcopy.c (deterministic): Make int rather than bfd_boolean,
422 initialize to -1.
423 (strip_options, copy_options): Add -U/--disable-deterministic-archives.
424 (default_deterministic): New function.
425 (strip_main, copy_main): Handle -U. Call default_deterministic.
426 (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
427 the default based on DEFAULT_AR_DETERMINISTIC.
428 * doc/binutils.texi (objcopy, strip): Describe -U and effect of
429 configure options on -D.
430
431 * ar.c (default_deterministic): Comment fix.
432
7ca01ed9
NC
4332013-01-07 Patrice Dumas <pertusus@free.fr>
434
435 * doc/binutils.texi: Fix ordering of top level nodes.
436 Replace erroneous uses of @itemx with @item.
437
574b25e8
AS
4382013-01-04 Andreas Schwab <schwab@linux-m68k.org>
439
440 * doc/binutils.texi (elfedit): Fix use of @itemx in @table.
441
5b2ab150
MS
4422013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
443
444 * MAINTAINERS: Add myself as AArch64 co-maintainer.
445
62658407
L
4462013-01-02 H.J. Lu <hongjiu.lu@intel.com>
447
448 * version.c (print_version): Update copyright year to 2013.
449
4e5f3f9d 450For older changes see ChangeLog-2012
252b5132 451\f
4e5f3f9d 452Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
453
454Copying and distribution of this file, with or without modification,
455are permitted in any medium without royalty provided the copyright
456notice and this notice are preserved.
457
252b5132
RH
458Local Variables:
459mode: change-log
460left-margin: 8
461fill-column: 74
462version-control: never
463End:
This page took 0.552074 seconds and 4 git commands to generate.