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