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