]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
gas: run the hwcaps-bump tests with 64-bit sparc objects only.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
96fe4562
AM
12016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
2
3 * configure: Regenerate.
4
08dc996f
AM
52016-11-22 Alan Modra <amodra@gmail.com>
6
7 PR 20744
8 * NEWS: Mention PowerPC VLE relocation error.
9
a85db0a6
MW
102016-11-16 Mark Wielaard <mark@klomp.org>
11
12 * cxxfilt.c (main): Recognize rust_demangling.
13
35fd2dde
R
142016-11-14 Rudy <jacky.chouchou@yandex.ru>
15
16 PR binutils/20814
17 * dlltool.c (struct export): Remove hint field.
18 (make_one_lib_file): Store the ordinal value for IDATA6 not the
19 hint.
20 (gen_lib_file): Delete reference to hint field.
21 (mangle_defs): Delete computation of hint field.
22
df2c87b5
NC
232016-11-11 Nick Clifton <nickc@redhat.com>
24
25 PR binutils/20751
26 * nm.c (with_symbol_versions): New local variable.
27 (long_options): Add --with-symbol-versions.
28 (usage): Mention --with-symbol-versions.
29 (print_symbol): If with_symbol_versions is set then display the
30 version information associated with the symbol.
31 * NEWS: Mention the new feature.
32 * doc/binutils.texi (nm): Document the new option.
33 (objdump): Describe how symbol version information is displayed
34 for dynamic symbol dumps.
35 (readelf): Describe how symbol version information is displayed.
36 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
37
cb64e50d
NC
382016-11-08 Nick Clifton <nickc@redhat.com>
39
40 PR binutils/20794
41 * readelf.c (process_section_headers): Fix off-by-one error when
42 checking for invalid sh_link and sh_info fields.
43
848ac659
AB
442016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
45
46 * objcopy.c (copy_section): Add extra calls to free for error
47 paths.
48
c42608e1
TT
492016-11-04 Tom Tromey <tom@tromey.com>
50
51 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
52 version number.
53
13be4805
PD
542016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
55
56 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
57 the RISC-V target.
58
e23eba97
NC
592016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
60 Andrew Waterman <andrew@sifive.com>
61
62 Add support for RISC-V architecture.
63 * readelf.c (guess_is_rela): Add EM_RISCV.
64 (get_machine_name): Likewise.
65 (dump_relocations): Add support for riscv relocations.
66 (get_machine_flags): Add support for riscv flags.
67 (is_32bit_abs_reloc): Add R_RISCV_32.
68 (is_64bit_abs_reloc): Add R_RISCV_64.
69 (is_none_reloc): Add R_RISCV_NONE.
70 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
71 Expect the debug_ranges test to fail.
72
1449284b
NC
732016-10-17 Nick Clifton <nickc@redhat.com>
74
75 * readelf.c (apply_relocations): Fail if the symbol table section
76 linked to by the reloc section does not have either the SHT_SYMTAB
77 or SHT_DYNSYM type.
78 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
79 Print the contents of unknown note types.
80 (process_note): Add the file and section to the parameter list.
81 Use print_symbol to display the note name.
82 Display the contents of unknown note types.
83 (process_corefile_note_segment): Rename to process_notes_at.
84 Add section parameter. Apply relocations to the notes when
85 loading from a section. Display section name when processing
86 notes in a section.
87 * testsuite/binutils-all/readelf.n: Update expected output.
88
6d913794
NC
892016-10-17 Nick Clifton <nickc@redhat.com>
90
91 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
92 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
93 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
94 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
95 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
96 EM_Z80, EM_AMDGPU, EM_RISCV.
97 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
98 (get_group_flags): Update to handle flags in the
99 GRP_MASKOS and GRP_MASKPROC ranges.
100
e913b9cb
LM
1012016-10-14 Luis Machado <lgustavo@codesourcery.com>
102
103 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
104 to copy file to remote host.
105
a24bb4f0
NC
1062016-10-11 Nick Clifton <nickc@redhat.com>
107
108 * objdump.c (is_significant_symbol_name): New function.
109 (remove_useless_symbols): Do not remove significanr symbols.
110 (find_symbol_for_address): If an exact match for the specified
111 address has not been found, try scanning the dynamic relocs to see
112 if one of these matches the address. If so, use the symbol
113 associated with the reloc.
114 (objdump_print_addr_with_symbol): Do not print offsets to symbols
115 with no value.
116 (disassemble_section): Only use dynamic relocs if the user
117 requested this.
118 (disassemble_data): Always load dynamic relocs if they are
119 available.
120
1a0670f3
AM
1212016-10-06 Alan Modra <amodra@gmail.com>
122
123 * dlltool.c: Spell fall through comments consistently.
124 * objcopy.c: Likewise.
125 * readelf.c: Likewise.
126 * dwarf.c: Add missing fall through comments.
127 * elfcomm.c: Likewise.
128 * sysinfo.y: Likewise.
129 * readelf.c: Likewise. Also remove extraneous comments.
130
1e0f0b4d
AM
1312016-10-06 Alan Modra <amodra@gmail.com>
132
133 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
134 * elfedit.c (usage): Likewise.
135 * nm.c (usage): Likewise.
136 * objcopy.c (copy_usage, strip_usage): Likewise.
137 * srconv.c (show_usage): Likewise.
138 * strings.c (usage): Likewise.
139 * sysdump.c (show_usage): Likewise.
140 * srconv.c: Remove unneeded forward function declarations.
141 * strings.c: Likewise.
142 * sysdump.c: Likewise.
143
2b804145
AM
1442016-10-06 Alan Modra <amodra@gmail.com>
145
146 * coffdump.c (dump_coff_where): Add missing break.
147 * stabs.c (stab_xcoff_builtin_type): Likewise.
148
b82317dd
AM
1492016-09-29 Alan Modra <amodra@gmail.com>
150
151 * readelf.c (process_arch_specific): Call process_power_specific
152 for EM_PPC64.
153
c5da1932
VZ
1542016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
155
156 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
157 when building with CC_FOR_BUILD compiler.
158 * Makefile.in: Regenerate.
159 * configure: Likewise.
160 * doc/Makefile.in: Likewise.
161
005d79fd
AM
1622016-09-26 Alan Modra <amodra@gmail.com>
163
164 * readelf.c (display_power_gnu_attribute): Catch truncated section
165 for all powerpc attributes. Display long double ABI. Don't
166 capitalize words, except for names. Show known bits of tag values
167 when some unknown bits are present. Whitespace fixes.
168
7358f4cb
AM
1692016-09-26 Alan Modra <amodra@gmail.com>
170
171 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
172 strings, use asprintf instead.
173 (get_coff_symbol_type): Likewise.
174
2387dd90
AM
1752016-09-19 Alan Modra <amodra@gmail.com>
176
177 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
178 instead.
179 (print_size_symbols, print_symbols): Adjust to suit, deleting
180 now unused synth_count param and fromsynth var.
181 (display_rel_file): Adjust, localizing synth_count.
182
fb324ee9
EM
1832016-09-14 Ed Maste <emaste@freebsd.org>
184
185 * readelf.c (process_mips_specific): Fix typo in error message.
186
21b65bac
NC
1872016-09-06 Nick Clifton <nickc@redhat.com>
188
189 * readelf.c (request_dump_bynumber): Only call memcpy if
190 dump_sects is not NULL.
191
f53be977
L
1922016-08-29 H.J. Lu <hongjiu.lu@intel.com>
193
194 * readelf.c (load_specific_debug_section): Check the external
195 compression header size.
196
dd905818
NC
1972016-08-19 Nick Clifton <nickc@redhat.com>
198
199 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
200 sections.
201 * testsuite/binutils-all/readelf.s-64: Likewise.
202
52c3c391
NC
2032016-08-12 Nick Clifton <nickc@redhat.com>
204
205 * readelf.c (process_symbol_table): Generate a warning if a local
206 symbol is found at and offste greater than or equal to the sh_info
207 field of it's section header.
208
db9537d2
NC
2092016-08-08 Nick Clifton <nickc@redhat.com>
210
d8024a91
NC
211 PR binutils/20440
212 * dwarf.c (display_debug_lines_decoded): Add checks for running
213 off the end of the section when populating the directory table and
214 file table.
215 (frame_display_row): Set max_regs equal to ncols.
f53be977
L
216 * readelf.c (load_specific_debug_section): If the section is
217 compressed, but it is not big enough to hold a compression
218 header then warn and return 0.
d8024a91 219
db9537d2
NC
220 PR binutils/20439
221 * dwarf.c (display_debug_lines_decoded): Check directory and file
222 indicies before using them to access directory and file tables.
223
2d5bddc1
NC
2242016-08-02 Nick Clifton <nickc@redhat.com>
225
226 PR binutils/17512
227 * resbin.c (bin_to_res_version): Cast variables to correct type
228 for printing in error message.
229
4931146e
NC
2302016-07-28 Nick Clifton <nickc@redhat.com>
231
232 PR binutils/17512
233 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
234 * resbin.c (bin_to_res_version): Allow for the padded length of a
235 version block to be longer than the recorded length. Skip padding
236 bytes.
237
fecd57f9
L
2382016-07-21 H.J. Lu <hongjiu.lu@intel.com>
239
240 * configure: Regenerated.
241
37fd5ef3
CZ
2422016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
243
244 * doc/binutils.texi (objdump): Add ARC disassembler options.
245 * testsuite/binutils-all/arc/dsp.s: New file.
246 * testsuite/binutils-all/arc/objdump.exp: Likewise.
247 * NEWS: Mention the new feature.
248
f2629855
NC
2492016-07-20 Nick Clifton <nickc@redhat.com>
250
251 * doc/binutils.texi (objcopy): Note that the localize symbol
252 options do not affect unique symbols.
253
7d0b9ebc
AM
2542016-07-16 Alan Modra <amodra@gmail.com>
255
256 * ar.c: Include plugin-api.h.
257 * nm.c: Likewise.
258
aac502f7
AM
2592016-07-16 Alan Modra <amodra@gmail.com>
260
261 * bucomm.c: Don't include libbfd.h.
262 (endian_string, display_target_list): Delete forward declaration.
263 (display_info_table, display_target_tables): Likewise.
264 (LONGEST_ARCH): Delete.
265 (struct display_target): New.
266 (do_display_target): New function.
267 (display_target_list, display_info): Rewrite functions.
268 (display_info_table): Delete.
269 (do_info_size, do_info_header, do_info_row): New functions.
270
16412c3b
AM
2712016-07-16 Alan Modra <amodra@gmail.com>
272
273 * elfcomm.h (HOST_WIDEST_INT): Move to..
274 * sysdep.h: ..here.
275 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
276 (dump_dyld_info_rebase): Use read_leb128 rather than
277 read_unsigned_leb128.
278 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
279 (dump_segment_split_info): Likewise.
280 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
281 (dump_load_command): Likewise.
282
76e7a751
AM
2832016-07-16 Alan Modra <amodra@gmail.com>
284
285 * ar.c: Don't include libbfd.h.
286 * objcopy.c: Likewise.
287 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
288 bfd_malloc.
289
003c15c9
AM
2902016-07-15 Alan Modra <amodra@gmail.com>
291
292 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
293
d3e5f6c8
AB
2942016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
295
296 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
297 (strip): Likewise.
298 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
299 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
300 (struct option strip_options): Add 'remove-relocations'.
301 (struct option copy_options): Likewise.
302 (copy_usage): Likewise.
303 (strip_usage): Likewise.
304 (handle_remove_relocations_option): New function.
305 (discard_relocations): New function.
306 (handle_remove_section_option): New function.
307 (copy_relocations_in_section): Use discard_relocations.
308 (strip_main): Use handle_remove_section_option for
309 'remove-section', and handle 'remove-relocations' option.
310 (copy_main): Likewise.
311 * testsuite/binutils-all/objcopy.exp: Run new tests.
312 * testsuite/binutils-all/remove-relocs-01.d: New file.
313 * testsuite/binutils-all/remove-relocs-01.s: New file.
314 * testsuite/binutils-all/remove-relocs-02.d: New file.
315 * testsuite/binutils-all/remove-relocs-03.d: New file.
316 * testsuite/binutils-all/remove-relocs-04.d: New file.
317 * testsuite/binutils-all/remove-relocs-05.d: New file.
318 * testsuite/binutils-all/remove-relocs-06.d: New file.
319 * NEWS: Mention new option.
320
e511c9b1
AB
3212016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
322
323 * objcopy.c (find_section_list): Handle section patterns starting
324 with '!' being a non-matching pattern.
325 * doc/binutils.texi (objcopy): Give example of using '!' with
326 --remove-section and --only-section.
327 (strip): Give example of using '!' with --remove-section.
328 * testsuite/binutils-all/data-sections.s: New file.
329 * testsuite/binutils-all/only-section-01.d: New file.
330 * testsuite/binutils-all/remove-section-01.d: New file.
331 * testsuite/binutils-all/objcopy.exp: Run new tests.
332 * NEWS: Mention new feature.
333
32a0481f
AM
3342016-07-09 Alan Modra <amodra@gmail.com>
335
336 PR binutils/20337
337 * objdump.c (compare_symbols): For ELF, sort same value/type
338 symbols according to size.
339
f0728ee3
AV
3402016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
341
342 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
343 to SEC_ELF_NOREAD.
344 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
345 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
346 (process_section_headers): Rename noread to purecode.
347
348 * section.c (SEC_ELF_NOREAD): Rename to ...
349 (SEC_ELF_PURECODE): ... this.
350
98a4fc78
NC
3512016-07-01 Nick Clifton <nickc@redhat.com>
352
353 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
354 extremely large decimal value.
355 (pr_range_type): Likewise.
356 (pr_array_type): Likewise.
357 (pr_struct_field): Likewise.
358 (pr_class_baseclass): Likewise.
359 (pr_class_method_variant): Likewise.
360 (pr_tag_type): Likewise.
361 (pr_int_constant): Likewise.
362 (pr_typed_constant): Likewise.
363 (pr_variable): Likewise.
364 (pr_function_parameter): Likewise.
365 (pr_start_block): Likewise.
366 (pr_lineno): Likewise.
367 (pr_end_block): Likewise.
368 (tg_enum_type): Likewise.
369 (tg_int_constant): Likewise.
370 (tg_typed_constant): Likewise.
371 (tg_start_block): Likewise.
372
41699fa4
NC
3732016-07-01 Nick Clifton <nickc@redhat.com>
374
375 * testsuite/binutils-all/objcopy.exp
376 (objcopy_test_without_global_symbol): Expect this test to fail on
377 the AArch64 and ARM targets, since they preserve their mapping
378 symbols.
379
96a84ea3
TG
3802016-07-01 Tristan Gingold <gingold@adacore.com>
381
382 * NEWS: Add marker for 2.27.
383
b2a40aa5
TG
3842016-07-30 Tristan Gingold <gingold@adacore.com>
385
386 * doc/binutils.texi (objdump): Fix mis-placement.
387
50c901ed
NC
3882016-06-28 Nick Clifton <nickc@redhat.com>
389
390 * testsuite/binutils-all/ar.exp: Relax previous restriction on
391 Alpha targets. Allow ELF based Alpha targets.
392
eb9bb5b4
MR
3932016-06-28 Maciej W. Rozycki <macro@imgtec.com>
394
395 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
396 the `unique_symbol' test.
397
f2b2af2c
AM
3982016-06-28 Alan Modra <amodra@gmail.com>
399
400 PR 20304
401 * objdump.c (objdump_print_symname): Don't attempt to retrieve
402 version info from synthetic symbols.
403
9cc0123f
AM
4042016-06-24 Alan Modra <amodra@gmail.com>
405
406 * objcopy.c (find_section_rename): Forward declare. Remove
407 ibfd and sec_ptr param. Add old_name param. Allow for NULL
408 returned_flags. Move read of section name and flags to..
409 (setup_section): ..here. Update find_section_rename call.
410 (filter_symbols): Rename section symbols for renamed sections.
411 (copy_object): Call filter_symbols when renamed sections.
412 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
413 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
414 mips xfail.
415 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
416 is_bad_symtab.
417 (localize-hidden-1): xfail if is_bad_symtab.
418 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
419 between mips/tmips.
420
43339b1d
AM
4212016-06-24 Alan Modra <amodra@gmail.com>
422
423 * objdump.c (struct print_file_list): Add "max_printed".
424 (try_print_file_open): Init new field.
425 (show_line): Don't show 5 context lines when redisplaying source.
426
96037eb0
NC
4272016-06-22 Nick Clifton <nickc@redhat.com>
428
429 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
430 Skip bfdtest1 tests for tic30 target.
431 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
432 target.
433 * testsuite/binutils-all/compress.exp: Expect some tests to fail
434 on the nds32.
435 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
436 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
437 targets.
438 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
439 targets.
440 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
441 if the bintest.o file was created. Use the
442 get_standard_section_names proc to get the name of the data
443 section.
444 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
445 RX section names.
446 * testsuite/binutils-all/readelf.exp: Use
447 get_standard_section_names proc to get the name of the data
448 section.
449 * testsuite/binutils-all/readelf.r: Allow for non standard text
450 section names.
451 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
452 * testsuite/binutils-all/size.exp: Allow for non standard section
453 names.
454 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
455 to fail on mips targets.
456 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
457 get_standard_section_names proc.
458 (run_dump_test): Likewise.
459 (proc get_standard_section_names): New proc.
460
d5b07ef4
NC
4612016-06-22 Nick Clifton <nickc@redhat.com>
462
463 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
464 (process_mips_specific): Likewise.
465 (process_gnu_liblist): Likewise.
466
bdd582db
GM
4672016-06-21 Graham Markall <graham.markall@embecosm.com>
468
469 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
470 case.
471
3ee6e4fb
NC
4722016-06-15 Nick Clifton <nickc@redhat.com>
473
474 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
475 reloc.
476
eecc1a7f
JB
4772016-06-14 John Baldwin <jhb@FreeBSD.org>
478
479 * objcopy.c (do_elf_stt_common): Use correct type.
480
3860d2b4
AM
4812016-06-14 Alan Modra <amodra@gmail.com>
482
483 * ar.c: Expand uses of bfd_my_archive.
484 * size.c: Likewise.
485
b0cffb47
AM
4862016-06-14 Alan Modra <amodra@gmail.com>
487
488 PR ld/20241
489 * bucomm.c (bfd_get_archive_filename): Return file name within thin
490 archive.
491
5b6312fd
NC
4922016-06-02 Nick Clifton <nickc@redhat.com>
493
bcc3a8bc
NC
494 PR 20089
495 * objcopy.c (group_signature): Fail if the input symbol table has
c09ec62d 496 not been loaded, or if the sh_info field of the group header is 0.
bcc3a8bc 497
5b6312fd
NC
498 * dwarf.c (display_debug_frames): Do not display any
499 interpretation if the block consists solely of DW__CFA_NOPs.
500
f7433f01
AM
5012016-05-31 Alan Modra <amodra@gmail.com>
502
503 * objcopy.c: Formatting, whitespace throughout.
504 (copy_main): Init newsym->othersym.
505 (parse_symflags): Make len a size_t. Adjust uses.
506
e6cc316a
L
5072016-05-25 H.J. Lu <hongjiu.lu@intel.com>
508
509 PR binutils/14625
510 * NEWS: Mention --enable-64-bit-archive.
511
f507bebf
NC
5122016-05-18 Nick Clifton <nickc@redhat.com>
513
514 PR 20096
515 * objcopy.c (copy_relocations_in_section): Also check for the
516 symbol pointed to by sym_ptr_ptr being NULL.
517
1401d2fe
MR
5182016-05-18 Maciej W. Rozycki <macro@imgtec.com>
519
520 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
521 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
522 source.
523 * testsuite/binutils-all/mips/mips.exp: Run the new test.
524
50498060
NC
5252016-05-18 Nick Clifton <nickc@redhat.com>
526
527 * po/sv.po: Updated Swedish translation.
528
c69075ac
MR
5292016-05-18 Maciej W. Rozycki <macro@imgtec.com>
530
531 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
532 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
533 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
534 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
535 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
536 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
537 `d_val' rather than `d_ptr' member of the dynamic entry.
538
a43942db
MR
5392016-05-17 Maciej W. Rozycki <macro@imgtec.com>
540
541 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
542 procedure.
543 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
544 with the `strip-10' test.
545
71de3413
MR
5462016-05-16 Maciej W. Rozycki <macro@imgtec.com>
547
548 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
549 test for the V850.
550
8f4f9071
MF
5512016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
552
553 * readelf.c (print_mips_ases): Add DSPR3.
554
15afaa63
TP
5552016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
556
557 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
558 (arm_attr_public_tags): Define DSP_extension attribute.
559
29f4fdc4
AB
5602016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
561
562 * doc/binutils.texi (nm): Update description of --size-sort.
563
315350be
NC
5642016-05-09 Nick Clifton <nickc@redhat.com>
565
566 PR binutils/20063
567 * readelf.c (get_32bit_section_headers): Warn if an out of range
568 sh_link or sh_info field is encountered.
569 (get_64bit_section_headers): Likewise.
570
4a85cc09
SKS
5712016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
572
573 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
574
99d1b268
NC
5752016-05-03 Nick Clifton <nickc@redhat.com>
576
577 * po/sv.po: Updated Swedish translation.
578
d347c9df
PS
5792016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
580
581 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
582 PC relocation for AVR target.
583 (is_none_reloc): Return true if reloc is any of AVR diff
584 relocations.
585
5522f910
NC
5862016-04-29 Nick Clifton <nickc@redhat.com>
587
588 PR 19938
589 * readelf.c (get_solaris_segment_type): New function.
590 (get_segment_type): Call it.
591
786a118c
NC
5922016-04-28 Nick Clifton <nickc@redhat.com>
593
594 * po/zh_CN.po: Updated Chinese (simplified) translation.
595
4bd13cde
NC
5962016-04-28 Nick Clifton <nickc@redhat.com>
597
598 PR target/19722
599 * testsuite/binutils-all/aarch64/illegal.s: New test.
600 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
601
e6c7cdec
TS
6022016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
603
604 * resres.c: Likewise.
605
6fd8e7c2
L
6062016-04-15 H.J. Lu <hongjiu.lu@intel.com>
607
608 * Makefile.in: Regenerated with automake 1.11.6.
609 * aclocal.m4: Likewise.
610 * doc/Makefile.in: Likewise.
611
84865015
NC
6122016-04-14 Nick Clifton <nickc@redhat.com>
613
614 PR target/19938
615 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
616 string sections possibly having the SHF_STRINGS flag bit set.
617 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
618 * testsuite/binutils-all/readelf.s: Likewise.
619 * testsuite/binutils-all/readelf.s-64: Likewise.
620 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
621 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
622
fd85a6a1
NC
6232016-04-13 Nick Clifton <nickc@redhat.com>
624
84865015 625 PR target/19938
fd85a6a1
NC
626 * readelf.c (get_solaris_section_type): New function: Returns the
627 name of Solaris specific section types.
628 (get_solaris_dynamic_type): New function: Return the name of
629 Solaris specific dynamic types.
630 (get_dynamic_type): Use get_solaris_dynamic_type.
631 (get_section_type_name): Use get_solaris_section_type.
632 (get_solaris_symbol_visibility): New function: Returns Solaris
633 specific symbol visibilities.
634 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
635 (process_symbol_table): Likewise.
636
d6bb17b0
AA
6372016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
638
639 * dwarf.h (init_dwarf_regnames_s390): Declare.
640 * dwarf.c (dwarf_regnames_s390): New.
641 (init_dwarf_regnames_s390): New.
642 (init_dwarf_regnames): Call it.
643 * objdump.c (dump_dwarf): Likewise.
644
92708cec
MR
6452016-04-11 Maciej W. Rozycki <macro@imgtec.com>
646
647 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
648 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
649 source.
650 * testsuite/binutils-all/mips/mips.exp: Run the new test.
651
67f101ee
NC
6522016-04-04 Nick Clifton <nickc@redhat.com>
653
654 PR 19872
655 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
656 version number if the version is zero.
657
ed754a13
AM
6582016-03-29 Alan Modra <amodra@gmail.com>
659
660 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
661 (get_dynamic_data): Likewise.
662
9780e045
NC
6632016-03-22 Nick Clifton <nickc@redhat.com>
664
34b9f729
NC
665 PR 19851
666 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
667 with run time size check.
668
9780e045
NC
669 * configure: Regenerate.
670
8699fc3e
AB
6712016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
672
673 * readelf.c (decode_ARC_machine_flags): Handle nps400.
674
a9522a21
AB
6752016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
676
677 * readelf.c (get_machine_flags): Move arc processing into...
678 (decode_ARC_machine_flags): ... new function. Remove use of
679 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
680 "unknown arc". Merged ABI printing between two machine types.
681
24740d83
AB
6822016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
683
684 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
685 to the architecture list.
686
e1fa0163
NC
6872016-03-21 Nick Clifton <nickc@redhat.com>
688
689 * dlltool.c: Replace use of alloca with call to xmalloc.
690 * dllwrap.c: Likewise.
691 * nlmconv.c: Likewise.
692 * objdump.c: Likewise.
693 * resrc.c: Likewise.
694 * winduni.c: Likewise.
695 * configure: Regenerate.
696
4fc87424
NC
6972016-03-07 Nick Clifton <nickc@redhat.com>
698
699 PR binutils/19775
700 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
701 Run the new proc.
702 * testsuite/binutils-all/empty: New, empty, file.
703
9411fd44
MW
7042016-03-04 Matthew Wahab <matthew.wahab@arm.com>
705
706 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
707
11e5f1ec
L
7082016-02-26 H.J. Lu <hongjiu.lu@intel.com>
709
710 PR ld/19645
711 * NEWS: Mention --elf-stt-common= for objcopy.
712 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
713 * objcopy.c (do_elf_stt_common): New.
714 (command_line_switch): Add OPTION_ELF_STT_COMMON.
715 (copy_options): Add --elf-stt-common=.
716 (copy_usage): Add --elf-stt-common=.
717 (copy_object): Also check do_elf_stt_common for ELF targets.
718 (copy_file): Handle do_elf_stt_common.
719 (copy_main): Handle OPTION_ELF_STT_COMMON.
720 * readelf.c (apply_relocations): Support STT_COMMON.
721 * testsuite/binutils-all/common-1.s: New file.
722 * testsuite/binutils-all/common-1a.d: Likewise.
723 * testsuite/binutils-all/common-1b.d: Likewise.
724 * testsuite/binutils-all/common-1c.d: Likewise.
725 * testsuite/binutils-all/common-1d.d: Likewise.
726 * testsuite/binutils-all/common-1e.d: Likewise.
727 * testsuite/binutils-all/common-1f.d: Likewise.
728 * testsuite/binutils-all/common-2.s: Likewise.
729 * testsuite/binutils-all/common-2a.d: Likewise.
730 * testsuite/binutils-all/common-2b.d: Likewise.
731 * testsuite/binutils-all/common-2c.d: Likewise.
732 * testsuite/binutils-all/common-2d.d: Likewise.
733 * testsuite/binutils-all/common-2e.d: Likewise.
734 * testsuite/binutils-all/common-2f.d: Likewise.
735 * testsuite/binutils-all/objcopy.exp
736 (objcopy_test_elf_common_symbols): New proc.
737 Run objcopy_test_elf_common_symbols for ELF targets
738
a9fb83be
L
7392016-02-16 H.J. Lu <hongjiu.lu@intel.com>
740
741 PR binutils/19647
742 * readelf.c (get_section_type_name): Add a missing break.
743
726c18e1
CZ
7442016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
745
746 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
747
9fb71ee4
NC
7482016-02-15 Nick Clifton <nickc@redhat.com>
749
750 * readelf.c (get_section_type_name): Add hex prefix to offsets
751 printed for LOPROC and LOOS values. Ensure that a result is
752 always returned for the V850 target, even when an unrecognised
753 processor specific value is encountered.
754 (process_section_headers): Display key values in the order in
755 which they appear to the user. Add the "C (compressed)" value to
756 the list.
757
96d491cf
L
7582016-02-12 H.J. Lu <hongjiu.lu@intel.com>
759
760 * doc/binutils.texi: Fix a typo.
761
bdbca4e6
CM
7622016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
763
764 * testsuite/binutils-all/objdump.exp: Update expected default
765 architecture value for ARC binaries.
766
14f2c699
L
7672016-02-02 H.J. Lu <hongjiu.lu@intel.com>
768
769 PR binutils/19547
770 * testsuite/binutils-all/objcopy.exp
771 (objcopy_test_without_global_symbol): New proc.
772 Run objcopy_test_without_global_symbol.
773 * testsuite/binutils-all/pr19547.c: New file.
774
bf150a0b
L
7752016-01-28 H.J. Lu <hongjiu.lu@intel.com>
776
777 PR binutils/19523
778 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
779 runtest.
780 * Makefile.in: Regenerated.
781 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
782 proc.
783 Run test_gnu_debuglink for native ELF build.
784
0398b8d6
NC
7852016-01-20 Nick Clifton <nickc@redhat.com>
786
787 PR 19495
788 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
bdbca4e6 789 do not support inserting leading underscores.
0398b8d6 790
91f68a68
MG
7912016-01-20 Mickael Guene <mickael.guene@st.com>
792
793 * readelf.c (get_elf_section_flags): Display y letter for section
794 with SHF_ARM_NOREAD section flag in readelf section output.
795 (process_section_headers): Add y letter in readelf section output
796 key mapping for ARM architecture.
797 * objdump.c (dump_section_header): Display NOREAD attributes as
798 well.
799 * doc/binutils.texi (objdump): Note that it is correct for
800 sections to have both the READONLY and NOREAD attributes.
801
40068dcc
JB
8022016-01-19 John Baldwin <jhb@FreeBSD.org>
803
804 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
805
f4ddf30f
JB
8062016-01-19 John Baldwin <jhb@FreeBSD.org>
807
808 * readelf.c (get_freebsd_elfcore_note_type): New
809 (process_note): Add support for FreeBSD core notes.
810
34e967a5
MC
8112016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
812 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
813
814 * readelf.c (get_machine_flags): Add support for newer ARC ELF
815 header flags.
816
3d961d0d
AM
8172016-01-18 Alan Modra <amodra@gmail.com>
818
819 * configure: Regenerate.
820
5c14705f
AM
8212016-01-17 Alan Modra <amodra@gmail.com>
822
823 * configure: Regenerate.
824
b3066ae8
AM
8252016-01-17 Alan Modra <amodra@gmail.com>
826
827 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
828 for m68hc11/12 and xgate triples.
829
adec12c1
AM
8302016-01-17 Alan Modra <amodra@gmail.com>
831
832 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
833
6f2750fe
AM
8342016-01-01 Alan Modra <amodra@gmail.com>
835
836 Update year range in copyright notice of all files.
837
3499769a
AM
838For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
839\f
840Copyright (C) 2016 Free Software Foundation, Inc.
841
842Copying and distribution of this file, with or without modification,
843are permitted in any medium without royalty provided the copyright
844notice and this notice are preserved.
845
846Local Variables:
847mode: change-log
848left-margin: 8
849fill-column: 74
850version-control: never
851End: