]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
MIPS16: Handle non-extensible instructions correctly
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
0674ee5d
MR
12016-12-23 Maciej W. Rozycki <macro@imgtec.com>
2
3 * testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
4 * testsuite/binutils-all/mips/mips16-extend-insn.s: New test
5 source.
6 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
7
99b5dbf2
TG
82016-12-23 Tristan Gingold <gingold@adacore.com>
9
10 * configure: Regenerate.
11
9703a4ef
TG
122016-12-23 Tristan Gingold <gingold@adacore.com>
13
14 * NEWS: Add marker for 2.28.
15
e0e7a9d4
TG
162016-12-23 Tristan Gingold <gingold@adacore.com>
17
18 * po/binutils.pot: Regenerate.
19
11dd08e9
MR
202016-12-20 Maciej W. Rozycki <macro@imgtec.com>
21
22 * testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
23 rather than `.set' to set the ISA level.
24
7fd53920
MR
252016-12-20 Maciej W. Rozycki <macro@imgtec.com>
26
27 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
28 test for separate EXTEND prefix disassembly.
29
2922d21d
AW
302016-12-20 Andrew Waterman <andrew@sifive.com>
31
32 * readelf.c (get_machine_flags): Use
33 EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
34 EF_RISCV_{SOFT,HARD}_FLOAT.
35
5e7fc731
MR
362016-12-14 Maciej W. Rozycki <macro@imgtec.com>
37
38 * testsuite/binutils-all/mips/mips-ase-1.d: New test.
39 * testsuite/binutils-all/mips/mips-ase-2.d: New test.
40 * testsuite/binutils-all/mips/mips-ase-3.d: New test.
41 * testsuite/binutils-all/mips/mips-ase-1.s: New test source.
42 * testsuite/binutils-all/mips/mips-ase-2.s: New test source.
43 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
44
9282b95a
JW
452016-12-13 Jiong Wang <jiong.wang@arm.com>
46
47 * readelf.c (is_32bit_abs_reloc): Recognize R_AARCH64_P32_ABS32.
48
13364275
NC
492016-12-13 Nick Clifton <nickc@redhat.com>
50
51 * MAINTAINERS (Past Maintainers): New section. Move Mark
52 Mitchell's name here.
53
55af4784
MR
542016-12-09 Maciej W. Rozycki <macro@imgtec.com>
55
56 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
57 * testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
58 source.
59 * testsuite/binutils-all/mips/mips.exp: Run the new test.
60
860b03a8
MR
612016-12-08 Maciej W. Rozycki <macro@imgtec.com>
62
63 * testsuite/binutils-all/mips/mips16-pcrel.d: New test.
64 * testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
65 * testsuite/binutils-all/mips/mips.exp: Run the new test.
66
1d262527
EB
672016-12-08 Étienne Buira <etienne.buira@gmail.com>
68
69 * readelf.c (process_program_headers): Always use hex prefix when
70 displaying the segment alignment.
71
8b929e42
NC
722016-12-06 Nick Clifton <nickc@redhat.com>
73
74 PR binutils/20930
75 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
76 symbol pointer pointer before attempting to mark the symbol as
77 kept.
78
9b5481c6
JM
792016-12-05 Jose E. Marchesi <jose.marchesi@oracle.com>
80
81 * MAINTAINERS: Add myself as maintainer for the SPARC targets.
82
88add6d8
NC
832016-12-05 Nick Clifton <nickc@redhat.com>
84
85 PR ld/20923
86 * objcopy.c (mark_symbols_used_in_relocations): Check for a null
87 symbol pointer before attempting to mark the symbol as kept.
88
cec4b2e3
LM
892016-12-01 Luis Machado <lgustavo@codesourcery.com>
90
91 * nm.c (sort_symbols_by_size): Don't read symbol size if symbol
92 is synthetic.
93
502d895c
NC
942016-11-30 Nick Clifton <nickc@redhat.com>
95
96 PR ld/20815
97 * readelf.c (process_program_headers): Do not warn about out of
98 order PT_LOAD segments.
99
ee881e5d
CZ
1002016-11-29 Claudiu Zissulescu <claziss@synopsys.com>
101
102 * testsuite/binutils-all/arc/objdump.exp (Warning test): Update
103 test.
104
222c2bf0
AM
1052016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
106
107 * dwarf.c: Fix spelling in comments.
108 * dwarf.h: Fix spelling in comments.
109 * objcopy.c: Fix spelling in comments.
110 * od-macho.c: Fix spelling in comments.
111 * rclex.c: Fix spelling in comments.
112 * readelf.c: Fix spelling in comments.
113 * stabs.c: Fix spelling in comments.
114
1a9ccd70
NC
1152016-11-23 Nick Clifton <nickc@redhat.com>
116
117 PR ld/20815
118 * readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
119 segments for validity.
120
96fe4562
AM
1212016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
122
123 * configure: Regenerate.
124
08dc996f
AM
1252016-11-22 Alan Modra <amodra@gmail.com>
126
127 PR 20744
128 * NEWS: Mention PowerPC VLE relocation error.
129
a85db0a6
MW
1302016-11-16 Mark Wielaard <mark@klomp.org>
131
132 * cxxfilt.c (main): Recognize rust_demangling.
133
35fd2dde
R
1342016-11-14 Rudy <jacky.chouchou@yandex.ru>
135
136 PR binutils/20814
137 * dlltool.c (struct export): Remove hint field.
138 (make_one_lib_file): Store the ordinal value for IDATA6 not the
139 hint.
140 (gen_lib_file): Delete reference to hint field.
141 (mangle_defs): Delete computation of hint field.
142
df2c87b5
NC
1432016-11-11 Nick Clifton <nickc@redhat.com>
144
145 PR binutils/20751
146 * nm.c (with_symbol_versions): New local variable.
147 (long_options): Add --with-symbol-versions.
148 (usage): Mention --with-symbol-versions.
149 (print_symbol): If with_symbol_versions is set then display the
150 version information associated with the symbol.
151 * NEWS: Mention the new feature.
152 * doc/binutils.texi (nm): Document the new option.
153 (objdump): Describe how symbol version information is displayed
154 for dynamic symbol dumps.
155 (readelf): Describe how symbol version information is displayed.
156 * testsuite/binutils-all/nm.exp: Add a test of the new feature.
157
cb64e50d
NC
1582016-11-08 Nick Clifton <nickc@redhat.com>
159
160 PR binutils/20794
161 * readelf.c (process_section_headers): Fix off-by-one error when
162 checking for invalid sh_link and sh_info fields.
163
848ac659
AB
1642016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
165
166 * objcopy.c (copy_section): Add extra calls to free for error
167 paths.
168
c42608e1
TT
1692016-11-04 Tom Tromey <tom@tromey.com>
170
171 * dwarf-mode.el (dwarf-browse): Set default-directory. Bump
172 version number.
173
13be4805
PD
1742016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
175
176 * MAINTAINERS: Add myself and Andrew Waterman as maintainers for
177 the RISC-V target.
178
e23eba97
NC
1792016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
180 Andrew Waterman <andrew@sifive.com>
181
182 Add support for RISC-V architecture.
183 * readelf.c (guess_is_rela): Add EM_RISCV.
184 (get_machine_name): Likewise.
185 (dump_relocations): Add support for riscv relocations.
186 (get_machine_flags): Add support for riscv flags.
187 (is_32bit_abs_reloc): Add R_RISCV_32.
188 (is_64bit_abs_reloc): Add R_RISCV_64.
189 (is_none_reloc): Add R_RISCV_NONE.
190 * testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
191 Expect the debug_ranges test to fail.
192
1449284b
NC
1932016-10-17 Nick Clifton <nickc@redhat.com>
194
195 * readelf.c (apply_relocations): Fail if the symbol table section
196 linked to by the reloc section does not have either the SHT_SYMTAB
197 or SHT_DYNSYM type.
198 (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes.
199 Print the contents of unknown note types.
200 (process_note): Add the file and section to the parameter list.
201 Use print_symbol to display the note name.
202 Display the contents of unknown note types.
203 (process_corefile_note_segment): Rename to process_notes_at.
204 Add section parameter. Apply relocations to the notes when
205 loading from a section. Display section name when processing
206 notes in a section.
207 * testsuite/binutils-all/readelf.n: Update expected output.
208
6d913794
NC
2092016-10-17 Nick Clifton <nickc@redhat.com>
210
211 * readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
212 (get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
213 EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
214 EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
215 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
216 EM_Z80, EM_AMDGPU, EM_RISCV.
217 (get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
218 (get_group_flags): Update to handle flags in the
219 GRP_MASKOS and GRP_MASKPROC ranges.
220
e913b9cb
LM
2212016-10-14 Luis Machado <lgustavo@codesourcery.com>
222
223 * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
224 to copy file to remote host.
225
a24bb4f0
NC
2262016-10-11 Nick Clifton <nickc@redhat.com>
227
228 * objdump.c (is_significant_symbol_name): New function.
229 (remove_useless_symbols): Do not remove significanr symbols.
230 (find_symbol_for_address): If an exact match for the specified
231 address has not been found, try scanning the dynamic relocs to see
232 if one of these matches the address. If so, use the symbol
233 associated with the reloc.
234 (objdump_print_addr_with_symbol): Do not print offsets to symbols
235 with no value.
236 (disassemble_section): Only use dynamic relocs if the user
237 requested this.
238 (disassemble_data): Always load dynamic relocs if they are
239 available.
240
1a0670f3
AM
2412016-10-06 Alan Modra <amodra@gmail.com>
242
243 * dlltool.c: Spell fall through comments consistently.
244 * objcopy.c: Likewise.
245 * readelf.c: Likewise.
246 * dwarf.c: Add missing fall through comments.
247 * elfcomm.c: Likewise.
248 * sysinfo.y: Likewise.
249 * readelf.c: Likewise. Also remove extraneous comments.
250
1e0f0b4d
AM
2512016-10-06 Alan Modra <amodra@gmail.com>
252
253 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
254 * elfedit.c (usage): Likewise.
255 * nm.c (usage): Likewise.
256 * objcopy.c (copy_usage, strip_usage): Likewise.
257 * srconv.c (show_usage): Likewise.
258 * strings.c (usage): Likewise.
259 * sysdump.c (show_usage): Likewise.
260 * srconv.c: Remove unneeded forward function declarations.
261 * strings.c: Likewise.
262 * sysdump.c: Likewise.
263
2b804145
AM
2642016-10-06 Alan Modra <amodra@gmail.com>
265
266 * coffdump.c (dump_coff_where): Add missing break.
267 * stabs.c (stab_xcoff_builtin_type): Likewise.
268
b82317dd
AM
2692016-09-29 Alan Modra <amodra@gmail.com>
270
271 * readelf.c (process_arch_specific): Call process_power_specific
272 for EM_PPC64.
273
c5da1932
VZ
2742016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
275
276 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
277 when building with CC_FOR_BUILD compiler.
278 * Makefile.in: Regenerate.
279 * configure: Likewise.
280 * doc/Makefile.in: Likewise.
281
005d79fd
AM
2822016-09-26 Alan Modra <amodra@gmail.com>
283
284 * readelf.c (display_power_gnu_attribute): Catch truncated section
285 for all powerpc attributes. Display long double ABI. Don't
286 capitalize words, except for names. Show known bits of tag values
287 when some unknown bits are present. Whitespace fixes.
288
7358f4cb
AM
2892016-09-26 Alan Modra <amodra@gmail.com>
290
291 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
292 strings, use asprintf instead.
293 (get_coff_symbol_type): Likewise.
294
2387dd90
AM
2952016-09-19 Alan Modra <amodra@gmail.com>
296
297 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
298 instead.
299 (print_size_symbols, print_symbols): Adjust to suit, deleting
300 now unused synth_count param and fromsynth var.
301 (display_rel_file): Adjust, localizing synth_count.
302
fb324ee9
EM
3032016-09-14 Ed Maste <emaste@freebsd.org>
304
305 * readelf.c (process_mips_specific): Fix typo in error message.
306
21b65bac
NC
3072016-09-06 Nick Clifton <nickc@redhat.com>
308
309 * readelf.c (request_dump_bynumber): Only call memcpy if
310 dump_sects is not NULL.
311
f53be977
L
3122016-08-29 H.J. Lu <hongjiu.lu@intel.com>
313
314 * readelf.c (load_specific_debug_section): Check the external
315 compression header size.
316
dd905818
NC
3172016-08-19 Nick Clifton <nickc@redhat.com>
318
319 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
320 sections.
321 * testsuite/binutils-all/readelf.s-64: Likewise.
322
52c3c391
NC
3232016-08-12 Nick Clifton <nickc@redhat.com>
324
325 * readelf.c (process_symbol_table): Generate a warning if a local
326 symbol is found at and offste greater than or equal to the sh_info
327 field of it's section header.
328
db9537d2
NC
3292016-08-08 Nick Clifton <nickc@redhat.com>
330
d8024a91
NC
331 PR binutils/20440
332 * dwarf.c (display_debug_lines_decoded): Add checks for running
333 off the end of the section when populating the directory table and
334 file table.
335 (frame_display_row): Set max_regs equal to ncols.
f53be977
L
336 * readelf.c (load_specific_debug_section): If the section is
337 compressed, but it is not big enough to hold a compression
338 header then warn and return 0.
d8024a91 339
db9537d2
NC
340 PR binutils/20439
341 * dwarf.c (display_debug_lines_decoded): Check directory and file
342 indicies before using them to access directory and file tables.
343
2d5bddc1
NC
3442016-08-02 Nick Clifton <nickc@redhat.com>
345
346 PR binutils/17512
347 * resbin.c (bin_to_res_version): Cast variables to correct type
348 for printing in error message.
349
4931146e
NC
3502016-07-28 Nick Clifton <nickc@redhat.com>
351
352 PR binutils/17512
353 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
354 * resbin.c (bin_to_res_version): Allow for the padded length of a
355 version block to be longer than the recorded length. Skip padding
356 bytes.
357
fecd57f9
L
3582016-07-21 H.J. Lu <hongjiu.lu@intel.com>
359
360 * configure: Regenerated.
361
37fd5ef3
CZ
3622016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
363
364 * doc/binutils.texi (objdump): Add ARC disassembler options.
365 * testsuite/binutils-all/arc/dsp.s: New file.
366 * testsuite/binutils-all/arc/objdump.exp: Likewise.
367 * NEWS: Mention the new feature.
368
f2629855
NC
3692016-07-20 Nick Clifton <nickc@redhat.com>
370
371 * doc/binutils.texi (objcopy): Note that the localize symbol
372 options do not affect unique symbols.
373
7d0b9ebc
AM
3742016-07-16 Alan Modra <amodra@gmail.com>
375
376 * ar.c: Include plugin-api.h.
377 * nm.c: Likewise.
378
aac502f7
AM
3792016-07-16 Alan Modra <amodra@gmail.com>
380
381 * bucomm.c: Don't include libbfd.h.
382 (endian_string, display_target_list): Delete forward declaration.
383 (display_info_table, display_target_tables): Likewise.
384 (LONGEST_ARCH): Delete.
385 (struct display_target): New.
386 (do_display_target): New function.
387 (display_target_list, display_info): Rewrite functions.
388 (display_info_table): Delete.
389 (do_info_size, do_info_header, do_info_row): New functions.
390
16412c3b
AM
3912016-07-16 Alan Modra <amodra@gmail.com>
392
393 * elfcomm.h (HOST_WIDEST_INT): Move to..
394 * sysdep.h: ..here.
395 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
396 (dump_dyld_info_rebase): Use read_leb128 rather than
397 read_unsigned_leb128.
398 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
399 (dump_segment_split_info): Likewise.
400 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
401 (dump_load_command): Likewise.
402
76e7a751
AM
4032016-07-16 Alan Modra <amodra@gmail.com>
404
405 * ar.c: Don't include libbfd.h.
406 * objcopy.c: Likewise.
407 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
408 bfd_malloc.
409
003c15c9
AM
4102016-07-15 Alan Modra <amodra@gmail.com>
411
412 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
413
d3e5f6c8
AB
4142016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
415
416 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
417 (strip): Likewise.
418 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
419 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
420 (struct option strip_options): Add 'remove-relocations'.
421 (struct option copy_options): Likewise.
422 (copy_usage): Likewise.
423 (strip_usage): Likewise.
424 (handle_remove_relocations_option): New function.
425 (discard_relocations): New function.
426 (handle_remove_section_option): New function.
427 (copy_relocations_in_section): Use discard_relocations.
428 (strip_main): Use handle_remove_section_option for
429 'remove-section', and handle 'remove-relocations' option.
430 (copy_main): Likewise.
431 * testsuite/binutils-all/objcopy.exp: Run new tests.
432 * testsuite/binutils-all/remove-relocs-01.d: New file.
433 * testsuite/binutils-all/remove-relocs-01.s: New file.
434 * testsuite/binutils-all/remove-relocs-02.d: New file.
435 * testsuite/binutils-all/remove-relocs-03.d: New file.
436 * testsuite/binutils-all/remove-relocs-04.d: New file.
437 * testsuite/binutils-all/remove-relocs-05.d: New file.
438 * testsuite/binutils-all/remove-relocs-06.d: New file.
439 * NEWS: Mention new option.
440
e511c9b1
AB
4412016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
442
443 * objcopy.c (find_section_list): Handle section patterns starting
444 with '!' being a non-matching pattern.
445 * doc/binutils.texi (objcopy): Give example of using '!' with
446 --remove-section and --only-section.
447 (strip): Give example of using '!' with --remove-section.
448 * testsuite/binutils-all/data-sections.s: New file.
449 * testsuite/binutils-all/only-section-01.d: New file.
450 * testsuite/binutils-all/remove-section-01.d: New file.
451 * testsuite/binutils-all/objcopy.exp: Run new tests.
452 * NEWS: Mention new feature.
453
32a0481f
AM
4542016-07-09 Alan Modra <amodra@gmail.com>
455
456 PR binutils/20337
457 * objdump.c (compare_symbols): For ELF, sort same value/type
458 symbols according to size.
459
f0728ee3
AV
4602016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
461
462 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
463 to SEC_ELF_NOREAD.
464 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
465 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
466 (process_section_headers): Rename noread to purecode.
467
468 * section.c (SEC_ELF_NOREAD): Rename to ...
469 (SEC_ELF_PURECODE): ... this.
470
98a4fc78
NC
4712016-07-01 Nick Clifton <nickc@redhat.com>
472
473 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
474 extremely large decimal value.
475 (pr_range_type): Likewise.
476 (pr_array_type): Likewise.
477 (pr_struct_field): Likewise.
478 (pr_class_baseclass): Likewise.
479 (pr_class_method_variant): Likewise.
480 (pr_tag_type): Likewise.
481 (pr_int_constant): Likewise.
482 (pr_typed_constant): Likewise.
483 (pr_variable): Likewise.
484 (pr_function_parameter): Likewise.
485 (pr_start_block): Likewise.
486 (pr_lineno): Likewise.
487 (pr_end_block): Likewise.
488 (tg_enum_type): Likewise.
489 (tg_int_constant): Likewise.
490 (tg_typed_constant): Likewise.
491 (tg_start_block): Likewise.
492
41699fa4
NC
4932016-07-01 Nick Clifton <nickc@redhat.com>
494
495 * testsuite/binutils-all/objcopy.exp
496 (objcopy_test_without_global_symbol): Expect this test to fail on
497 the AArch64 and ARM targets, since they preserve their mapping
498 symbols.
499
96a84ea3
TG
5002016-07-01 Tristan Gingold <gingold@adacore.com>
501
502 * NEWS: Add marker for 2.27.
503
b2a40aa5
TG
5042016-07-30 Tristan Gingold <gingold@adacore.com>
505
506 * doc/binutils.texi (objdump): Fix mis-placement.
507
50c901ed
NC
5082016-06-28 Nick Clifton <nickc@redhat.com>
509
510 * testsuite/binutils-all/ar.exp: Relax previous restriction on
511 Alpha targets. Allow ELF based Alpha targets.
512
eb9bb5b4
MR
5132016-06-28 Maciej W. Rozycki <macro@imgtec.com>
514
515 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
516 the `unique_symbol' test.
517
f2b2af2c
AM
5182016-06-28 Alan Modra <amodra@gmail.com>
519
520 PR 20304
521 * objdump.c (objdump_print_symname): Don't attempt to retrieve
522 version info from synthetic symbols.
523
9cc0123f
AM
5242016-06-24 Alan Modra <amodra@gmail.com>
525
526 * objcopy.c (find_section_rename): Forward declare. Remove
527 ibfd and sec_ptr param. Add old_name param. Allow for NULL
528 returned_flags. Move read of section name and flags to..
529 (setup_section): ..here. Update find_section_rename call.
530 (filter_symbols): Rename section symbols for renamed sections.
531 (copy_object): Call filter_symbols when renamed sections.
532 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
533 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
534 mips xfail.
535 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
536 is_bad_symtab.
537 (localize-hidden-1): xfail if is_bad_symtab.
538 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
539 between mips/tmips.
540
43339b1d
AM
5412016-06-24 Alan Modra <amodra@gmail.com>
542
543 * objdump.c (struct print_file_list): Add "max_printed".
544 (try_print_file_open): Init new field.
545 (show_line): Don't show 5 context lines when redisplaying source.
546
96037eb0
NC
5472016-06-22 Nick Clifton <nickc@redhat.com>
548
549 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
550 Skip bfdtest1 tests for tic30 target.
551 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
552 target.
553 * testsuite/binutils-all/compress.exp: Expect some tests to fail
554 on the nds32.
555 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
556 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
557 targets.
558 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
559 targets.
560 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
561 if the bintest.o file was created. Use the
562 get_standard_section_names proc to get the name of the data
563 section.
564 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
565 RX section names.
566 * testsuite/binutils-all/readelf.exp: Use
567 get_standard_section_names proc to get the name of the data
568 section.
569 * testsuite/binutils-all/readelf.r: Allow for non standard text
570 section names.
571 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
572 * testsuite/binutils-all/size.exp: Allow for non standard section
573 names.
574 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
575 to fail on mips targets.
576 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
577 get_standard_section_names proc.
578 (run_dump_test): Likewise.
579 (proc get_standard_section_names): New proc.
580
d5b07ef4
NC
5812016-06-22 Nick Clifton <nickc@redhat.com>
582
583 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
584 (process_mips_specific): Likewise.
585 (process_gnu_liblist): Likewise.
586
bdd582db
GM
5872016-06-21 Graham Markall <graham.markall@embecosm.com>
588
589 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
590 case.
591
3ee6e4fb
NC
5922016-06-15 Nick Clifton <nickc@redhat.com>
593
594 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
595 reloc.
596
eecc1a7f
JB
5972016-06-14 John Baldwin <jhb@FreeBSD.org>
598
599 * objcopy.c (do_elf_stt_common): Use correct type.
600
3860d2b4
AM
6012016-06-14 Alan Modra <amodra@gmail.com>
602
603 * ar.c: Expand uses of bfd_my_archive.
604 * size.c: Likewise.
605
b0cffb47
AM
6062016-06-14 Alan Modra <amodra@gmail.com>
607
608 PR ld/20241
609 * bucomm.c (bfd_get_archive_filename): Return file name within thin
610 archive.
611
5b6312fd
NC
6122016-06-02 Nick Clifton <nickc@redhat.com>
613
bcc3a8bc
NC
614 PR 20089
615 * objcopy.c (group_signature): Fail if the input symbol table has
c09ec62d 616 not been loaded, or if the sh_info field of the group header is 0.
bcc3a8bc 617
5b6312fd
NC
618 * dwarf.c (display_debug_frames): Do not display any
619 interpretation if the block consists solely of DW__CFA_NOPs.
620
f7433f01
AM
6212016-05-31 Alan Modra <amodra@gmail.com>
622
623 * objcopy.c: Formatting, whitespace throughout.
624 (copy_main): Init newsym->othersym.
625 (parse_symflags): Make len a size_t. Adjust uses.
626
e6cc316a
L
6272016-05-25 H.J. Lu <hongjiu.lu@intel.com>
628
629 PR binutils/14625
630 * NEWS: Mention --enable-64-bit-archive.
631
f507bebf
NC
6322016-05-18 Nick Clifton <nickc@redhat.com>
633
634 PR 20096
635 * objcopy.c (copy_relocations_in_section): Also check for the
636 symbol pointed to by sym_ptr_ptr being NULL.
637
1401d2fe
MR
6382016-05-18 Maciej W. Rozycki <macro@imgtec.com>
639
640 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
641 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
642 source.
643 * testsuite/binutils-all/mips/mips.exp: Run the new test.
644
50498060
NC
6452016-05-18 Nick Clifton <nickc@redhat.com>
646
647 * po/sv.po: Updated Swedish translation.
648
c69075ac
MR
6492016-05-18 Maciej W. Rozycki <macro@imgtec.com>
650
651 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
652 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
653 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
654 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
655 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
656 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
657 `d_val' rather than `d_ptr' member of the dynamic entry.
658
a43942db
MR
6592016-05-17 Maciej W. Rozycki <macro@imgtec.com>
660
661 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
662 procedure.
663 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
664 with the `strip-10' test.
665
71de3413
MR
6662016-05-16 Maciej W. Rozycki <macro@imgtec.com>
667
668 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
669 test for the V850.
670
8f4f9071
MF
6712016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
672
673 * readelf.c (print_mips_ases): Add DSPR3.
674
15afaa63
TP
6752016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
676
677 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
678 (arm_attr_public_tags): Define DSP_extension attribute.
679
29f4fdc4
AB
6802016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * doc/binutils.texi (nm): Update description of --size-sort.
683
315350be
NC
6842016-05-09 Nick Clifton <nickc@redhat.com>
685
686 PR binutils/20063
687 * readelf.c (get_32bit_section_headers): Warn if an out of range
688 sh_link or sh_info field is encountered.
689 (get_64bit_section_headers): Likewise.
690
4a85cc09
SKS
6912016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
692
693 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
694
99d1b268
NC
6952016-05-03 Nick Clifton <nickc@redhat.com>
696
697 * po/sv.po: Updated Swedish translation.
698
d347c9df
PS
6992016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
700
701 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
702 PC relocation for AVR target.
703 (is_none_reloc): Return true if reloc is any of AVR diff
704 relocations.
705
5522f910
NC
7062016-04-29 Nick Clifton <nickc@redhat.com>
707
708 PR 19938
709 * readelf.c (get_solaris_segment_type): New function.
710 (get_segment_type): Call it.
711
786a118c
NC
7122016-04-28 Nick Clifton <nickc@redhat.com>
713
714 * po/zh_CN.po: Updated Chinese (simplified) translation.
715
4bd13cde
NC
7162016-04-28 Nick Clifton <nickc@redhat.com>
717
718 PR target/19722
719 * testsuite/binutils-all/aarch64/illegal.s: New test.
720 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
721
e6c7cdec
TS
7222016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
723
724 * resres.c: Likewise.
725
6fd8e7c2
L
7262016-04-15 H.J. Lu <hongjiu.lu@intel.com>
727
728 * Makefile.in: Regenerated with automake 1.11.6.
729 * aclocal.m4: Likewise.
730 * doc/Makefile.in: Likewise.
731
84865015
NC
7322016-04-14 Nick Clifton <nickc@redhat.com>
733
734 PR target/19938
735 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
736 string sections possibly having the SHF_STRINGS flag bit set.
737 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
738 * testsuite/binutils-all/readelf.s: Likewise.
739 * testsuite/binutils-all/readelf.s-64: Likewise.
740 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
741 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
742
fd85a6a1
NC
7432016-04-13 Nick Clifton <nickc@redhat.com>
744
84865015 745 PR target/19938
fd85a6a1
NC
746 * readelf.c (get_solaris_section_type): New function: Returns the
747 name of Solaris specific section types.
748 (get_solaris_dynamic_type): New function: Return the name of
749 Solaris specific dynamic types.
750 (get_dynamic_type): Use get_solaris_dynamic_type.
751 (get_section_type_name): Use get_solaris_section_type.
752 (get_solaris_symbol_visibility): New function: Returns Solaris
753 specific symbol visibilities.
754 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
755 (process_symbol_table): Likewise.
756
d6bb17b0
AA
7572016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
758
759 * dwarf.h (init_dwarf_regnames_s390): Declare.
760 * dwarf.c (dwarf_regnames_s390): New.
761 (init_dwarf_regnames_s390): New.
762 (init_dwarf_regnames): Call it.
763 * objdump.c (dump_dwarf): Likewise.
764
92708cec
MR
7652016-04-11 Maciej W. Rozycki <macro@imgtec.com>
766
767 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
768 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
769 source.
770 * testsuite/binutils-all/mips/mips.exp: Run the new test.
771
67f101ee
NC
7722016-04-04 Nick Clifton <nickc@redhat.com>
773
774 PR 19872
775 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
776 version number if the version is zero.
777
ed754a13
AM
7782016-03-29 Alan Modra <amodra@gmail.com>
779
780 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
781 (get_dynamic_data): Likewise.
782
9780e045
NC
7832016-03-22 Nick Clifton <nickc@redhat.com>
784
34b9f729
NC
785 PR 19851
786 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
787 with run time size check.
788
9780e045
NC
789 * configure: Regenerate.
790
8699fc3e
AB
7912016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
792
793 * readelf.c (decode_ARC_machine_flags): Handle nps400.
794
a9522a21
AB
7952016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
796
797 * readelf.c (get_machine_flags): Move arc processing into...
798 (decode_ARC_machine_flags): ... new function. Remove use of
799 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
800 "unknown arc". Merged ABI printing between two machine types.
801
24740d83
AB
8022016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
803
804 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
805 to the architecture list.
806
e1fa0163
NC
8072016-03-21 Nick Clifton <nickc@redhat.com>
808
809 * dlltool.c: Replace use of alloca with call to xmalloc.
810 * dllwrap.c: Likewise.
811 * nlmconv.c: Likewise.
812 * objdump.c: Likewise.
813 * resrc.c: Likewise.
814 * winduni.c: Likewise.
815 * configure: Regenerate.
816
4fc87424
NC
8172016-03-07 Nick Clifton <nickc@redhat.com>
818
819 PR binutils/19775
820 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
821 Run the new proc.
822 * testsuite/binutils-all/empty: New, empty, file.
823
9411fd44
MW
8242016-03-04 Matthew Wahab <matthew.wahab@arm.com>
825
826 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
827
11e5f1ec
L
8282016-02-26 H.J. Lu <hongjiu.lu@intel.com>
829
830 PR ld/19645
831 * NEWS: Mention --elf-stt-common= for objcopy.
832 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
833 * objcopy.c (do_elf_stt_common): New.
834 (command_line_switch): Add OPTION_ELF_STT_COMMON.
835 (copy_options): Add --elf-stt-common=.
836 (copy_usage): Add --elf-stt-common=.
837 (copy_object): Also check do_elf_stt_common for ELF targets.
838 (copy_file): Handle do_elf_stt_common.
839 (copy_main): Handle OPTION_ELF_STT_COMMON.
840 * readelf.c (apply_relocations): Support STT_COMMON.
841 * testsuite/binutils-all/common-1.s: New file.
842 * testsuite/binutils-all/common-1a.d: Likewise.
843 * testsuite/binutils-all/common-1b.d: Likewise.
844 * testsuite/binutils-all/common-1c.d: Likewise.
845 * testsuite/binutils-all/common-1d.d: Likewise.
846 * testsuite/binutils-all/common-1e.d: Likewise.
847 * testsuite/binutils-all/common-1f.d: Likewise.
848 * testsuite/binutils-all/common-2.s: Likewise.
849 * testsuite/binutils-all/common-2a.d: Likewise.
850 * testsuite/binutils-all/common-2b.d: Likewise.
851 * testsuite/binutils-all/common-2c.d: Likewise.
852 * testsuite/binutils-all/common-2d.d: Likewise.
853 * testsuite/binutils-all/common-2e.d: Likewise.
854 * testsuite/binutils-all/common-2f.d: Likewise.
855 * testsuite/binutils-all/objcopy.exp
856 (objcopy_test_elf_common_symbols): New proc.
857 Run objcopy_test_elf_common_symbols for ELF targets
858
a9fb83be
L
8592016-02-16 H.J. Lu <hongjiu.lu@intel.com>
860
861 PR binutils/19647
862 * readelf.c (get_section_type_name): Add a missing break.
863
726c18e1
CZ
8642016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
865
866 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
867
9fb71ee4
NC
8682016-02-15 Nick Clifton <nickc@redhat.com>
869
870 * readelf.c (get_section_type_name): Add hex prefix to offsets
871 printed for LOPROC and LOOS values. Ensure that a result is
872 always returned for the V850 target, even when an unrecognised
873 processor specific value is encountered.
874 (process_section_headers): Display key values in the order in
875 which they appear to the user. Add the "C (compressed)" value to
876 the list.
877
96d491cf
L
8782016-02-12 H.J. Lu <hongjiu.lu@intel.com>
879
880 * doc/binutils.texi: Fix a typo.
881
bdbca4e6
CM
8822016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
883
884 * testsuite/binutils-all/objdump.exp: Update expected default
885 architecture value for ARC binaries.
886
14f2c699
L
8872016-02-02 H.J. Lu <hongjiu.lu@intel.com>
888
889 PR binutils/19547
890 * testsuite/binutils-all/objcopy.exp
891 (objcopy_test_without_global_symbol): New proc.
892 Run objcopy_test_without_global_symbol.
893 * testsuite/binutils-all/pr19547.c: New file.
894
bf150a0b
L
8952016-01-28 H.J. Lu <hongjiu.lu@intel.com>
896
897 PR binutils/19523
898 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
899 runtest.
900 * Makefile.in: Regenerated.
901 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
902 proc.
903 Run test_gnu_debuglink for native ELF build.
904
0398b8d6
NC
9052016-01-20 Nick Clifton <nickc@redhat.com>
906
907 PR 19495
908 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
bdbca4e6 909 do not support inserting leading underscores.
0398b8d6 910
91f68a68
MG
9112016-01-20 Mickael Guene <mickael.guene@st.com>
912
913 * readelf.c (get_elf_section_flags): Display y letter for section
914 with SHF_ARM_NOREAD section flag in readelf section output.
915 (process_section_headers): Add y letter in readelf section output
916 key mapping for ARM architecture.
917 * objdump.c (dump_section_header): Display NOREAD attributes as
918 well.
919 * doc/binutils.texi (objdump): Note that it is correct for
920 sections to have both the READONLY and NOREAD attributes.
921
40068dcc
JB
9222016-01-19 John Baldwin <jhb@FreeBSD.org>
923
924 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
925
f4ddf30f
JB
9262016-01-19 John Baldwin <jhb@FreeBSD.org>
927
928 * readelf.c (get_freebsd_elfcore_note_type): New
929 (process_note): Add support for FreeBSD core notes.
930
34e967a5
MC
9312016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
932 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
933
934 * readelf.c (get_machine_flags): Add support for newer ARC ELF
935 header flags.
936
3d961d0d
AM
9372016-01-18 Alan Modra <amodra@gmail.com>
938
939 * configure: Regenerate.
940
5c14705f
AM
9412016-01-17 Alan Modra <amodra@gmail.com>
942
943 * configure: Regenerate.
944
b3066ae8
AM
9452016-01-17 Alan Modra <amodra@gmail.com>
946
947 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
948 for m68hc11/12 and xgate triples.
949
adec12c1
AM
9502016-01-17 Alan Modra <amodra@gmail.com>
951
952 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
953
6f2750fe
AM
9542016-01-01 Alan Modra <amodra@gmail.com>
955
956 Update year range in copyright notice of all files.
957
3499769a
AM
958For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
959\f
960Copyright (C) 2016 Free Software Foundation, Inc.
961
962Copying and distribution of this file, with or without modification,
963are permitted in any medium without royalty provided the copyright
964notice and this notice are preserved.
965
966Local Variables:
967mode: change-log
968left-margin: 8
969fill-column: 74
970version-control: never
971End: