Patches for illegal ppc 500 instructions
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
9a09557a 12015-09-25 James Bowman <james.bowman@ftdichip.com>
2
3 * ft32-dis.c (print_insn_ft32): Fix incorrect data field mask.
4
6a40cf0c
NC
52015-09-23 Nick Clifton <nickc@redhat.com>
6
7 PR binutils/15835
8 * readelf.c (struct elf_section_list): New structure.
9 (symtab_shndx_hdr): Replace with symtab_shndx_list.
10 (get_32bit_elf_symbols): Scan for a symbol index table matching
11 the symbol table in use.
12 (get_64bit_elf_symbols): Likewise.
13 (process_section_headers): Handle multiple symbol index sections.
14
5c383f02
RO
152015-09-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
16
17 * readelf.c (process_dynamic_section): Handle DF_1_STUB, DF_1_PIE.
18
55edd97b
EA
192015-09-10 Erik Ackermann <kurterikackermann@gmail.com>
20
21 * strings.c: Add -s/--output-separator option to specify custom
22 separator string.
23 * NEWS: Mention the new feature.
24 * doc/binutils.text (strings): Document the new command line
25 option.
26
d8f187c1
NC
272015-09-09 Nick Clifton <nickc@redhat.com>
28
29 * doc/binutils.texi (ar): Remove bogus sentance concerning thin
30 archives and invalid paths.
31
1a915552
NC
322015-09-03 Nick Clifton <nickc@redhat.com>
33
34 PR binutils/18879
35 * readelf.c (get_unwind_section_word): Check for negative offsets
36 and very small sections.
37 (dump_arm_unwind): Warn if the table offset is too large.
38
32a40e8e
L
392015-08-28 H.J. Lu <hongjiu.lu@intel.com>
40
41 * Makefile.am (TOOL_PROGS): Add readelf.
42 * Makefile.in: Regenerated.
43
cfe101c6
YS
442015-08-24 Yaakov Selkowitz <yselkowi@redhat.com>
45
46 * configure: Regenerate.
47
2309f875
AM
482015-08-17 Alan Modra <amodra@gmail.com>
49
50 * configure: Regenerate.
51
0b45135e
AB
522015-08-07 Andrew Burgess <andrew.burgess@embecosm.com>
53
54 * objcopy.c (is_specified_symbol_predicate): Don't stop at first
55 match. Non-match rules set found to FALSE.
56
016a3251
DD
572015-08-06 Yaakov Selkowitz <yselkowi@redhat.com>
58
59 * configure: Regenerate.
60
63b9bbb7
NC
612015-08-05 Nick Clifton <nickc@redhat.com>
62
63 * doc/binutils.texi: Document that the --only-keep-debug option
64 to strip and objcopy preserves the section headers of stripped
65 sections.
66
7e27a9d5
YK
672015-08-04 Yuriy M. Kaminskiy" <yumkam@gmail.com>
68 Tyler Hicks <tyhicks@canonical.com>
69
70 PR binutils/18750
71 * readelf.c (process_mips_specific): Fix incorrect escape
72 sequence handling.
73
742015-08-04 Nick Clifton <nickc@redhat.com>
75
76 * ar.c (extract_file): Free cbuf if the path is invalid.
77
37a42ee9
L
782015-07-27 H.J. Lu <hongjiu.lu@intel.com>
79
80 * configure: Regenerated.
81
7cb9e39b
L
822015-07-24 H.J. Lu <hongjiu.lu@intel.com>
83
84 * stabs.c (parse_stab_range_type): Use 0xffffffffffffffffLL.
85
7360e63f
AM
862015-07-22 Alan Modra <amodra@gmail.com>
87
88 * readelf.c (dump_relocations): Show MIN_INT addends as negative.
89
f2d7e0f4
AM
902015-07-20 Alan Modra <amodra@gmail.com>
91
92 * doc/Makefile.in: Regenerate.
93
53c3012c
AM
942015-07-16 Alan Modra <amodra@gmail.com>
95
96 PR binutils/18672
97 * readelf.c (get_32bit_dynamic_section): Correct buffer limit test.
98 (get_64bit_dynamic_section): Likewise.
99
19a7fe52
L
1002015-07-14 H.J. Lu <hongjiu.lu@intel.com>
101
102 * objcopy.c (copy_file): Set BFD_COMPRESS_GABI if not
103 zlib-gnu.
104 * doc/binutils.texi: Change --compress-debug-sections and
105 --compress-debug-sections=zlib to zlib-gabi.
106
88988473
L
1072015-07-10 H.J. Lu <hongjiu.lu@intel.com>
108
109 PR binutils/18656
110 * objcopy.c (setup_section): Call bfd_convert_section_size
111 to get the output section size.
112 (copy_section): Get the section size from the output section
113 and call bfd_get_full_section_contents to convert section
114 contents for output.
115
813dabb9
L
1162015-07-10 H.J. Lu <hongjiu.lu@intel.com>
117
118 * readelf.c (dump_section_as_strings): Warn unsupported compress
119 type and corrupted compressed section.
120 (dump_section_as_bytes): Likewise.
121 (load_specific_debug_section): Likewise.
122
3350cc01
CM
1232015-07-09 Catherine Moore <clm@codesourcery.com>
124
72f4393d
L
125 * readelf.c (print_mips_fp_abi_value): Handle
126 Val_GNU_MIPS_ABI_FP_NAN2008.
3350cc01 127
a5499fa4
MF
1282015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
129
130 * readelf.c (get_mips_dynamic_type): Handle DT_MIPS_RLD_MAP_REL.
131
bdc4de1b
NC
1322015-06-22 Nick Clifton <nickc@redhat.com>
133
134 * objdump.c (disassemble_bytes): Set the stop_vma field in the
135 disassemble_info structure when disassembling code sections with
136 -d.
137 * doc/binutils.texi (objdump): Document the discrepancy between -d
138 and -D.
139
8fcc61b4
NC
1402015-06-05 Nick Clifton <nickc@redhat.com>
141
142 * dwarf.c (read_debug_line_header): Use reloc_at to detect
143 incomplete .debug_line headers
144
14ae95f2
RM
1452015-05-29 Roland McGrath <mcgrathr@google.com>
146
147 * readelf.c (print_gnu_note: NT_GNU_ABI_TAG): Recognize
148 GNU_ABI_TAG_SYLLABLE and GNU_ABI_TAG_NACL.
149
030f4c7f
SK
1502015-05-29 Stephen Kitt <steve@sk2.org>
151
152 * dlltool.c (make_one_lib_file): Clear .idata$6 before use.
153 (main): Fail if the output file specified by the -z option cannot
154 be opened.
155
b4477bc8
NC
1562015-05-18 Nick Clifton <nickc@redhat.com>
157
158 PR binutils/18420
159 * ia64-unwind.c (unw_decode): Add end parameter. Pass parameter
160 on to decode functions.
161 (unw_devode_p2_p5): Pass end paraemter to UNW_DEC_SPILL_MASK.
162 (UNW_DEC_SPILL_MASK): Add end parameter. Check that unw_rlen does
163 not take us beyond the end of the buffer.
164 * ia64-unwind.h (unw_decode): Update prototype.
165 * readelf.c (dump_ia64_unwind): Pass end pointer to unw_decode.
166
fd8008d8
L
1672015-05-15 H.J. Lu <hongjiu.lu@intel.com>
168
169 * readelf.c (dump_section_as_strings): Change pointers from
170 char * to unsigned char *.
171
5db04b09
L
1722015-05-15 H.J. Lu <hongjiu.lu@intel.com>
173
174 PR binutis/18386
175 * doc/binutils.texi: Document -Mamd64 and -Mintel64.
176
0e602686
NC
1772015-05-15 Nick Clifton <nickc@redhat.com>
178
179 * readelf.c (options): Add "decompress".
180 (usage): Mention -z/--decompress.
181 (parse_args): Handle -z.
182 (uncompress_section_contents): Move to earlier in the file.
183 (dump_section_as_strings): If requested, decompress the section
184 before dumping.
185 (dump_section_as_bytes): Likewise.
186 * doc/binutils.texi: Document the new option.
187
4bc0608a
PB
1882015-05-14 Peter Bergner <bergner@vnet.ibm.com>
189
190 * MAINTAINERS: Add myself as PPC maintainer.
191
dab394de
L
1922015-05-14 H.J. Lu <hongjiu.lu@intel.com>
193
194 * readelf.c (uncompress_section_contents): Add a parameter for
195 uncompressed size. Don't check the zlib header.
196 (load_specific_debug_section): Updated.
197
d1c4b12b
NC
1982015-05-15 Nick Clifton <nickc@redhat.com>
199
200 PR binutils/18374
201 * dwarf.h (struct dwarf_section): Add reloc_info and num_relocs
202 fields.
203 (struct dwarf_section_display): Change bitfield to boolean.
204 (reloc_at): Add prototype.
205 * dwarf.c (display_loc_list): Ignore list terminators if there are
206 relocs against them.
207 (display_debug_loc): Issue a warning if there are relocs against
208 the .debug_loc section.
209 (display_displays): Initialise reloc_info and num_relocs fields.
210 * objdump.c (load_specific_debug_section): Initialise reloc_info
211 and num_relocs fields.
212 (reloc_at): New function.
213 * readelf.c (is_32bit_abs_reloc): Add IA64's R_IA64_DIS32LSB
214 reloc.
215 (reloc_at): New function.
216 (apply_relocations): Add relocs_return and num_relocs_return
217 parameters. Fill them in with the loaded relocs if non-NULL.
218 (dump_section_as_bytes): Update call to apply_relocations.
219 (load_specific_debug_section): Initialise reloc_info and
220 num_relocs fields.
221
aa9f7286
L
2222015-05-13 H.J. Lu <hongjiu.lu@intel.com>
223
224 * elfedit.c (elf_class): Return ELF_CLASS_BOTH by default.
225
6604eb5f
AK
2262015-05-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
227
228 * MAINTAINERS: Add myself as s390 and s390x maintainer.
229
5b155b95
SK
2302015-05-12 Stephen Kitt <steve@sk2.org>
231
232 * dlltool.c (main): Accept -t as an abbreviation for
233 --temp-prefix.
234
3d875af5
L
2352015-05-11 H.J. Lu <hongjiu.lu@intel.com>
236
237 * dwarf.c (dwarf_regnames_iamcu): New.
238 (init_dwarf_regnames_iamcu): Likewise.
239 (init_dwarf_regnames): Call init_dwarf_regnames_iamcu for EM_IAMCU.
240 * dwarf.h (init_dwarf_regnames_iamcu): New.
241 * objdump.c (dump_dwarf): Call init_dwarf_regnames_iamcu for
242 bfd_arch_iamcu.
243
6c14750f
L
2442015-05-11 H.J. Lu <hongjiu.lu@intel.com>
245
246 * elfedit.c (enum elfclass): New.
247 (input_elf_class): Change type to enum elfclass.
248 (output_elf_class): New.
249 (elf_class): Change return type to enum elfclass. Support EM_386
250 and EM_IAMCU.
251 (update_elf_header): Check if input and output ELF classes match.
252 (elf_machine): Support EM_386 and EM_IAMCU.
253 (main): Update input_elf_class. Set output_elf_class.
254 * doc/binutils.texi: Update elfedit.
255
22abe556
L
2562015-05-11 H.J. Lu <hongjiu.lu@intel.com>
257
258 * dwarf.c (init_dwarf_regnames): Replace EM_486 with EM_IAMCU.
259 * readelf.c (guess_is_rela): Likewise.
260 (dump_relocations): Likewise.
261 (get_machine_name): Likewise.
262 (get_elf_section_flags): Likewise.
263 (process_section_headers): Likewise.
264 (is_32bit_abs_reloc): Likewise.
265 (is_32bit_pcrel_reloc): Likewise.
266
153a2776
NC
2672015-04-30 Nick Clifton <nickc@redhat.com>
268
269 * readelf.c (get_machine_flags): Add description of MeP flags.
270
643f7afb
AK
2712015-04-27 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
272
273 * readelf.c (display_s390_gnu_attribute): New function.
274 (process_s390_specific): New function.
275 (process_arch_specific): Call process_s390_specific.
276
de13ef81
NC
2772015-04-24 Nick Clifton <nickc@redhat.com>
278
279 PR 18313
280 * ieee.c (ieee_read_cxx_class): Initialise the varargs variable.
281 * readelf.c (uncompress_section_contents): Zero initialise the
282 zstream structure.
283
f6fe1ccd
L
2842015-04-23 H.J. Lu <hongjiu.lu@intel.com>
285
286 PR binutils/18209
287 * objcopy.c (setup_section): Copy compress status.
288
ea556d25
L
2892015-04-15 H.J. Lu <hongjiu.lu@intel.com>
290
291 * NEWS: Mention
292 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
293
6ff71e76
NC
2942015-04-14 Nick Clifton <nickc@redhat.com>
295
296 * readelf.c (target_specific_reloc_handling): Add code to handle
297 RL78 complex relocs.
298
0d2a7a93
DE
2992015-04-13 Doug Evans <dje@google.com>
300
301 PR binutils/18218
302 * readelf.c (printable_section_name): Constify sec argument.
303 (apply_relocations): Ditto. New arg "size". All callers updated.
304 (load_specific_debug_section): Constify sec argument.
305 Remove side-effect of modifying sec->sh_size.
306
cd6faa73
L
3072015-04-09 H.J. Lu <hongjiu.lu@intel.com>
308
309 * objcopy.c (do_debug_sections): Use bit patterns.
310 (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib
311 and compress_gabi_zlib on non-ELF input.
312 (copy_file): Don't check non-ELF input here.
313
3525236c
NC
3142015-04-09 Nick Clifton <nickc@redhat.com>
315
316 * readelf.c (get_machine_flags): Report the setting of the string
317 insn using bits.
318
151411f8
L
3192015-04-08 H.J. Lu <hongjiu.lu@intel.com>
320
321 * objcopy.c (do_debug_sections): Add compress_zlib,
322 compress_gnu_zlib and compress_gabi_zlib.
323 (copy_options): Use optional_argument on compress-debug-sections.
324 (copy_usage): Update --compress-debug-sections.
325 (copy_file): Handle compress_zlib, compress_gnu_zlib and
326 compress_gabi_zlib.
327 (copy_main): Handle
328 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
329 * doc/binutils.texi: Document
330 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
331
bfcf0ccd
L
3322015-04-08 H.J. Lu <hongjiu.lu@intel.com>
333
334 * objcopy.c (copy_usage): Replace "--interleave [<number>]" with
335 --interleave[=<number>].
336
77115a4a
L
3372015-04-05 H.J. Lu <hongjiu.lu@intel.com>
338
339 * readelf.c (get_elf_section_flags): Support SHF_COMPRESSED.
340 (get_compression_header): New.
341 (process_section_headers): Dump compression header if needed.
342 (uncompress_section_contents): Don't free compressed_buffer here.
343 (load_specific_debug_section): Free the compressed buffer, update
344 the section buffer and the section size if uncompress is
345 successful.
346
39f3de7c
L
3472015-04-02 H.J. Lu <hongjiu.lu@intel.com>
348
349 * configure: Regenerated.
350
3d5ff620
MF
3512015-04-02 Mike Frysinger <vapier@gentoo.org>
352
353 * MAINTAINERS: Update my e-mail address.
354
afa59b79
L
3552015-04-01 H.J. Lu <hongjiu.lu@intel.com>
356
357 * configure: Regenerated.
358
ed2b5077
L
3592015-03-31 H.J. Lu <hongjiu.lu@intel.com>
360
361 * configure.ac: Revert the AM_ZLIB change.
362 * Makefile.in: Regenerated.
363 * aclocal.m4: Likewise.
364 * configure: Likewise.
365
0ee42ecd
L
3662015-03-31 H.J. Lu <hongjiu.lu@intel.com>
367
368 * Makefile.am (ZLIB): New.
369 (ZLIBINC): Likewise.
370 (AM_CFLAGS): Add $(ZLIBINC).
371 (readelf_LDADD): Add $(ZLIB).
372 * configure.ac (AM_ZLIB): Removed.
373 (zlibdir): New. AC_SUBST.
374 (zlibinc): Likewise.
375 Add --with-system-zlib.
376 * Makefile.in: Regenerated.
377 * config.in: Likewise.
378 * configure: Likewise.
379
1740ba0c
NC
3802015-03-19 Nick Clifton <nickc@redhat.com>
381
382 * readelf.c (get_machine_flags): Decode RL78's G13 and G14 flags.
383
273a4985
JT
3842015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
385 Nick Clifton <nickc@redhat.com>
386
387 PR binutils/18087
388 * doc/binutils.texi: Note that when objcopy compresses debug
389 sections the compression is only performed if it makes the section
390 smaller.
391
5656ba2c
L
3922015-03-10 H.J. Lu <hongjiu.lu@intel.com>
393
394 PR binutils/18101
395 * readelf.c (parse_args): Move nothing to do warning to ...
396 (main): Here.
397
cfad8730
NC
3982015-03-10 Nick Clifton <nickc@redhat.com>
399
b6370efb
NC
400 PR binutils/18101
401 * readelf.c (parse_args): Enhance check for nothing to do by
402 accounting for the --wide option.
403
cfad8730
NC
404 PR binutils/17636
405 * objcopy.c (copy_object): Avoid calling fatal as that does not
406 allow the parent to clean up temporary files.
407
a5721edd
JW
4082015-03-10 Yuri Gribov <y.gribov@samsung.arm>
409
410 PR ld/16572
411 * readelf.c: Remove support for ELF_ARM_HASENTRY.
412
4fd77a3d
NC
4132015-03-05 Nick Clifton <nickc@redhat.com>
414
415 PR binutils/18064
416 * doc/binutils.texi (objcopy): Extend description of
417 --add-gnu-debuglink option to explain that the separate debug info
418 file must exist. Add a description of what to do if the debug
419 info file is built in one place but then installed into a separate
420 location.
421
81fb971a
NC
4222015-03-05 Nick Clifton <nickc@redhat.com>
423
424 PR binutils/17994
425 * dlltool.c (temp_file_to_remove): New local array.
426 (unlink_temp_files): New functions - unlinks any file in the
427 temp_file_to_remove array, unless dotdeltemps is set.
428 (gen_exp_file): Add temp files to array.
429 (make_head): Likewise.
430 (make_delay_head): Likewise.
431 (make_tail): Likewise.
432 (gen_lib_file): Call unlink_temp_files.
433
acf1419f
AB
4342015-02-28 Andrew Burgess <andrew.burgess@embecosm.com>
435
436 * objcopy.c (update_sections): New list.
437 (command_line_switch): Add OPTION_UPDATE_SECTION.
438 (copy_options): Add update-section.
439 (copy_usage): Document new option.
440 (is_update_section): New function.
441 (is_strip_section_1): Add check for attempt to update and remove
442 the same section.
443 (copy_object): Update size and content of requested sections.
444 (skip_section): Don't copy for updated sections.
445 (copy_main): Handle --update-section.
446 * doc/binutils.texi (objcopy): Add description of --update-section
447 option.
448 * NEWS: Mention --update-section option.
449
d93c7787
NC
4502015-02-26 Nick Clifton <nickc@redhat.com>
451
452 PR binutils/17512
453 * coffgrok.c (do_type): Check for an out of range tag index.
454 Check for integer overflow computing array dimension.
455 (do_define): Likewise.
456
06b73f41
AB
4572015-02-26 Andrew Burgess <andrew.burgess@embecosm.com>
458
459 * objcopy.c (init_section_add): Rename optarg to arg in order to
460 avoid shadowing a global variable.
461
e3ee4005
NC
4622015-02-26 Nick Clifton <nickc@redhat.com>
463
464 PR binutils/17512
465 * resrc.c (write_rc_messagetable): Tighten check for invalid
466 message lengths.
467
c8071705
NC
468 * dwarf.c (display_debug_loc): Pacify the undefined behaviour
469 sanitizer by simplifying address difference calculation.
470 (struct Frame_Chunk): Change type of cfa_offset to dwarf_vma in
471 order to avoid arithmetic overflows.
472 (frame_display_row): Cast cfa_offset before printing it.
473 (display_debug_frames): Likewise.
474 Check for an unexpected segment size.
475 Chnage type of 'l' local to dwarf_vma and cast it back to an int
476 when printing.
477 (process_cu_tu_index): Tighten check for an invalid ncols value.
478 * readelf.c (process_corefile_note_segment): Check for
479 inote.descdata extending beyond the end of the section.
480 (process_v850_notes): Likewise.
481
99654aaf
TG
4822015-02-26 Terry Guo <terry.guo@arm.com>
483
484 * readelf.c (arm_attr_tag_ABI_HardFP_use): Update how we
485 display it.
486
7173b38a
AB
4872015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
488
489 * objcopy.c (init_section_add): New function.
490 (section_add_load_file): New function.
491 (copy_main): Make use of new functions.
492
137c83d6
AB
4932015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
494
495 * od-elf32_avr.c: Add elf32-avr.h include.
496 (OPT_AVRPROP): Define.
497 (options[]): Add 'avr-prop' entry.
498 (elf32_avr_help): Add avr-prop help text.
499 (elf32_avr_dump_avr_prop): New function.
500 (elf32_avr_dump): Add check for avr-prop.
501
685080f2
NC
5022015-02-24 Nick Clifton <nickc@redhat.com>
503
504 * readelf.c (get_machine_flags): Remove deprecated V850 machine
505 flags.
506 (get_v850_section_type_name): New function. Handles V850 special
507 sections.
508 (get_section_type_name): Add support for V850.
509 (get_v850_elf_note_type): New function. Returns the name of a
510 V850 note.
511 (print_v850_note): New function. Prints a V850 note.
512 (process_v850_notes): New function. Prints V850 notes.
513 (process_note_sections): Add support for V850.
514
94d15024
MF
5152015-02-24 Mike Frysinger <vapier@gentoo.org>
516
517 PR binutils/17531
518 * readelf.c (process_symbol_table): Declare chained. Increment it
519 in every loop. Abort when chained is larger than nchains. Move
520 error check outside of chain loop.
521
948f632f
DA
5222015-02-24 Dmitry Antipov <dantipov@nvidia.com>
523
524 * readelf.c (find_symbol_for_address): Use a binary search to
525 speed up symbol location. Skip check for function symbol type.
526 (*_unw_aux_info): Add funtab and nfuns fields contains a sorted
527 list of function symbols.
528 (dump_ia64_unwind): Initialise the funtab and nfuns fields and
529 pass them to find_symbol_for_address.
530 (dump_hppa_unwind): Likewise.
531 (arm_print_vma_and_name): Pass funtab to find_symbol_for_address.
532 (dump_arm_unwind): Initialise the funtab and nfuns fields.
533
0821d5b1
NC
5342015-02-24 Nick Clifton <nickc@redhat.com>
535
536 * objdump.c (dump_section): Extend the warning message displayed
537 when a section cannot be loaded.
538
9035ed51
MF
5392015-02-21 Mike Frysinger <vapier@gentoo.org>
540
541 * readelf.c (process_program_headers): Add newline to warning
542 message.
543
4ef9f41a
AA
5442015-02-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
545
546 * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and
547 NT_S390_VXRS_HIGH.
548
951eaaec
NC
5492015-02-13 Nick Clifton <nickc@redhat.com>
550
551 PR binutils/17512
552 * dwarf.c (read_leb128): Fix test for shift becoming too large.
553
554 * coffgrok.c (do_define): Add check for type size overflow.
555 * srconv.c (walk_tree_sfile): Check that enough sections are
556 available before parsing.
557 (prescan): Likewise.
558
ffc0f143
NC
559 PR binutils/17531
560 * dwarf.c (display_debug_aranges): Add check for an excessive
561 ar_length value.
562 (process_cu_tu_index): Check for a row * columns sum being too
563 large.
564
b4eb7656
AM
5652015-02-13 Alan Modra <amodra@gmail.com>
566
567 * dwarf.c: Formatting, whitespace.
568 (process_debug_info): Style fix.
569
0e7f931f
NC
5702015-02-11 Nick Clifton <nickc@redhat.com>
571
572 * rl78-decode.opc: Add 'a' attribute to instructions that support
573 [HL+0] addressing.
574 * rl78-decode.c: Regenerate.
575 * rl78-dis.c (print_insn_rl78): Display the offset in [HL+0]
576 addresses.
577
362beea4
NC
5782015-02-11 Nick Clifton <nickc@redhat.com>
579
580 PR binutils/17531
581 * dwarf.c (display_debug_pubnames_worker): Work around compiler
582 bug checking address ranges.
583 (display_debug_frames): Likewise.
584 (display_gdb_index): Likewise.
585 (process_cu_tu_index): Add range check on the ncols value.
586
77ef8654
NC
5872015-02-10 Nick Clifton <nickc@redhat.com>
588
589 PR binutils/17512
590 * dwarf.c (eh_addr_size): Use an unsigned type.
591 (size_of_encoded_value): Return an unsigned type.
592 (read_leb128): Break if the shift becomes too big.
593 (process_extended_line_op): Do not read the address if the length
594 is too long.
595 (read_cie): Warn and fail if the pointer size or segment size are
596 too big.
597 * dwarf.h (DWARF2_External_LineInfo): Delete unused and incorrect
598 structure definition.
599 (DWARF2_External_PubNames): Likewise.
600 (DWARF2_External_CompUnit): Likewise.
601 (DWARF2_External_ARange): Likewise.
602 (DWARF2_Internal_LineInfo): Use dwarf_vma type for
603 li_prologue_length.
604 (eh_addr_size): Update prototype.
605
03a91817
NC
606 PR binutils/17531
607 * dwarf.c (process_debug_info): Zero the debug information array
608 since correct initialisation cannot be relied upon.
609 (process_cu_tu_index): Improve range checks.
610
834f871c
NC
611 PR binutils/17531
612 * dwarf.c (display_debug_pubnames_worker): Use dwarf_vma type for
613 offset.
614 * readelf.c (dump_relocations): Handle printing offsets which are
615 MIN_INT.
616 (process_corefile_note_segment): Add range check of the namesz
617 field.
618
5a195044
MW
6192015-02-09 Mark Wielaard <mjw@redhat.com>
620
621 * dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03
622 and DW_LANG_Fortran08.
623
5929c344
NC
6242015-02-06 Nick Clifton <nickc@redhat.com>
625
626 PR binutils/17512
627 * dwarf.c (display_debug_frames): Fix range checks to work on
628 32-bit binaries complied on a 64-bit host.
629
8490fb40
NC
630 PR binutils/17531
631 * dwarf.c (xcmalloc): Fail if the arguments are too big.
632 (xcrealloc): Likewise.
633 (xcalloc2): Likewise.
55325047
NC
634 * readelf.c (process_mips_specific): Fail if an option has an
635 invalid size.
8490fb40 636
7cc78d07
AM
6372015-02-05 Alan Modra <amodra@gmail.com>
638
639 PR binutils/17926
640 * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
641
f3853b34
NC
6422015-02-04 Nick Clifton <nickc@redhat.com>
643
644 PR binutils/17531
645 * dwarf.c (read_and_display_attr_value): Test for a block length
646 being so long that it wraps around to before the start of the block.
647 (process_debug_info): Test for section_begin wrapping around to
648 before the start of the section.
649 (display_gdb_index): Test for num_cus being so large that the end
650 address wraps around to before the start of the section.
651 (process_cu_tu_index): Test for j being so large that the section
652 index pool wraps around to before the start of the section.
653
57028622
NC
6542015-02-03 Nick Clifton <nickc@redhat.com>
655
656 PR binutils/17531
657 * dwarf.c (process_debug_info): Add range check.
658 (display_debug_pubnames_worker): Likewise.
659 (display_gdb_index): Fix range check.
660 (process_cu_tu_index): Add range check.
661 * readelf.c (get_data): Change parameter types from size_t to
662 bfd_size_type. Add checks for loss of accuracy when casting from
663 bfd_size_type to size_t.
664 (get_dynamic_data): Likewise.
665 (process_section_groups): Limit number of error messages.
666
64d29018
NC
6672015-02-03 Nick Clifton <nickc@redhat.com>
668
669 PR binutils/17512
670 * objdump.c (display_any_bfd): Fail if archives nest too deeply.
671
3f8107ab
AM
6722015-01-28 James Bowman <james.bowman@ftdichip.com>
673
674 * readelf.c: Add FT32 support.
675
37e3922e
NC
6762015-01-27 Nick Clifton <nickc@redhat.com>
677
678 PR binutils/17512
679 * dlltool.c (identify_search_archive): If the last archive was the
680 same as the current archive, terminate the loop.
681
877a8638
NC
682 * addr2line.c (slurp_symtab): If the symcount is zero, free the
683 symbol table pointer.
684
0897ec15
NC
685 * rcparse.y: Add checks to avoid integer divide by zero.
686 * rescoff.c (read_coff_rsrc): Add check on the size of the
687 resource section.
688 (read_coff_res_dir): Add check on the nesting level.
689 Check for resource names overrunning the buffer.
690 * resrc.c (write_rc_messagetable): Update formatting.
691 Add check of 'elen' being zero.
692
bb97bdd7
NC
6932015-01-23 Nick Clifton <nickc@redhat.com>
694
695 * nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced
696 by recent delta, when compiling on for a 32-bit host.
697
86eafac0
NC
6982015-01-21 Nick Clifton <nickc@redhat.com>
699
700 PR binutils/17512
701 * addr2line.c (main): Call bfd_set_error_program_name.
702 * ar.c (main): Likewise.
703 * coffdump.c (main): Likewise.
704 * cxxfilt.c (main): Likewise.
705 * dlltool.c (main): Likewise.
706 * nlmconv.c (main): Likewise.
707 * nm.c (main): Likewise.
708 * objdump.c (main): Likewise.
709 * size.c (main): Likewise.
710 * srconv.c (main): Likewise.
711 * strings.c (main): Likewise.
712 * sysdump.c (main): Likewise.
713 * windmc.c (main): Likewise.
714 * windres.c (main): Likewise.
715 * objcopy.c (main): Likewise.
716 (copy_relocations_in_section): Check for relocs without associated
717 symbol pointers.
718
6c1965f9
RR
7192015-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
720
721 * MAINTAINERS: Add self to ARM maintainers list.
722
5b7d6237
NC
7232015-01-21 Nick Clifton <nickc@redhat.com>
724
725 PR binutils/17512
726 * coffgrok.c (do_type): Check that computed ref exists.
727 (doit): Add range checks when computing section for scope.
728
a0a3b04c
L
7292015-01-12 H.J. Lu <hongjiu.lu@intel.com>
730
731 * dwarf.c (process_debug_info): Properly check abbrev size.
732
72c61a0d
NC
7332015-01-12 Nick Clifton <nickc@redhat.com>
734
735 PR binutils/17531
736 * dwarf.c (process_debug_info): Check for abbrev_base being larger
737 than the section size.
738 (process_cu_tu_index): Use xcalloc2 to allocate the CU and TU
739 arrays.
740 (xcalloc2): New function. Like xcalloc, but checks for overflow.
1306a742
NC
741 (display_debug_addr): Use xcalloc to allocate the debug_addr_info
742 array. Check for an address_base that is too large.
743
72c61a0d
NC
744 * dwarf.h (xcalloc2): Prototype.
745
b38ead21
AM
7462015-01-12 Alan Modra <amodra@gmail.com>
747
748 * prdbg.c (print_debugging_info): Don't use void* for function
749 pointer param.
750 * budbg.h (print_debugging_info): Update prototype.
751
3565cf8f
NC
7522015-01-08 Nick Clifton <nickc@redhat.com>
753
754 PR binutils/17512
063bb025
NC
755 * ojcopy.c (copy_object): Free the symbol table if no symbols
756 could be loaded.
757 (copy_file): Use bfd_close_all_done to close files that could not
758 be copied.
759
848cde35
NC
760 * sysdump.c (getINT): Fail if reading off the end of the buffer.
761 Replace call to abort with a call to fatal.
762 (getCHARS): Prevetn reading off the end of the buffer.
763
3565cf8f
NC
764 * nlmconv.c (i386_mangle_relocs): Skip relocs without an
765 associated symbol.
766 (powerpc_mangle_relocs): Skip unrecognised relocs. Check address
767 range before applying a reloc.
768
c88f5b8e
NC
7692015-01-07 Nick Clifton <nickc@redhat.com>
770
771 PR binutils/17512
d7b24d29
NC
772 * dlltool.c (scan_obj_file): Break loop if the last archive
773 displayed matches the current archive.
774
c88f5b8e
NC
775 * objdump.c (display_any_bfd): Add a depth limit to nested archive
776 display in order to avoid infinite loops.
777 * srconv.c: Replace calls to abort with calls to fatal with an
778 error message.
779
85880250
NC
7802015-01-06 Nick Clifton <nickc@redhat.com>
781
782 PR binutils/17512
783 * coffdump.c (dump_coff_section): Check for a symbol being
784 available before printing its name.
785 (main): Check the return value from coff_grok.
786 * coffgrok.c: Reformat and tidy.
787 Add range checks to most functions.
788 (coff_grok): Return NULL if the input bfd is not in a COFF
789 format.
790 * coffgrok.h: Reformat and tidy.
791 (struct coff_section): Change the nrelocs field to unsigned.
792 * srconv.c (main): Check the return value from coff_grok.
793
896ca098
NC
7942015-01-05 Nick Clifton <nickc@redhat.com>
795
796 PR binutils/17512
797 * nm.c (print_symbol): Add 'is_synthetic' parameter. Use it to
798 help initialize the info.elfinfo field.
799 (print_size_symbols): Add 'synth_count' parameter. Use it to set
800 the is_synthetic parameter when calling print_symbol.
801 (print_symbols): Likewise.
802 (display_rel_file): Pass synth_count to printing function.
803 (display_archive): Break loop if the last archive displayed
804 matches the current archive.
805 * size.c (display_archive): Likewise.
806
82b1b41b
NC
8072015-01-05 Nick Clifton <nickc@redhat.com>
808
809 PR binutils/17531
810 * dwarf.c (alloc_num_debug_info_entries): New variable.
811 (process_debug_info): Set it. Use it to avoid displaying
812 attributes for which there is no info.
813 (display_debug_abbrev): Check that the debug_info_entry index is
814 valid before using it.
815 (display_loc_list_dwo): Likewise.
816 (process_cu_tu_index): Add range check for an overlarge dw_sect
817 value.
818 (free_debug_memory): Reset alloc_num_debug_info_entries.
819 * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
820 be indentified.
821 (dynamic_section_mips_val): Warn if the timestamp is invalid.
822 (print_mips_got_entry): Add a data_end parameter. Warn if a read
823 would go beyond the end of the data, and return an error value.
824 (process_mips_specific): Do not read options from beyond the end
825 of the section.
826 Correct code to display optional data at the end of an option.
827 Warn if there are too many GOT symbols.
828 Update calls to print_mips_got_entry, and handle error returns.
829
c1724c7f
DK
8302015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
831
832 PR binutils/17489
833 * doc/binutils.texi (dlltool): Correct description of --kill-at
834 option.
835
efd321f9
AM
8362015-01-01 Alan Modra <amodra@gmail.com>
837
838 * version.c (print_version): Just print current year.
839
b90efa5b 8402015-01-01 Alan Modra <amodra@gmail.com>
5c294fee 841
b90efa5b 842 Update year range in copyright notice of all files.
5c294fee 843
b90efa5b 844For older changes see ChangeLog-2014
252b5132 845\f
b90efa5b 846Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
847
848Copying and distribution of this file, with or without modification,
849are permitted in any medium without royalty provided the copyright
850notice and this notice are preserved.
851
252b5132
RH
852Local Variables:
853mode: change-log
854left-margin: 8
855fill-column: 74
856version-control: never
857End:
This page took 0.647897 seconds and 4 git commands to generate.