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