MIPS16e2: Add MIPS16e2 ASE support
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
25499ac7
MR
12017-05-15 Maciej W. Rozycki <macro@imgtec.com>
2
3 * readelf.c (print_mips_ases): Handle MIPS16e2 ASE.
4 * NEWS: Mention MIPS16e2 ASE support.
5
a4f89915
MR
62017-05-12 Maciej W. Rozycki <macro@imgtec.com>
7
8 * testsuite/binutils-all/mips/mips16-extend-insn.d: Adjust BREAK
9 and SDBBP disassembly.
10
40e5240e
MR
112017-05-10 Maciej W. Rozycki <macro@imgtec.com>
12
13 * testsuite/binutils-all/mips/mips.exp: Define `tempfile' and
14 `copyfile' variables.
15
53a346d8
CZ
162017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
17
18 * readelf.c (decode_ARC_machine_flags): Recognize OSABI v4.
19 (get_arc_section_type_name): New function.
20 (get_section_type_name): Use the above function.
21 (display_arc_attribute): New function.
22 (process_arc_specific): Likewise.
23 (process_arch_specific): Handle ARC specific information.
24
21d1fbee
KK
252017-05-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26
27 * MAINTAINERS (SH): Remove myself as SH maintainer.
28
2ecf0cc3
L
292017-05-02 H.J. Lu <hongjiu.lu@intel.com>
30
31 * objcopy.c (merge_gnu_build_notes): Cast relcount to unsigned
32 long when comparing with sec->reloc_count.
33
1395c6ce
NC
342017-05-02 Nick Clifton <nickc@redhat.com>
35
36 * objcopy.c (merge_gnu_build_notes): Disable merge if there are
37 more internal relocs than external relocs.
38
a4ddc54e
MR
392017-05-02 Maciej W. Rozycki <macro@imgtec.com>
40
41 * testsuite/binutils-all/mips/mips16-undecoded.d: Adjust the
42 disassembly of PC-relative LA and LW synthetic instructions.
43
39ff1b79
NC
442017-05-02 Nick Clifton <nickc@redhat.com>
45
46 PR 21440
47 * objdump.c (dump_relocs_in_section): Check for an excessive
48 number of relocs before attempting to dump them.
49
ee7e95ef
AM
502017-05-01 Alan Modra <amodra@gmail.com>
51
52 * objcopy.c (merge_gnu_build_notes): Correct code deleting
53 relocs.
54
b06b2c92
NC
552017-04-28 Nick Clifton <nickc@redhat.com>
56
57 PR binutils/21439
58 * readelf.c (print_gnu_build_attribute_name): Allow for an empty
59 name field.
60
4e3afec2
NC
612017-04-28 Nick Clifton <nickc@redhat.com>
62
63 PR binutils/21437
64 * readelf.c (process_version_sections): Check for underflow when
65 computing the start address of the auxillary version data.
66
d949ff56
NC
672017-04-28 Nick Clifton <nickc@redhat.com>
68
69 PR binutils/21438
70 * dwarf.c (process_extended_line_op): Do not assume that the
71 string extracted from the section is NUL terminated.
72 (fetch_indirect_string): If the string retrieved from the section
73 is not NUL terminated, return an error message.
74 (fetch_indirect_line_string): Likewise.
75 (fetch_indexed_string): Likewise.
76
740a4630
NC
772017-04-26 Nick Clifton <nickc@redhat.com>
78
d21f3ddb 79 PR binutils/21433
740a4630
NC
80 * bucomm.c (get_file_size): Return -1 if file_name is NULL.
81 * ar.c (main): Fail with usage() invocation if no file names are
82 provided.
83
3e6b6445
NC
842017-04-26 Nick Clifton <nickc@redhat.com>
85
86 * readelf.c (process_section_headers): Warn about overlarge
87 sections.
88 (print_gnu_build_attribute_name): Print the number of unrecognised
89 note types. Fix formatting in the presence of errors.
90 (testsuite/binutils-all/note-2-32.s): Fix encoding of numeric notes.
91 (testsuite/binutils-all/note-2-64.s): Likewise.
92
bbdd9a68
MR
932017-04-26 Maciej W. Rozycki <macro@imgtec.com>
94
95 * readelf.c (process_mips_specific): Add static GOT support.
96
c4ab9505
MR
972017-04-25 Maciej W. Rozycki <macro@imgtec.com>
98
99 * readelf.c (process_mips_specific): Remove error reporting from
100 GOT[1] processing.
101
919383ac
MR
1022017-04-25 Maciej W. Rozycki <macro@imgtec.com>
103
104 * readelf.c (process_mips_specific): Remove null GOT data check.
105
6e3d1f07
MR
1062017-04-25 Maciej W. Rozycki <macro@imgtec.com>
107
108 * testsuite/binutils-all/mips/mips16-alias.d: New test.
109 * testsuite/binutils-all/mips/mips16-noalias.d: New test.
110 * testsuite/binutils-all/mips/mips16-alias.s: New test source.
111 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
112
42354845
AM
1132017-04-23 Alan Modra <amodra@gmail.com>
114
115 PR 21418
116 * ar.c (main): Check -a, -b, -i and -N args are given.
117
7034215f
AM
1182017-04-23 Alan Modra <amodra@gmail.com>
119
120 PR 21417
121 * ar.c (main): Check that an archive file is given after options.
122
b02cd3e9
AM
1232017-04-23 Alan Modra <amodra@gmail.com>
124
125 PR 21415
126 * objdump.c (disassemble_section): Check bfd_get_section_contents
127 status.
128
f082820d
AM
1292017-04-23 Alan Modra <amodra@gmail.com>
130
131 PR 21408
132 * dwarf.c (display_debug_lines_decoded): Don't segfault on NULL
133 file_table.
134
ddef72cd
NC
1352017-04-21 Nick Clifton <nickc@redhat.com>
136
137 PR binutils/21378
138 * readelf.c (print_gnu_build_attribute_name): Check for an
139 overlarge name field.
140
7296a62a
NC
1412017-04-13 Nick Clifton <nickc@redhat.com>
142
143 PR binutils/21379
144 * readelf.c (process_dynamic_section): Detect over large section
145 offsets in the DT_SYMTAB entry.
146
1472017-04-13 Nick Clifton <nickc@redhat.com>
148
149 PR binutils/21345
150 * readelf.c (process_mips_specific): Catch an unfeasible memory
151 allocation before it happens and print a suitable error message.
152
1d15e434
NC
1532017-04-13 Nick Clifton <nickc@redhat.com>
154
155 * objcopy.c: Add --no-merge-notes option to disable note merging.
156 Add --[no-]merge-notes option to strip, and enable it by default.
157 (num_bytes): New function.
158 (merge_gnu_build_notes): Add code to merge stack size notes.
159 * binutils.texi: Update strip and objcopy documentation.
160 * readelf.c (print_gnu_build_attribute_name): Use defined
161 constants for note types.
162
28d909e5
JD
1632017-04-10 John Delsignor <john.delsignore@roguewave.com>
164
165 PR binutils/21319
166 * dwarf.c (display_gdb_index): Correct test for a corrupt address
167 table size.
168
0f65a5d8
JW
1692017-04-05 Jiong Wang <jiong.wang@arm.com>
170
171 * objcopy.c (struct redefine_node): Delete the field "next".
172 (redefine_sym_list): Deleted.
173 (redefine_specific_htab): New hash table.
174 (redefine_specific_reverse_htab): Likewise.
175 (eq_string_redefnode): New function.
176 (htab_hash_redefnode): Likewise.
177 (create_symbol2redef_htab): Likewise.
178 (add_specific_symbol_node): Likewise.
179 (create_symbol_htabs): Create redefine_specific_htab and
180 redefine_specific_reverse_htab.
181 (lookup_sym_redefinition): Use hash table instead of list.
182 (redefine_list_append): Likewise, and rename to add_redefine_and_check.
183 (copy_main): Use redefine_specific_htab instead of redefine_sym_list.
184 Update comments.
185
a91e1603
L
1862017-04-04 H.J. Lu <hongjiu.lu@intel.com>
187
188 * NEWS: Mention support for ELF SHF_GNU_MBIND and
189 PT_GNU_MBIND_XXX.
190 * readelf.c (get_segment_type): Handle PT_GNU_MBIND_XXX.
191 (get_elf_section_flags): Handle SHF_GNU_MBIND.
192 (process_section_headers): Likewise.
193 * testsuite/binutils-all/mbind1.s: New file.
194 * testsuite/binutils-all/objcopy.exp: Run readelf test on
195 mbind1.s.
196
82156ab7
NC
1972017-04-03 Nick Clifton <nickc@redhat.com>
198
199 PR binutils/21345
200 * readelf.c (get_program_headers): Check for there being too many
201 program headers before attempting to allocate space for them.
202
75ec1fdb
NC
2032017-04-03 Nick Clifton <nickc@redhat.com>
204
205 PR binutils/21344
206 * readelf.c (process_mips_specific): Check for an out of range GOT
207 entry before reading the module pointer.
208
f32ba729
NC
2092017-04-03 Nick Clifton <nickc@redhat.com>
210
211 PR binutils/21343
212 * readelf.c (get_unwind_section_word): Fix snafu checking for
213 invalid word offsets in ARM unwind information.
214
efdf7a02
PC
2152017-03-31 Pip Cet <pipcet@gmail.com>
216
217 * NEWS: Use "WebAssembly" consistently.
218 * testsuite/binutils-all/wasm32/wasm32.exp: Fix copyright notice.
219
f96bd6c2
PC
2202017-03-30 Pip Cet <pipcet@gmail.com>
221
222 * readelf.c: Add support for wasm32 ELF format WebAssembly files.
223 (guess_is_rela): Likewise.
224 (dump_relocations): Likewise.
225 (is_32bit_abs_reloc): Likewise.
226 (is_none_reloc_): Likewise.
227 * NEWS: Mention the new support.
228 * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32
229 as ELF target.
230 (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE.
231 * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations.
232 * testsuite/binutils-all/wasm32: New directory.
233 * testsuite/binutils-all/wasm32/create-wasm.d: New file.
234 * testsuite/binutils-all/wasm32/create-wasm.s: Likewise.
235 * testsuite/binutils-all/wasm32/custom-section.d: Likewise.
236 * testsuite/binutils-all/wasm32/custom-section.s: Likewise.
237 * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise.
238 * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise.
239 * testsuite/binutils-all/wasm32/long-sections.d: Likewise.
240 * testsuite/binutils-all/wasm32/long-sections.s: Likewise.
241 * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise.
242 * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise.
243 * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise.
244 * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise.
245 * testsuite/binutils-all/wasm32/prepared-section.d: Likewise.
246 * testsuite/binutils-all/wasm32/prepared-section.s: Likewise.
247 * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests.
248
52be03fd
AM
2492017-03-29 Alan Modra <amodra@gmail.com>
250
251 * doc/binutils.texi (objdump): Document PowerPC -M options.
252
4a14e306
AK
2532017-03-21 Andi Kleen <ak@linux.intel.com>
254
255 * objdump.c (unwind_inlines): Add.
256 (option_values): Add OPTION_INLINES.
257 (show_line): Unwind inlines if requested.
258 (main): Parse OPTION_INLINES.
259 (usage): Document --inlines.
260 * doc/binutils.texi: Document --inlines.
261 * NEWS: Likewise.
262
75d7d298
NC
2632017-03-21 Nick Clifton <nickc@redhat.com>
264
265 * readelf.c (print_gnu_build_attribute_name): Allow stack
266 protection notes to contain numeric values. Use a colon rather
267 than a space to separate a string name from its values. Decode
268 the numeric value of a stack protection note.
269 * objcopy.c (merge_gnu_build_notes): Allow version notes to
270 contain extra text after the protocol version number.
271
39e224f6
MW
2722017-03-20 Mark Wielaard <mark@klomp.org>
273
274 * readelf.c (process_program_headers): Move dynamic_addr check
275 after .dynamic section cross check.
276
0dd6ae21
NC
2772017-03-17 Nick Clifton <nickc@redhat.com>
278
279 * readelf.c (print_gnu_build_attribute_name): Fix off by one error
280 printing the value for a build note with an ascii name.
281
a8be5506
NC
2822017-03-16 Nick Clifton <nickc@redhat.com>
283
284 * readelf.c (print_gnu_build_attribute_name): Add support for
285 GNU_BUILD_ATTRIBUTE_SHORT_ENUM.
286
c799a79d
NC
2872017-03-14 Nick Clifton <nickc@redhat.com>
288
289 * readelf.c (print_gnu_build_attribute_description): Move symbol
290 printing code to...
291 (print_symbol_for_build_attribute): New function. ...here.
292 Add to find the best symbol to associate with an OPEN note.
293 Add code to cache the symbol table and string table, so that they
294 are not loaded every time a note is displayed.
295 * testsuite/binutils-all/note-2-32.s: Add a function symbol.
296 * testsuite/binutils-all/note-2-64.s: Likewise.
297 * testsuite/binutils-all/note-2-32.d: Update expected note output.
298 * testsuite/binutils-all/note-2-64.d: Likewise.
299
5ef2d51b
AM
3002017-03-13 Alan Modra <amodra@gmail.com>
301 Taeung Song <treeze.taeung@gmail.com>
302
303 * objdump.c (update_source_path): Add abfd param. Add struct
304 stat var. Pass to try_print_file_open. Warn if source is more
305 recent than object.
306 (try_print_file_open, slurp_file): Add struct stat param to
307 return fstat.
308 (show_line): Call update_source_path with bfd.
309
7b5d4822
CHL
3102017-03-10 Chia-Hao Lo <fcamel@gmail.com>
311
312 PR binutils/21235
313 * objdump.c (main): Set do_wide with --wide.
314
55e22ca8
NC
3152017-03-10 Nick Clifton <nickc@redhat.com>
316
317 * readelf.c (get_machine_name): Rearrange switch table in order of
318 increasing machine number. Add missing entries.
319
1fc87489
L
3202017-03-08 H.J. Lu <hongjiu.lu@intel.com>
321
322 PR binutils/21231
323 * readelf.c (decode_x86_isa): Change argument to unsigned int.
324 (print_gnu_property_note): Retrieve property type and datasz as
325 4-byte integer. Consolidate property datasz check. Check
326 GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER.
327 * testsuite/binutils-all/i386/pr21231a.d: New file.
328 * testsuite/binutils-all/i386/pr21231a.s: Likewise.
329 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
330 * testsuite/binutils-all/i386/pr21231b.s: Likewise.
331 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
332 * testsuite/binutils-all/x86-64/pr21231a.s: Likewise.
333 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
334 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
335
79a964dc
NC
3362017-03-06 Nick Clifton <nickc@redhat.com>
337
338 * readelf.c (print_gnu_build_attribute_name): Read byte values
339 from the name string as unsigned bytes.
340 (process_notes_at): Use memcpy to copy an unterminated name
341 string.
342
1f5345a6
ST
3432017-03-06 Sam Thursfield <sam.thursfield@codethink.co.uk>
344
345 * configure.ac (AC_CHECK_DECLS): Add asprintf.
346 * config.in: Regenerate.
347 * configure: Regenerate.
348
c871dade
NC
3492017-03-02 Nick Clifton <nickc@redhat.com>
350
351 * readelf.c (print_gnu_build_attribute_description): Use global
352 symbols for OPEN attributes if at all possible.
05ed4310
NC
353 * objcopy.c (is_merged_note_section): Support build note sections
354 without the SHF_GNU_BUILD_NOTE section flag set.
c871dade 355
b451e98a
JK
3562017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
357
358 * dwarf.c (debug_displays_assert): New static assertion.
359
d4620bee
JK
3602017-03-02 Jan Kratochvil <jan.kratochvil@redhat.com>
361
362 * dwarf.h (enum dwarf_section_display_enum): Add loclists and rnglists.
363
9ef920e9
NC
3642017-03-01 Nick Clifton <nickc@redhat.com>
365
366 * readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs.
367 (get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs.
368 (decode_x86_isa): New function.
369 (print_gnu_property_note): New function.
370 (print_gnu_note): Handle GNU_PROPERTY_NOTEs.
371 (print_gnu_build_attribute_description): New function.
372 (print_gnu_build_attribute_name): New function.
373 (process_note): Add support for GNU_BUILD_NOTEs.
374 * objcopy.c (--merge-notes): New command line option.
375 (copy_options): Add merge-notes.
376 (copy_usage): Likewise.
377 (is_merge_note_section): New function.
378 (merge_gnu_build_notes): New function.
379 (copy_object): Merge note sections if asked to do so.
380 (skip_section): Add skip_copy parameter. Add support for skipping
381 merged note sections.
382 (copy_relocations_in_section): Update call to skip_section.
383 (copy_section): Likewise.
384 (copy_main): Add support for merge-notes option.
385 * doc/binutils.texi: Document the new option to objcopy.
386 * NEWS: Mention the new feature.
387 * testsuite/binutils-all/note-2-32.d: New test. Checks note
388 merging on 32-bit targets.
389 * testsuite/binutils-all/note-2-32.s: New test source file.
390 * testsuite/binutils-all/note-2-64.d: New test. Like note-2-32.d
391 but for 64-bit targets.
392 * testsuite/binutils-all/note-2-64.s: New test source file.
393 * testsuite/binutils-all/objcopy.exp: Run the new test.
394
65b48a81
PB
3952017-02-28 Peter Bergner <bergner@vnet.ibm.com>
396
397 * objdump.c (main): Use remove_whitespace_and_extra_commas.
398
9dfd0db9
JK
3992017-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
400
401 Fix compilation with GCC 4.4.7.
402 * dwarf.c (display_loclists_list, display_debug_rnglists_list):
403 Initialize begin and end.
404
3b83ea38
AM
4052017-02-25 Alan Modra <amodra@gmail.com>
406
407 * testsuite/binutils-all/dw5.S: Replace .string with .asciz.
408 Support hpux .comm variant.
409 * testsuite/binutils-all/readelf.exp: Define HPUX when assembling
410 dw5 test for hppa64-hpux.
411
32ec8896
NC
4122017-02-24 Nick Clifton <nickc@redhat.com>
413
414 * readelf.c (show_name, do_dynamic, do_syms, do_dyn_syms,
415 (do_reloc, do_sections, do_section_groups, do_section_details,
416 (do_segments, do_unwind, do_using_dynamic, do_header, do_dump,
417 (do_version, do_histogram, do_debugging, do_arch, do_notes,
418 (do_archive_index, is_32bit_elf, decompress_dumps): Use
419 bfd_boolean type.
420 (parse_args): Treat the do_* variables as booleans.
421 (print_vma): Return an unsigned int.
422 (print_symbol): Change width parameter to signed int.
423 (is_ia64_vms): Change return type to bfd_boolean.
424 (guess_is_rela): Likewise.
425 (slurp_rela_relocs): Likewise.
426 (slurp_rel_relocs): Likewise.
427 (dump_relocations): Likewise.
428 (process_file_header): Likewise.
429 (get_program_headers): Likewise.
430 (process_program_headers): Likewise.
431 (process_section_headers): Likewise.
432 (process_section_groups): Likewise.
433 (dump_ia64_vms_dynamic_fixups): Likewise.
434 (dump_ia64_vms_dynamic_relocs): Likewise.
435 (process_ia64_vms_dynamic_relocs): Likewise.
436 (process_relocs): Likewise.
437 (dump_ia64_unwind): Likewise.
438 (ia64_process_unwind): Likewise.
439 (dump_hppa_unwind): Likewise.
440 (slurp_hppa_unwind_table): Likewise.
441 (hppa_process_unwind): Likewise.
442 (decode_arm_unwind_bytecode): Likewise.
443 (decode_tic6x_unwind_bytecode): Likewise.
444 (decode_arm_unwind): Likewise.
445 (dump_arm_unwind): Likewise.
446 (arm_process_unwind): Likewise.
447 (process_unwind): Likewise.
448 (get_32bit_dynamic_section): Likewise.
449 (get_64bit_dynamic_section): Likewise.
450 (process_dynamic_section): Likewise.
451 (process_version_sections): Likewise.
452 (process_symbol_table): Likewise.
453 (process_syminfo): Likewise.
454 (apply_relocations): Likewise.
455 (disassemble_section): Likewise.
456 (dump_section_as_strings): Likewise.
457 (dump_section_as_bytes): Likewise.
458 (load_specific_debug_section): Likewise.
459 (load_debug_section): Likewise.
460 (display_debug_section): Likewise.
461 (process_section_contents): Likewise.
462 (process_attributes): Likewise.
463 (process_nds32_specific): Likewise.
464 (process_gnu_liblist): Likewise.
465 (print_core_note): Likewise.
466 (print_gnu_note): Likewise.
467 (print_v850_note): Likewise.
468 (process_netbsd_elf_note): Likewise.
469 (print_stapsdt_note): Likewise.
470 (print_ia64_vms_note): Likewise.
471 (process_note): Likewise.
472 (process_notes_at): Likewise.
473 (process_corefile_note_segments): Likewise.
474 (process_v850_notes): Likewise.
475 (process_note_sections): Likewise.
476 (process_notes): Likewise.
477 (process_arch_specific): Likewise.
478 (get_file_header): Likewise.
479 (process_object): Likewise.
480 (process_archive): Likewise.
481 (process_file): Likewise.
482 (section_subset): Make static.
483 (get_mips_reg_size): Return a signed integer.
484 (process_object): Reverse the logic of the return value.
485 (process_archive): Likewise.
486 (process_file): Likewise.
6b4bf3bc
NC
487 (process_program_headers): Fix snafu - if the program headers are
488 not available then this is not a cause to fail.
489 (process_corefile_note_segments): Likewise.
32ec8896 490
7bb1ad17
MR
4912017-02-24 Maciej W. Rozycki <macro@imgtec.com>
492
493 * readelf.c (get_ver_flags): Tidy the formatting of the string
494 returned
495
5235cd68
MR
4962017-02-24 Maciej W. Rozycki <macro@imgtec.com>
497
498 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Make
499 `isum' unsigned.
500 <SHT_GNU_verneed>: Likewise.
501
c9f02c3e
MR
5022017-02-24 Maciej W. Rozycki <macro@imgtec.com>
503
504 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit
505 the number of entries processed by the section size. Don't
506 break out of the loop if `ent.vd_next' is 0.
507
a567769b
JK
5082017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
509
510 * testsuite/binutils-all/dw5.S: New file.
511 * testsuite/binutils-all/dw5.W: New file.
512 * testsuite/binutils-all/readelf.exp (readelf -wiaoRlL): New test.
513
2f6cd591
JK
5142017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
515
516 * dwarf.c (read_and_display_attr_value): Support DW_FORM_data16.
517
7a7e1061
JK
5182017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
519
520 * dwarf.c (display_debug_macro): Support DWARF-5. Rename
521 DW_MACRO_GNU_*.
522
bc0a77d2
JK
5232017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
524
525 * dwarf.c (decode_location_expression): Support DW_OP_implicit_pointer,
526 DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert
527 and DW_OP_reinterpret.
528 (read_and_display_attr_value): Support DW_AT_call_value,
529 DW_AT_call_data_value, DW_AT_call_target and
530 DW_AT_call_target_clobbered.
531
77145576
JK
5322017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
533
534 * dwarf.c (fetch_indirect_line_string): New function.
535 (abbrev_attr): New field implicit_const.
536 (add_abbrev_attr): New parameter implicit_const.
537 (process_abbrev_section): Support DW_FORM_implicit_const.
538 (decode_location_expression): Support DW_OP_entry_value.
539 (read_and_display_attr_value): Add parameter implicit_const. Support
540 DW_FORM_line_strp and DW_FORM_implicit_const.
541 (read_and_display_attr): Add parameter implicit_const.
542 (process_debug_info): Support line_str and DWARF-5.
543 (read_debug_line_header): Support DWARF-5.
544 (display_formatted_table): New function.
545 (display_debug_lines_raw): New parameter file. Support DWARF-5.
546 (display_debug_lines_decoded): New parameter fileptr. Support DWARF-5.
547 (display_debug_lines): Pass file parameter.
548 (display_debug_macro): Update read_and_display_attr_value caller.
549 (display_debug_abbrev): Support DW_FORM_implicit_const.
550 (display_loclists_list): New function.
551 (display_loc_list): Support .debug_loclists.
552 (display_debug_ranges_list): New function from display_debug_ranges.
553 (display_debug_rnglists_list): New function.
554 (display_debug_ranges): Support .debug_rnglists.
555 (debug_displays): Add .debug_line_str, .debug_loclists and
556 .debug_rnglists.
557 * dwarf.h: Include dwarf2.h
558 (DWARF2_Internal_LineInfo): Add li_offset_size.
559 (DWARF2_Internal_CompUnit): Add cu_unit_type.
560 (enum dwarf_section_display_enum): Add line_str.
561 * readelf.c (process_section_headers): Add rnglists and loclists.
562
ef0b5f1c
JK
5632017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
564
565 * dwarf.c (display_block): Add parameter delimiter.
566 (decode_location_expression): Update display_block callers.
567 (read_and_display_attr_value): Add parameter delimiter.
568 (read_and_display_attr, display_debug_macro): Update
569 read_and_display_attr_value caller.
570
359ca075
JK
5712017-02-23 Jan Kratochvil <jan.kratochvil@redhat.com>
572
573 * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address
574 and off.
575 (display_loc_list_dwo): Use dwarf_vma for offset.
576 (display_debug_loc): Use dwarf_vma for offset, base_address.
577 (struct range_entry, range_entry_compar): Use dwarf_vma for
578 ranges_offset.
579 (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and
580 base_address.
581
60abdbed
NC
5822017-02-23 Nick Clifton <nickc@redhat.com>
583
584 * readelf.c (display_tag_value): Use an explicit signed type for
585 the tag parameter.
586 (display_gnu_attributes): Use an unsigned integer type for
587 attribute tags.
588 (display_power_gnu_attribute): Likewise.
589 (display_s390_gnu_attribute): Likewise.
590 (display_sparc_hwcaps): Likewise.
591 (display_sparc_hwcaps2): Likewise.
592 (display_sparc_gnu_attribute): Likewise.
593 (display_mips_gnu_attribute): Likewise.
594 (display_tic6x_attribute): Likewise.
595 (display_raw_attribute): Likewise.
596 (process_attributes): Likewise.
597 (process_arm_specific): Delete redundant function.
598 (process_power_specific): Likewise.
599 (process_s390_specific): Likewise.
600 (process_sparc_specific): Likewise.
601 (process_tic6x_specific): Likewise.
602 (process_msp430x_specific): Likewise.
603 (display_public_gnu_attributes): New function. Displays known
604 information about an unknown gnu attribute.
605 (display_generic_attribute): New function. Calls
606 display_tag_value for non-nul tags.
607 (process_arch_specific): Call process_attributes even for
608 architectures not known to specifically support gnu attributes.
609
0502a2b4
JK
6102017-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
611
612 * dwarf.c (decode_location_expression): Display also OP.
613
233f82cf
MR
6142017-02-22 Maciej W. Rozycki <macro@imgtec.com>
615
616 * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
617 new line between the heading and the first version definition
618 entry.
619
43a444f9
NC
6202017-02-20 Nick Clifton <nickc@redhat.com>
621
622 PR binutils/21156
623 * dwarf.c (cu_tu_indexes_read): Move into...
624 (load_cu_tu_indexes): ... here. Change the variable into
625 tri-state. Change the function into boolean, returning
626 false if the indicies could not be loaded.
627 (find_cu_tu_set): Return NULL if the indicies could not be
628 loaded.
629
b814a36d
NC
6302017-02-17 Nick Clifton <nickc@redhat.com>
631
632 PR binutils/21156
633 * readelf.c (find_section_in_set): Test for invalid section
634 indicies.
635
1b4b80bf
NC
6362017-02-17 Nick Clifton <nickc@redhat.com>
637
638 * readelf.c (get_section_type_name): Add decoding of GNU section
639 types.
640
7c723eec
NC
6412017-02-15 Nick Clifton <nickc@redhat.com>
642
643 * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
644 Maintainers section.
645
bc303e5d
NC
6462017-02-14 Nick Clifton <nickc@redhat.com>
647
648 PR binutils/21159
649 * readelf.c (dump_section_as_strings): Reset the start address if
650 no decompression is perfromed.
651 (dump_section_as_bytes): Likewise.
652
92134dc1
NC
6532017-02-14 Nick Clifton <nickc@redhat.com>
654
655 PR binutils/21158
656 * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
657 empty symbol name.
658
a2dea0b2
NC
6592017-02-14 Nick Clifton <nickc@redhat.com>
660
661 PR binutils/21157
662 * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
663 pairs.
664 (parse_number): Exit early if passed an empty string.
665
b32e566b
NC
6662017-02-14 Nick Clifton <nickc@redhat.com>
667
668 PR binutils/21155
669 * readelf.c (IN_RANGE): New macro. Tests for an address + offset
670 being within a given range.
671 (target_specific_reloc_handling): Use macro to test for underflow
672 as well as overflow of reloc offset.
673
c1221402
NC
6742017-02-13 Nick Clifton <nickc@redhat.com>
675
676 PR binutils/21150
677 * nm.c (file_symbol): Add test of string length before testing
678 string characters.
679
f055032e
NC
6802017-02-13 Nick Clifton <nickc@redhat.com>
681
682 PR binutils/21135
683 * readelf.c (dump_section_as_bytes): Handle the case where
684 uncompress_section_contents returns false.
1835f746 685 (dump_section_as_bytes, load_specific_debug_section): Likewise.
f055032e 686
ebdf1ebf
NC
6872017-02-13 Nick Clifton <nickc@redhat.com>
688
689 PR binutils/21149
690 * readelf.c (get_compression_header): Add size parameter. Check
691 size against sizeof compression header before attempting to
692 extract the header.
693 (process_section_headers): Pass size to get_compression_header.
694 (dump_section_as_strings): Likewise.
695 (dump_section_as_bytes): Likewise.
696 (load_specific_debug_section): Likewise.
697
4aeb00ad
NC
6982017-02-13 Nick Clifton <nickc@redhat.com>
699
700 PR binutils/21148
701 * readelf.c (process_version_sections): Include size of auxillary
702 version information when checking for buffer overflow.
703
0ee3043f
NC
7042017-02-13 Nick Clifton <nickc@redhat.com>
705
706 PR binutils/21147
707 * readelf.c (process_section_contents): Fix off by one error
708 reporting un-dumped sections.
709
f84ce13b
NC
7102017-02-13 Nick Clifton <nickc@redhat.com>
711
712 PR binutils/21139
713 * readelf.c (target_specific_reloc_handling): Add num_syms
714 parameter. Check for symbol table overflow before accessing
715 symbol value. If reloc pointer is NULL, discard all saved state.
716 (apply_relocations): Pass num_syms to target_specific_reloc_handling.
717 Call target_specific_reloc_handling with a NULL reloc pointer
718 after processing all of the relocs.
719
03f7786e
NC
7202017-02-13 Nick Clifton <nickc@redhat.com>
721
722 PR binutils/21137
723 * readelf.c (target_specific_reloc_handling): Add end parameter.
724 Check for buffer overflow before writing relocated values.
725 (apply_relocations): Pass end to target_specific_reloc_handling.
726
387dd777
DP
7272017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
728 Nick Clifton <nickc@redhat.com>
729
730 PR 20343
731 * doc/binutils.texi (ar): Extend documentation of the --plugin
732 option. Include a description of where the plugins should be
733 located.
734 (nm): Likewise.
735
cf581a9b
NC
7362017-01-23 Nick Clifton <nickc@redhat.com>
737
738 * MAINTAINERS: Add Bernd to Past Maintainers section.
c49f9d0f 739 (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
71d01c69 740 section.
cf581a9b 741
715e99a4
BS
7422017-01-23 Bernd Schmidt <bschmidt@redhat.com>
743
744 * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
745
1737c640
AB
7462017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
747
748 * objdump.c (dump_section_header): Extract max section name length
749 from data parameter, use this when formatting output.
750 (find_longest_section_name): New function.
751 (dump_headers): Calculate longest section name when in wide mode,
752 reformat to unify printing of header line.
753
2cedb9eb
BR
7542017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
755
756 PR 21059
757 * arlex.l: Support processing with flex 2.6.3.
758 * deflex.l: Likewise.
759
6bb21700
DT
7602017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
761
762 * resbin.c: Optional dialog control data immediately follows
763 the control description without alignment.
764 * testsuite/binutils-all/windres/controldata.rc: New test.
765 source.
766 * testsuite/binutils-all/windres/controldata.rsd: New test.
767
2425a30e
NC
7682017-01-12 Nick Clifton <nickc@redhat.com>
769
770 PR binutils/20876
771 * NEWS: Mention the new feature.
772 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
773 New proc to test the location of separate debug info files using
774 the build-id method.
775
b972a0d6
NC
7762017-01-10 Nick Clifton <nickc@redhat.com>
777
778 PR 21034
779 * stabs.c (parse_stab_members): Fix thinko checking for g++
780 version 1 stabs information.
781
cd6581da
NC
7822017-01-09 Nick Clifton <nickc@redhat.com>
783
784 * objdump.c (display_file): Add new parameter 'last_file'. If
785 last_file is true, do not call bfd_close at the end of the
786 function.
787 (main): Set the value of the last_file parameter when calling
788 display_file.
789
4d74727a
AM
7902017-01-09 Alan Modra <amodra@gmail.com>
791
792 * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
793 comment.
794
fd13a84b
NC
7952017-01-06 Nick Clifton <nickc@redhat.com>
796
797 * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
798
b0556316
DP
7992017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
800
801 PR 20958
802 * syslex.l (option): Add noyywrap
803 (yywrap): Delete.
804
2571583a
AM
8052017-01-02 Alan Modra <amodra@gmail.com>
806
807 Update year range in copyright notice of all files.
808
5c1ad6b5 809For older changes see ChangeLog-2016
3499769a 810\f
5c1ad6b5 811Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
812
813Copying and distribution of this file, with or without modification,
814are permitted in any medium without royalty provided the copyright
815notice and this notice are preserved.
816
817Local Variables:
818mode: change-log
819left-margin: 8
820fill-column: 74
821version-control: never
822End:
This page took 0.11748 seconds and 4 git commands to generate.