MIPS16: Remove unused `>' operand code
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2016-12-09 Maciej W. Rozycki <macro@imgtec.com>
2
3 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
4 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
5 source.
6 * testsuite/binutils-all/mips/mips.exp: Run the new test.
7
8 2016-12-08 Maciej W. Rozycki <macro@imgtec.com>
9
10 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
11 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
12 * testsuite/binutils-all/mips/mips.exp: Run the new test.
13
14 2016-12-08 Étienne Buira <etienne.buira@gmail.com>
15
16 * readelf.c (process_program_headers): Always use hex prefix when
17 displaying the segment alignment.
18
19 2016-12-06 Nick Clifton <nickc@redhat.com>
20
21 PR binutils/20930
22 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
23 symbol pointer pointer before attempting to mark the symbol as
24 kept.
25
26 2016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
27
28 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
29
30 2016-12-05 Nick Clifton <nickc@redhat.com>
31
32 PR ld/20923
33 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
34 symbol pointer before attempting to mark the symbol as kept.
35
36 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
37
38 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
39 is synthetic.
40
41 2016-11-30 Nick Clifton <nickc@redhat.com>
42
43 PR ld/20815
44 * readelf.c (process_program_headers): Do not warn about out of
45 order PT_LOAD segments.
46
47 2016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
48
49 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
50 test.
51
52 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
53
54 * dwarf.c: Fix spelling in comments.
55 * dwarf.h: Fix spelling in comments.
56 * objcopy.c: Fix spelling in comments.
57 * od-macho.c: Fix spelling in comments.
58 * rclex.c: Fix spelling in comments.
59 * readelf.c: Fix spelling in comments.
60 * stabs.c: Fix spelling in comments.
61
62 2016-11-23 Nick Clifton <nickc@redhat.com>
63
64 PR ld/20815
65 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
66 segments for validity.
67
68 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
69
70 * configure: Regenerate.
71
72 2016-11-22 Alan Modra <amodra@gmail.com>
73
74 PR 20744
75 * NEWS: Mention PowerPC VLE relocation error.
76
77 2016-11-16 Mark Wielaard <mark@klomp.org>
78
79 * cxxfilt.c (main): Recognize rust_demangling.
80
81 2016-11-14 Rudy <jacky.chouchou@yandex.ru>
82
83 PR binutils/20814
84 * dlltool.c (struct export): Remove hint field.
85 (make_one_lib_file): Store the ordinal value for IDATA6 not the
86 hint.
87 (gen_lib_file): Delete reference to hint field.
88 (mangle_defs): Delete computation of hint field.
89
90 2016-11-11 Nick Clifton <nickc@redhat.com>
91
92 PR binutils/20751
93 * nm.c (with_symbol_versions): New local variable.
94 (long_options): Add --with-symbol-versions.
95 (usage): Mention --with-symbol-versions.
96 (print_symbol): If with_symbol_versions is set then display the
97 version information associated with the symbol.
98 * NEWS: Mention the new feature.
99 * doc/binutils.texi (nm): Document the new option.
100 (objdump): Describe how symbol version information is displayed
101 for dynamic symbol dumps.
102 (readelf): Describe how symbol version information is displayed.
103 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
104
105 2016-11-08 Nick Clifton <nickc@redhat.com>
106
107 PR binutils/20794
108 * readelf.c (process_section_headers): Fix off-by-one error when
109 checking for invalid sh_link and sh_info fields.
110
111 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
112
113 * objcopy.c (copy_section): Add extra calls to free for error
114 paths.
115
116 2016-11-04 Tom Tromey <tom@tromey.com>
117
118 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
119 version number.
120
121 2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
122
123 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
124 the RISC-V target.
125
126 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
127 Andrew Waterman <andrew@sifive.com>
128
129 Add support for RISC-V architecture.
130 * readelf.c (guess_is_rela): Add EM_RISCV.
131 (get_machine_name): Likewise.
132 (dump_relocations): Add support for riscv relocations.
133 (get_machine_flags): Add support for riscv flags.
134 (is_32bit_abs_reloc): Add R_RISCV_32.
135 (is_64bit_abs_reloc): Add R_RISCV_64.
136 (is_none_reloc): Add R_RISCV_NONE.
137 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
138 Expect the debug_ranges test to fail.
139
140 2016-10-17 Nick Clifton <nickc@redhat.com>
141
142 * readelf.c (apply_relocations): Fail if the symbol table section
143 linked to by the reloc section does not have either the SHT_SYMTAB
144 or SHT_DYNSYM type.
145 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
146 Print the contents of unknown note types.
147 (process_note): Add the file and section to the parameter list.
148 Use print_symbol to display the note name.
149 Display the contents of unknown note types.
150 (process_corefile_note_segment): Rename to process_notes_at.
151 Add section parameter. Apply relocations to the notes when
152 loading from a section. Display section name when processing
153 notes in a section.
154 * testsuite/binutils-all/readelf.n: Update expected output.
155
156 2016-10-17 Nick Clifton <nickc@redhat.com>
157
158 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
159 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
160 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
161 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
162 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
163 EM_Z80, EM_AMDGPU, EM_RISCV.
164 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
165 (get_group_flags): Update to handle flags in the
166 GRP_MASKOS and GRP_MASKPROC ranges.
167
168 2016-10-14 Luis Machado <lgustavo@codesourcery.com>
169
170 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
171 to copy file to remote host.
172
173 2016-10-11 Nick Clifton <nickc@redhat.com>
174
175 * objdump.c (is_significant_symbol_name): New function.
176 (remove_useless_symbols): Do not remove significanr symbols.
177 (find_symbol_for_address): If an exact match for the specified
178 address has not been found, try scanning the dynamic relocs to see
179 if one of these matches the address. If so, use the symbol
180 associated with the reloc.
181 (objdump_print_addr_with_symbol): Do not print offsets to symbols
182 with no value.
183 (disassemble_section): Only use dynamic relocs if the user
184 requested this.
185 (disassemble_data): Always load dynamic relocs if they are
186 available.
187
188 2016-10-06 Alan Modra <amodra@gmail.com>
189
190 * dlltool.c: Spell fall through comments consistently.
191 * objcopy.c: Likewise.
192 * readelf.c: Likewise.
193 * dwarf.c: Add missing fall through comments.
194 * elfcomm.c: Likewise.
195 * sysinfo.y: Likewise.
196 * readelf.c: Likewise. Also remove extraneous comments.
197
198 2016-10-06 Alan Modra <amodra@gmail.com>
199
200 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
201 * elfedit.c (usage): Likewise.
202 * nm.c (usage): Likewise.
203 * objcopy.c (copy_usage, strip_usage): Likewise.
204 * srconv.c (show_usage): Likewise.
205 * strings.c (usage): Likewise.
206 * sysdump.c (show_usage): Likewise.
207 * srconv.c: Remove unneeded forward function declarations.
208 * strings.c: Likewise.
209 * sysdump.c: Likewise.
210
211 2016-10-06 Alan Modra <amodra@gmail.com>
212
213 * coffdump.c (dump_coff_where): Add missing break.
214 * stabs.c (stab_xcoff_builtin_type): Likewise.
215
216 2016-09-29 Alan Modra <amodra@gmail.com>
217
218 * readelf.c (process_arch_specific): Call process_power_specific
219 for EM_PPC64.
220
221 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
222
223 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
224 when building with CC_FOR_BUILD compiler.
225 * Makefile.in: Regenerate.
226 * configure: Likewise.
227 * doc/Makefile.in: Likewise.
228
229 2016-09-26 Alan Modra <amodra@gmail.com>
230
231 * readelf.c (display_power_gnu_attribute): Catch truncated section
232 for all powerpc attributes. Display long double ABI. Don't
233 capitalize words, except for names. Show known bits of tag values
234 when some unknown bits are present. Whitespace fixes.
235
236 2016-09-26 Alan Modra <amodra@gmail.com>
237
238 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
239 strings, use asprintf instead.
240 (get_coff_symbol_type): Likewise.
241
242 2016-09-19 Alan Modra <amodra@gmail.com>
243
244 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
245 instead.
246 (print_size_symbols, print_symbols): Adjust to suit, deleting
247 now unused synth_count param and fromsynth var.
248 (display_rel_file): Adjust, localizing synth_count.
249
250 2016-09-14 Ed Maste <emaste@freebsd.org>
251
252 * readelf.c (process_mips_specific): Fix typo in error message.
253
254 2016-09-06 Nick Clifton <nickc@redhat.com>
255
256 * readelf.c (request_dump_bynumber): Only call memcpy if
257 dump_sects is not NULL.
258
259 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
260
261 * readelf.c (load_specific_debug_section): Check the external
262 compression header size.
263
264 2016-08-19 Nick Clifton <nickc@redhat.com>
265
266 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
267 sections.
268 * testsuite/binutils-all/readelf.s-64: Likewise.
269
270 2016-08-12 Nick Clifton <nickc@redhat.com>
271
272 * readelf.c (process_symbol_table): Generate a warning if a local
273 symbol is found at and offste greater than or equal to the sh_info
274 field of it's section header.
275
276 2016-08-08 Nick Clifton <nickc@redhat.com>
277
278 PR binutils/20440
279 * dwarf.c (display_debug_lines_decoded): Add checks for running
280 off the end of the section when populating the directory table and
281 file table.
282 (frame_display_row): Set max_regs equal to ncols.
283 * readelf.c (load_specific_debug_section): If the section is
284 compressed, but it is not big enough to hold a compression
285 header then warn and return 0.
286
287 PR binutils/20439
288 * dwarf.c (display_debug_lines_decoded): Check directory and file
289 indicies before using them to access directory and file tables.
290
291 2016-08-02 Nick Clifton <nickc@redhat.com>
292
293 PR binutils/17512
294 * resbin.c (bin_to_res_version): Cast variables to correct type
295 for printing in error message.
296
297 2016-07-28 Nick Clifton <nickc@redhat.com>
298
299 PR binutils/17512
300 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
301 * resbin.c (bin_to_res_version): Allow for the padded length of a
302 version block to be longer than the recorded length. Skip padding
303 bytes.
304
305 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
306
307 * configure: Regenerated.
308
309 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
310
311 * doc/binutils.texi (objdump): Add ARC disassembler options.
312 * testsuite/binutils-all/arc/dsp.s: New file.
313 * testsuite/binutils-all/arc/objdump.exp: Likewise.
314 * NEWS: Mention the new feature.
315
316 2016-07-20 Nick Clifton <nickc@redhat.com>
317
318 * doc/binutils.texi (objcopy): Note that the localize symbol
319 options do not affect unique symbols.
320
321 2016-07-16 Alan Modra <amodra@gmail.com>
322
323 * ar.c: Include plugin-api.h.
324 * nm.c: Likewise.
325
326 2016-07-16 Alan Modra <amodra@gmail.com>
327
328 * bucomm.c: Don't include libbfd.h.
329 (endian_string, display_target_list): Delete forward declaration.
330 (display_info_table, display_target_tables): Likewise.
331 (LONGEST_ARCH): Delete.
332 (struct display_target): New.
333 (do_display_target): New function.
334 (display_target_list, display_info): Rewrite functions.
335 (display_info_table): Delete.
336 (do_info_size, do_info_header, do_info_row): New functions.
337
338 2016-07-16 Alan Modra <amodra@gmail.com>
339
340 * elfcomm.h (HOST_WIDEST_INT): Move to..
341 * sysdep.h: ..here.
342 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
343 (dump_dyld_info_rebase): Use read_leb128 rather than
344 read_unsigned_leb128.
345 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
346 (dump_segment_split_info): Likewise.
347 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
348 (dump_load_command): Likewise.
349
350 2016-07-16 Alan Modra <amodra@gmail.com>
351
352 * ar.c: Don't include libbfd.h.
353 * objcopy.c: Likewise.
354 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
355 bfd_malloc.
356
357 2016-07-15 Alan Modra <amodra@gmail.com>
358
359 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
360
361 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
362
363 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
364 (strip): Likewise.
365 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
366 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
367 (struct option strip_options): Add 'remove-relocations'.
368 (struct option copy_options): Likewise.
369 (copy_usage): Likewise.
370 (strip_usage): Likewise.
371 (handle_remove_relocations_option): New function.
372 (discard_relocations): New function.
373 (handle_remove_section_option): New function.
374 (copy_relocations_in_section): Use discard_relocations.
375 (strip_main): Use handle_remove_section_option for
376 'remove-section', and handle 'remove-relocations' option.
377 (copy_main): Likewise.
378 * testsuite/binutils-all/objcopy.exp: Run new tests.
379 * testsuite/binutils-all/remove-relocs-01.d: New file.
380 * testsuite/binutils-all/remove-relocs-01.s: New file.
381 * testsuite/binutils-all/remove-relocs-02.d: New file.
382 * testsuite/binutils-all/remove-relocs-03.d: New file.
383 * testsuite/binutils-all/remove-relocs-04.d: New file.
384 * testsuite/binutils-all/remove-relocs-05.d: New file.
385 * testsuite/binutils-all/remove-relocs-06.d: New file.
386 * NEWS: Mention new option.
387
388 2016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
389
390 * objcopy.c (find_section_list): Handle section patterns starting
391 with '!' being a non-matching pattern.
392 * doc/binutils.texi (objcopy): Give example of using '!' with
393 --remove-section and --only-section.
394 (strip): Give example of using '!' with --remove-section.
395 * testsuite/binutils-all/data-sections.s: New file.
396 * testsuite/binutils-all/only-section-01.d: New file.
397 * testsuite/binutils-all/remove-section-01.d: New file.
398 * testsuite/binutils-all/objcopy.exp: Run new tests.
399 * NEWS: Mention new feature.
400
401 2016-07-09 Alan Modra <amodra@gmail.com>
402
403 PR binutils/20337
404 * objdump.c (compare_symbols): For ELF, sort same value/type
405 symbols according to size.
406
407 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
408
409 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
410 to SEC_ELF_NOREAD.
411 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
412 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
413 (process_section_headers): Rename noread to purecode.
414
415 * section.c (SEC_ELF_NOREAD): Rename to ...
416 (SEC_ELF_PURECODE): ... this.
417
418 2016-07-01 Nick Clifton <nickc@redhat.com>
419
420 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
421 extremely large decimal value.
422 (pr_range_type): Likewise.
423 (pr_array_type): Likewise.
424 (pr_struct_field): Likewise.
425 (pr_class_baseclass): Likewise.
426 (pr_class_method_variant): Likewise.
427 (pr_tag_type): Likewise.
428 (pr_int_constant): Likewise.
429 (pr_typed_constant): Likewise.
430 (pr_variable): Likewise.
431 (pr_function_parameter): Likewise.
432 (pr_start_block): Likewise.
433 (pr_lineno): Likewise.
434 (pr_end_block): Likewise.
435 (tg_enum_type): Likewise.
436 (tg_int_constant): Likewise.
437 (tg_typed_constant): Likewise.
438 (tg_start_block): Likewise.
439
440 2016-07-01 Nick Clifton <nickc@redhat.com>
441
442 * testsuite/binutils-all/objcopy.exp
443 (objcopy_test_without_global_symbol): Expect this test to fail on
444 the AArch64 and ARM targets, since they preserve their mapping
445 symbols.
446
447 2016-07-01 Tristan Gingold <gingold@adacore.com>
448
449 * NEWS: Add marker for 2.27.
450
451 2016-07-30 Tristan Gingold <gingold@adacore.com>
452
453 * doc/binutils.texi (objdump): Fix mis-placement.
454
455 2016-06-28 Nick Clifton <nickc@redhat.com>
456
457 * testsuite/binutils-all/ar.exp: Relax previous restriction on
458 Alpha targets. Allow ELF based Alpha targets.
459
460 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
461
462 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
463 the `unique_symbol' test.
464
465 2016-06-28 Alan Modra <amodra@gmail.com>
466
467 PR 20304
468 * objdump.c (objdump_print_symname): Don't attempt to retrieve
469 version info from synthetic symbols.
470
471 2016-06-24 Alan Modra <amodra@gmail.com>
472
473 * objcopy.c (find_section_rename): Forward declare. Remove
474 ibfd and sec_ptr param. Add old_name param. Allow for NULL
475 returned_flags. Move read of section name and flags to..
476 (setup_section): ..here. Update find_section_rename call.
477 (filter_symbols): Rename section symbols for renamed sections.
478 (copy_object): Call filter_symbols when renamed sections.
479 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
480 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
481 mips xfail.
482 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
483 is_bad_symtab.
484 (localize-hidden-1): xfail if is_bad_symtab.
485 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
486 between mips/tmips.
487
488 2016-06-24 Alan Modra <amodra@gmail.com>
489
490 * objdump.c (struct print_file_list): Add "max_printed".
491 (try_print_file_open): Init new field.
492 (show_line): Don't show 5 context lines when redisplaying source.
493
494 2016-06-22 Nick Clifton <nickc@redhat.com>
495
496 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
497 Skip bfdtest1 tests for tic30 target.
498 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
499 target.
500 * testsuite/binutils-all/compress.exp: Expect some tests to fail
501 on the nds32.
502 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
503 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
504 targets.
505 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
506 targets.
507 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
508 if the bintest.o file was created. Use the
509 get_standard_section_names proc to get the name of the data
510 section.
511 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
512 RX section names.
513 * testsuite/binutils-all/readelf.exp: Use
514 get_standard_section_names proc to get the name of the data
515 section.
516 * testsuite/binutils-all/readelf.r: Allow for non standard text
517 section names.
518 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
519 * testsuite/binutils-all/size.exp: Allow for non standard section
520 names.
521 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
522 to fail on mips targets.
523 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
524 get_standard_section_names proc.
525 (run_dump_test): Likewise.
526 (proc get_standard_section_names): New proc.
527
528 2016-06-22 Nick Clifton <nickc@redhat.com>
529
530 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
531 (process_mips_specific): Likewise.
532 (process_gnu_liblist): Likewise.
533
534 2016-06-21 Graham Markall <graham.markall@embecosm.com>
535
536 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
537 case.
538
539 2016-06-15 Nick Clifton <nickc@redhat.com>
540
541 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
542 reloc.
543
544 2016-06-14 John Baldwin <jhb@FreeBSD.org>
545
546 * objcopy.c (do_elf_stt_common): Use correct type.
547
548 2016-06-14 Alan Modra <amodra@gmail.com>
549
550 * ar.c: Expand uses of bfd_my_archive.
551 * size.c: Likewise.
552
553 2016-06-14 Alan Modra <amodra@gmail.com>
554
555 PR ld/20241
556 * bucomm.c (bfd_get_archive_filename): Return file name within thin
557 archive.
558
559 2016-06-02 Nick Clifton <nickc@redhat.com>
560
561 PR 20089
562 * objcopy.c (group_signature): Fail if the input symbol table has
563 not been loaded, or if the sh_info field of the group header is 0.
564
565 * dwarf.c (display_debug_frames): Do not display any
566 interpretation if the block consists solely of DW__CFA_NOPs.
567
568 2016-05-31 Alan Modra <amodra@gmail.com>
569
570 * objcopy.c: Formatting, whitespace throughout.
571 (copy_main): Init newsym->othersym.
572 (parse_symflags): Make len a size_t. Adjust uses.
573
574 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
575
576 PR binutils/14625
577 * NEWS: Mention --enable-64-bit-archive.
578
579 2016-05-18 Nick Clifton <nickc@redhat.com>
580
581 PR 20096
582 * objcopy.c (copy_relocations_in_section): Also check for the
583 symbol pointed to by sym_ptr_ptr being NULL.
584
585 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
586
587 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
588 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
589 source.
590 * testsuite/binutils-all/mips/mips.exp: Run the new test.
591
592 2016-05-18 Nick Clifton <nickc@redhat.com>
593
594 * po/sv.po: Updated Swedish translation.
595
596 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
597
598 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
599 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
600 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
601 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
602 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
603 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
604 `d_val' rather than `d_ptr' member of the dynamic entry.
605
606 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
607
608 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
609 procedure.
610 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
611 with the `strip-10' test.
612
613 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
614
615 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
616 test for the V850.
617
618 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
619
620 * readelf.c (print_mips_ases): Add DSPR3.
621
622 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
623
624 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
625 (arm_attr_public_tags): Define DSP_extension attribute.
626
627 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
628
629 * doc/binutils.texi (nm): Update description of --size-sort.
630
631 2016-05-09 Nick Clifton <nickc@redhat.com>
632
633 PR binutils/20063
634 * readelf.c (get_32bit_section_headers): Warn if an out of range
635 sh_link or sh_info field is encountered.
636 (get_64bit_section_headers): Likewise.
637
638 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
639
640 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
641
642 2016-05-03 Nick Clifton <nickc@redhat.com>
643
644 * po/sv.po: Updated Swedish translation.
645
646 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
647
648 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
649 PC relocation for AVR target.
650 (is_none_reloc): Return true if reloc is any of AVR diff
651 relocations.
652
653 2016-04-29 Nick Clifton <nickc@redhat.com>
654
655 PR 19938
656 * readelf.c (get_solaris_segment_type): New function.
657 (get_segment_type): Call it.
658
659 2016-04-28 Nick Clifton <nickc@redhat.com>
660
661 * po/zh_CN.po: Updated Chinese (simplified) translation.
662
663 2016-04-28 Nick Clifton <nickc@redhat.com>
664
665 PR target/19722
666 * testsuite/binutils-all/aarch64/illegal.s: New test.
667 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
668
669 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
670
671 * resres.c: Likewise.
672
673 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
674
675 * Makefile.in: Regenerated with automake 1.11.6.
676 * aclocal.m4: Likewise.
677 * doc/Makefile.in: Likewise.
678
679 2016-04-14 Nick Clifton <nickc@redhat.com>
680
681 PR target/19938
682 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
683 string sections possibly having the SHF_STRINGS flag bit set.
684 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
685 * testsuite/binutils-all/readelf.s: Likewise.
686 * testsuite/binutils-all/readelf.s-64: Likewise.
687 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
688 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
689
690 2016-04-13 Nick Clifton <nickc@redhat.com>
691
692 PR target/19938
693 * readelf.c (get_solaris_section_type): New function: Returns the
694 name of Solaris specific section types.
695 (get_solaris_dynamic_type): New function: Return the name of
696 Solaris specific dynamic types.
697 (get_dynamic_type): Use get_solaris_dynamic_type.
698 (get_section_type_name): Use get_solaris_section_type.
699 (get_solaris_symbol_visibility): New function: Returns Solaris
700 specific symbol visibilities.
701 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
702 (process_symbol_table): Likewise.
703
704 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
705
706 * dwarf.h (init_dwarf_regnames_s390): Declare.
707 * dwarf.c (dwarf_regnames_s390): New.
708 (init_dwarf_regnames_s390): New.
709 (init_dwarf_regnames): Call it.
710 * objdump.c (dump_dwarf): Likewise.
711
712 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
713
714 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
715 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
716 source.
717 * testsuite/binutils-all/mips/mips.exp: Run the new test.
718
719 2016-04-04 Nick Clifton <nickc@redhat.com>
720
721 PR 19872
722 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
723 version number if the version is zero.
724
725 2016-03-29 Alan Modra <amodra@gmail.com>
726
727 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
728 (get_dynamic_data): Likewise.
729
730 2016-03-22 Nick Clifton <nickc@redhat.com>
731
732 PR 19851
733 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
734 with run time size check.
735
736 * configure: Regenerate.
737
738 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
739
740 * readelf.c (decode_ARC_machine_flags): Handle nps400.
741
742 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
743
744 * readelf.c (get_machine_flags): Move arc processing into...
745 (decode_ARC_machine_flags): ... new function. Remove use of
746 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
747 "unknown arc". Merged ABI printing between two machine types.
748
749 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
750
751 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
752 to the architecture list.
753
754 2016-03-21 Nick Clifton <nickc@redhat.com>
755
756 * dlltool.c: Replace use of alloca with call to xmalloc.
757 * dllwrap.c: Likewise.
758 * nlmconv.c: Likewise.
759 * objdump.c: Likewise.
760 * resrc.c: Likewise.
761 * winduni.c: Likewise.
762 * configure: Regenerate.
763
764 2016-03-07 Nick Clifton <nickc@redhat.com>
765
766 PR binutils/19775
767 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
768 Run the new proc.
769 * testsuite/binutils-all/empty: New, empty, file.
770
771 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
772
773 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
774
775 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
776
777 PR ld/19645
778 * NEWS: Mention --elf-stt-common= for objcopy.
779 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
780 * objcopy.c (do_elf_stt_common): New.
781 (command_line_switch): Add OPTION_ELF_STT_COMMON.
782 (copy_options): Add --elf-stt-common=.
783 (copy_usage): Add --elf-stt-common=.
784 (copy_object): Also check do_elf_stt_common for ELF targets.
785 (copy_file): Handle do_elf_stt_common.
786 (copy_main): Handle OPTION_ELF_STT_COMMON.
787 * readelf.c (apply_relocations): Support STT_COMMON.
788 * testsuite/binutils-all/common-1.s: New file.
789 * testsuite/binutils-all/common-1a.d: Likewise.
790 * testsuite/binutils-all/common-1b.d: Likewise.
791 * testsuite/binutils-all/common-1c.d: Likewise.
792 * testsuite/binutils-all/common-1d.d: Likewise.
793 * testsuite/binutils-all/common-1e.d: Likewise.
794 * testsuite/binutils-all/common-1f.d: Likewise.
795 * testsuite/binutils-all/common-2.s: Likewise.
796 * testsuite/binutils-all/common-2a.d: Likewise.
797 * testsuite/binutils-all/common-2b.d: Likewise.
798 * testsuite/binutils-all/common-2c.d: Likewise.
799 * testsuite/binutils-all/common-2d.d: Likewise.
800 * testsuite/binutils-all/common-2e.d: Likewise.
801 * testsuite/binutils-all/common-2f.d: Likewise.
802 * testsuite/binutils-all/objcopy.exp
803 (objcopy_test_elf_common_symbols): New proc.
804 Run objcopy_test_elf_common_symbols for ELF targets
805
806 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
807
808 PR binutils/19647
809 * readelf.c (get_section_type_name): Add a missing break.
810
811 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
812
813 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
814
815 2016-02-15 Nick Clifton <nickc@redhat.com>
816
817 * readelf.c (get_section_type_name): Add hex prefix to offsets
818 printed for LOPROC and LOOS values. Ensure that a result is
819 always returned for the V850 target, even when an unrecognised
820 processor specific value is encountered.
821 (process_section_headers): Display key values in the order in
822 which they appear to the user. Add the "C (compressed)" value to
823 the list.
824
825 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
826
827 * doc/binutils.texi: Fix a typo.
828
829 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
830
831 * testsuite/binutils-all/objdump.exp: Update expected default
832 architecture value for ARC binaries.
833
834 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
835
836 PR binutils/19547
837 * testsuite/binutils-all/objcopy.exp
838 (objcopy_test_without_global_symbol): New proc.
839 Run objcopy_test_without_global_symbol.
840 * testsuite/binutils-all/pr19547.c: New file.
841
842 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
843
844 PR binutils/19523
845 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
846 runtest.
847 * Makefile.in: Regenerated.
848 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
849 proc.
850 Run test_gnu_debuglink for native ELF build.
851
852 2016-01-20 Nick Clifton <nickc@redhat.com>
853
854 PR 19495
855 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
856 do not support inserting leading underscores.
857
858 2016-01-20 Mickael Guene <mickael.guene@st.com>
859
860 * readelf.c (get_elf_section_flags): Display y letter for section
861 with SHF_ARM_NOREAD section flag in readelf section output.
862 (process_section_headers): Add y letter in readelf section output
863 key mapping for ARM architecture.
864 * objdump.c (dump_section_header): Display NOREAD attributes as
865 well.
866 * doc/binutils.texi (objdump): Note that it is correct for
867 sections to have both the READONLY and NOREAD attributes.
868
869 2016-01-19 John Baldwin <jhb@FreeBSD.org>
870
871 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
872
873 2016-01-19 John Baldwin <jhb@FreeBSD.org>
874
875 * readelf.c (get_freebsd_elfcore_note_type): New
876 (process_note): Add support for FreeBSD core notes.
877
878 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
879 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
880
881 * readelf.c (get_machine_flags): Add support for newer ARC ELF
882 header flags.
883
884 2016-01-18 Alan Modra <amodra@gmail.com>
885
886 * configure: Regenerate.
887
888 2016-01-17 Alan Modra <amodra@gmail.com>
889
890 * configure: Regenerate.
891
892 2016-01-17 Alan Modra <amodra@gmail.com>
893
894 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
895 for m68hc11/12 and xgate triples.
896
897 2016-01-17 Alan Modra <amodra@gmail.com>
898
899 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
900
901 2016-01-01 Alan Modra <amodra@gmail.com>
902
903 Update year range in copyright notice of all files.
904
905 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
906 \f
907 Copyright (C) 2016 Free Software Foundation, Inc.
908
909 Copying and distribution of this file, with or without modification,
910 are permitted in any medium without royalty provided the copyright
911 notice and this notice are preserved.
912
913 Local Variables:
914 mode: change-log
915 left-margin: 8
916 fill-column: 74
917 version-control: never
918 End:
This page took 0.061427 seconds and 4 git commands to generate.