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