Add support for RISC-V architecture.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
e23eba97
NC
12016-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
1449284b
NC
152016-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
6d913794
NC
312016-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
e913b9cb
LM
432016-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
a24bb4f0
NC
482016-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
1a0670f3
AM
632016-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
1e0f0b4d
AM
732016-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
2b804145
AM
862016-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
b82317dd
AM
912016-09-29 Alan Modra <amodra@gmail.com>
92
93 * readelf.c (process_arch_specific): Call process_power_specific
94 for EM_PPC64.
95
c5da1932
VZ
962016-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
005d79fd
AM
1042016-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
7358f4cb
AM
1112016-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
2387dd90
AM
1172016-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
fb324ee9
EM
1252016-09-14 Ed Maste <emaste@freebsd.org>
126
127 * readelf.c (process_mips_specific): Fix typo in error message.
128
21b65bac
NC
1292016-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
f53be977
L
1342016-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
dd905818
NC
1392016-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
52c3c391
NC
1452016-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
db9537d2
NC
1512016-08-08 Nick Clifton <nickc@redhat.com>
152
d8024a91
NC
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.
f53be977
L
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.
d8024a91 161
db9537d2
NC
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
2d5bddc1
NC
1662016-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
4931146e
NC
1722016-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
fecd57f9
L
1802016-07-21 H.J. Lu <hongjiu.lu@intel.com>
181
182 * configure: Regenerated.
183
37fd5ef3
CZ
1842016-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
f2629855
NC
1912016-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
7d0b9ebc
AM
1962016-07-16 Alan Modra <amodra@gmail.com>
197
198 * ar.c: Include plugin-api.h.
199 * nm.c: Likewise.
200
aac502f7
AM
2012016-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
16412c3b
AM
2132016-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
76e7a751
AM
2252016-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
003c15c9
AM
2322016-07-15 Alan Modra <amodra@gmail.com>
233
234 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
235
d3e5f6c8
AB
2362016-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
e511c9b1
AB
2632016-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
32a0481f
AM
2762016-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
f0728ee3
AV
2822016-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
98a4fc78
NC
2932016-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
41699fa4
NC
3152016-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
96a84ea3
TG
3222016-07-01 Tristan Gingold <gingold@adacore.com>
323
324 * NEWS: Add marker for 2.27.
325
b2a40aa5
TG
3262016-07-30 Tristan Gingold <gingold@adacore.com>
327
328 * doc/binutils.texi (objdump): Fix mis-placement.
329
50c901ed
NC
3302016-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
eb9bb5b4
MR
3352016-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
f2b2af2c
AM
3402016-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
9cc0123f
AM
3462016-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
43339b1d
AM
3632016-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
96037eb0
NC
3692016-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
d5b07ef4
NC
4032016-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
bdd582db
GM
4092016-06-21 Graham Markall <graham.markall@embecosm.com>
410
411 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
412 case.
413
3ee6e4fb
NC
4142016-06-15 Nick Clifton <nickc@redhat.com>
415
416 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
417 reloc.
418
eecc1a7f
JB
4192016-06-14 John Baldwin <jhb@FreeBSD.org>
420
421 * objcopy.c (do_elf_stt_common): Use correct type.
422
3860d2b4
AM
4232016-06-14 Alan Modra <amodra@gmail.com>
424
425 * ar.c: Expand uses of bfd_my_archive.
426 * size.c: Likewise.
427
b0cffb47
AM
4282016-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
5b6312fd
NC
4342016-06-02 Nick Clifton <nickc@redhat.com>
435
bcc3a8bc
NC
436 PR 20089
437 * objcopy.c (group_signature): Fail if the input symbol table has
c09ec62d 438 not been loaded, or if the sh_info field of the group header is 0.
bcc3a8bc 439
5b6312fd
NC
440 * dwarf.c (display_debug_frames): Do not display any
441 interpretation if the block consists solely of DW__CFA_NOPs.
442
f7433f01
AM
4432016-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
e6cc316a
L
4492016-05-25 H.J. Lu <hongjiu.lu@intel.com>
450
451 PR binutils/14625
452 * NEWS: Mention --enable-64-bit-archive.
453
f507bebf
NC
4542016-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
1401d2fe
MR
4602016-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
50498060
NC
4672016-05-18 Nick Clifton <nickc@redhat.com>
468
469 * po/sv.po: Updated Swedish translation.
470
c69075ac
MR
4712016-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
a43942db
MR
4812016-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
71de3413
MR
4882016-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
8f4f9071
MF
4932016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
494
495 * readelf.c (print_mips_ases): Add DSPR3.
496
15afaa63
TP
4972016-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
29f4fdc4
AB
5022016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
503
504 * doc/binutils.texi (nm): Update description of --size-sort.
505
315350be
NC
5062016-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
4a85cc09
SKS
5132016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
514
515 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
516
99d1b268
NC
5172016-05-03 Nick Clifton <nickc@redhat.com>
518
519 * po/sv.po: Updated Swedish translation.
520
d347c9df
PS
5212016-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
5522f910
NC
5282016-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
786a118c
NC
5342016-04-28 Nick Clifton <nickc@redhat.com>
535
536 * po/zh_CN.po: Updated Chinese (simplified) translation.
537
4bd13cde
NC
5382016-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
e6c7cdec
TS
5442016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
545
546 * resres.c: Likewise.
547
6fd8e7c2
L
5482016-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
84865015
NC
5542016-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
fd85a6a1
NC
5652016-04-13 Nick Clifton <nickc@redhat.com>
566
84865015 567 PR target/19938
fd85a6a1
NC
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
d6bb17b0
AA
5792016-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
92708cec
MR
5872016-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
67f101ee
NC
5942016-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
ed754a13
AM
6002016-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
9780e045
NC
6052016-03-22 Nick Clifton <nickc@redhat.com>
606
34b9f729
NC
607 PR 19851
608 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
609 with run time size check.
610
9780e045
NC
611 * configure: Regenerate.
612
8699fc3e
AB
6132016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
614
615 * readelf.c (decode_ARC_machine_flags): Handle nps400.
616
a9522a21
AB
6172016-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
24740d83
AB
6242016-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
e1fa0163
NC
6292016-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
4fc87424
NC
6392016-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
9411fd44
MW
6462016-03-04 Matthew Wahab <matthew.wahab@arm.com>
647
648 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
649
11e5f1ec
L
6502016-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
a9fb83be
L
6812016-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
726c18e1
CZ
6862016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
687
688 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
689
9fb71ee4
NC
6902016-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
96d491cf
L
7002016-02-12 H.J. Lu <hongjiu.lu@intel.com>
701
702 * doc/binutils.texi: Fix a typo.
703
bdbca4e6
CM
7042016-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
14f2c699
L
7092016-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
bf150a0b
L
7172016-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
0398b8d6
NC
7272016-01-20 Nick Clifton <nickc@redhat.com>
728
729 PR 19495
730 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
bdbca4e6 731 do not support inserting leading underscores.
0398b8d6 732
91f68a68
MG
7332016-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
40068dcc
JB
7442016-01-19 John Baldwin <jhb@FreeBSD.org>
745
746 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
747
f4ddf30f
JB
7482016-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
34e967a5
MC
7532016-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
3d961d0d
AM
7592016-01-18 Alan Modra <amodra@gmail.com>
760
761 * configure: Regenerate.
762
5c14705f
AM
7632016-01-17 Alan Modra <amodra@gmail.com>
764
765 * configure: Regenerate.
766
b3066ae8
AM
7672016-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
adec12c1
AM
7722016-01-17 Alan Modra <amodra@gmail.com>
773
774 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
775
6f2750fe
AM
7762016-01-01 Alan Modra <amodra@gmail.com>
777
778 Update year range in copyright notice of all files.
779
3499769a
AM
780For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
781\f
782Copyright (C) 2016 Free Software Foundation, Inc.
783
784Copying and distribution of this file, with or without modification,
785are permitted in any medium without royalty provided the copyright
786notice and this notice are preserved.
787
788Local Variables:
789mode: change-log
790left-margin: 8
791fill-column: 74
792version-control: never
793End:
This page took 0.117064 seconds and 4 git commands to generate.