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