btrace: remove leftover comment
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
a24bb4f0
NC
12016-10-11 Nick Clifton <nickc@redhat.com>
2
3 * objdump.c (is_significant_symbol_name): New function.
4 (remove_useless_symbols): Do not remove significanr symbols.
5 (find_symbol_for_address): If an exact match for the specified
6 address has not been found, try scanning the dynamic relocs to see
7 if one of these matches the address. If so, use the symbol
8 associated with the reloc.
9 (objdump_print_addr_with_symbol): Do not print offsets to symbols
10 with no value.
11 (disassemble_section): Only use dynamic relocs if the user
12 requested this.
13 (disassemble_data): Always load dynamic relocs if they are
14 available.
15
1a0670f3
AM
162016-10-06 Alan Modra <amodra@gmail.com>
17
18 * dlltool.c: Spell fall through comments consistently.
19 * objcopy.c: Likewise.
20 * readelf.c: Likewise.
21 * dwarf.c: Add missing fall through comments.
22 * elfcomm.c: Likewise.
23 * sysinfo.y: Likewise.
24 * readelf.c: Likewise. Also remove extraneous comments.
25
1e0f0b4d
AM
262016-10-06 Alan Modra <amodra@gmail.com>
27
28 * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN.
29 * elfedit.c (usage): Likewise.
30 * nm.c (usage): Likewise.
31 * objcopy.c (copy_usage, strip_usage): Likewise.
32 * srconv.c (show_usage): Likewise.
33 * strings.c (usage): Likewise.
34 * sysdump.c (show_usage): Likewise.
35 * srconv.c: Remove unneeded forward function declarations.
36 * strings.c: Likewise.
37 * sysdump.c: Likewise.
38
2b804145
AM
392016-10-06 Alan Modra <amodra@gmail.com>
40
41 * coffdump.c (dump_coff_where): Add missing break.
42 * stabs.c (stab_xcoff_builtin_type): Likewise.
43
b82317dd
AM
442016-09-29 Alan Modra <amodra@gmail.com>
45
46 * readelf.c (process_arch_specific): Call process_power_specific
47 for EM_PPC64.
48
c5da1932
VZ
492016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
50
51 * Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
52 when building with CC_FOR_BUILD compiler.
53 * Makefile.in: Regenerate.
54 * configure: Likewise.
55 * doc/Makefile.in: Likewise.
56
005d79fd
AM
572016-09-26 Alan Modra <amodra@gmail.com>
58
59 * readelf.c (display_power_gnu_attribute): Catch truncated section
60 for all powerpc attributes. Display long double ABI. Don't
61 capitalize words, except for names. Show known bits of tag values
62 when some unknown bits are present. Whitespace fixes.
63
7358f4cb
AM
642016-09-26 Alan Modra <amodra@gmail.com>
65
66 * nm.c (get_elf_symbol_type): Don't use sprintf with translated
67 strings, use asprintf instead.
68 (get_coff_symbol_type): Likewise.
69
2387dd90
AM
702016-09-19 Alan Modra <amodra@gmail.com>
71
72 * nm.c (print_symbol): Remove is_synthetic param. Test sym->flags
73 instead.
74 (print_size_symbols, print_symbols): Adjust to suit, deleting
75 now unused synth_count param and fromsynth var.
76 (display_rel_file): Adjust, localizing synth_count.
77
fb324ee9
EM
782016-09-14 Ed Maste <emaste@freebsd.org>
79
80 * readelf.c (process_mips_specific): Fix typo in error message.
81
21b65bac
NC
822016-09-06 Nick Clifton <nickc@redhat.com>
83
84 * readelf.c (request_dump_bynumber): Only call memcpy if
85 dump_sects is not NULL.
86
f53be977
L
872016-08-29 H.J. Lu <hongjiu.lu@intel.com>
88
89 * readelf.c (load_specific_debug_section): Check the external
90 compression header size.
91
dd905818
NC
922016-08-19 Nick Clifton <nickc@redhat.com>
93
94 * testsuite/binutils-all/readelf.s: Adjust expected ordering of
95 sections.
96 * testsuite/binutils-all/readelf.s-64: Likewise.
97
52c3c391
NC
982016-08-12 Nick Clifton <nickc@redhat.com>
99
100 * readelf.c (process_symbol_table): Generate a warning if a local
101 symbol is found at and offste greater than or equal to the sh_info
102 field of it's section header.
103
db9537d2
NC
1042016-08-08 Nick Clifton <nickc@redhat.com>
105
d8024a91
NC
106 PR binutils/20440
107 * dwarf.c (display_debug_lines_decoded): Add checks for running
108 off the end of the section when populating the directory table and
109 file table.
110 (frame_display_row): Set max_regs equal to ncols.
f53be977
L
111 * readelf.c (load_specific_debug_section): If the section is
112 compressed, but it is not big enough to hold a compression
113 header then warn and return 0.
d8024a91 114
db9537d2
NC
115 PR binutils/20439
116 * dwarf.c (display_debug_lines_decoded): Check directory and file
117 indicies before using them to access directory and file tables.
118
2d5bddc1
NC
1192016-08-02 Nick Clifton <nickc@redhat.com>
120
121 PR binutils/17512
122 * resbin.c (bin_to_res_version): Cast variables to correct type
123 for printing in error message.
124
4931146e
NC
1252016-07-28 Nick Clifton <nickc@redhat.com>
126
127 PR binutils/17512
128 * rescoff.c (read_coff_res_dir): Fix detection of buffer overrun.
129 * resbin.c (bin_to_res_version): Allow for the padded length of a
130 version block to be longer than the recorded length. Skip padding
131 bytes.
132
fecd57f9
L
1332016-07-21 H.J. Lu <hongjiu.lu@intel.com>
134
135 * configure: Regenerated.
136
37fd5ef3
CZ
1372016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
138
139 * doc/binutils.texi (objdump): Add ARC disassembler options.
140 * testsuite/binutils-all/arc/dsp.s: New file.
141 * testsuite/binutils-all/arc/objdump.exp: Likewise.
142 * NEWS: Mention the new feature.
143
f2629855
NC
1442016-07-20 Nick Clifton <nickc@redhat.com>
145
146 * doc/binutils.texi (objcopy): Note that the localize symbol
147 options do not affect unique symbols.
148
7d0b9ebc
AM
1492016-07-16 Alan Modra <amodra@gmail.com>
150
151 * ar.c: Include plugin-api.h.
152 * nm.c: Likewise.
153
aac502f7
AM
1542016-07-16 Alan Modra <amodra@gmail.com>
155
156 * bucomm.c: Don't include libbfd.h.
157 (endian_string, display_target_list): Delete forward declaration.
158 (display_info_table, display_target_tables): Likewise.
159 (LONGEST_ARCH): Delete.
160 (struct display_target): New.
161 (do_display_target): New function.
162 (display_target_list, display_info): Rewrite functions.
163 (display_info_table): Delete.
164 (do_info_size, do_info_header, do_info_row): New functions.
165
16412c3b
AM
1662016-07-16 Alan Modra <amodra@gmail.com>
167
168 * elfcomm.h (HOST_WIDEST_INT): Move to..
169 * sysdep.h: ..here.
170 * od-macho.c: Don't include libbfd.h. Do include dwarf.h
171 (dump_dyld_info_rebase): Use read_leb128 rather than
172 read_unsigned_leb128.
173 (dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
174 (dump_segment_split_info): Likewise.
175 (dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
176 (dump_load_command): Likewise.
177
76e7a751
AM
1782016-07-16 Alan Modra <amodra@gmail.com>
179
180 * ar.c: Don't include libbfd.h.
181 * objcopy.c: Likewise.
182 * bucomm.c (bfd_get_archive_filename): Use xmalloc rather than
183 bfd_malloc.
184
003c15c9
AM
1852016-07-15 Alan Modra <amodra@gmail.com>
186
187 * testsuite/binutils-all/remove-relocs-01.s: Use .dc.a, not .word.
188
d3e5f6c8
AB
1892016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
190
191 * doc/binutils.texi (objcopy): Document 'remove-relocations'.
192 (strip): Likewise.
193 * objcopy.c (SECTION_CONTEXT_REMOVE_RELOCS): Define.
194 (enum command_line_switch): Add 'OPTION_REMOVE_RELOCS'.
195 (struct option strip_options): Add 'remove-relocations'.
196 (struct option copy_options): Likewise.
197 (copy_usage): Likewise.
198 (strip_usage): Likewise.
199 (handle_remove_relocations_option): New function.
200 (discard_relocations): New function.
201 (handle_remove_section_option): New function.
202 (copy_relocations_in_section): Use discard_relocations.
203 (strip_main): Use handle_remove_section_option for
204 'remove-section', and handle 'remove-relocations' option.
205 (copy_main): Likewise.
206 * testsuite/binutils-all/objcopy.exp: Run new tests.
207 * testsuite/binutils-all/remove-relocs-01.d: New file.
208 * testsuite/binutils-all/remove-relocs-01.s: New file.
209 * testsuite/binutils-all/remove-relocs-02.d: New file.
210 * testsuite/binutils-all/remove-relocs-03.d: New file.
211 * testsuite/binutils-all/remove-relocs-04.d: New file.
212 * testsuite/binutils-all/remove-relocs-05.d: New file.
213 * testsuite/binutils-all/remove-relocs-06.d: New file.
214 * NEWS: Mention new option.
215
e511c9b1
AB
2162016-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
217
218 * objcopy.c (find_section_list): Handle section patterns starting
219 with '!' being a non-matching pattern.
220 * doc/binutils.texi (objcopy): Give example of using '!' with
221 --remove-section and --only-section.
222 (strip): Give example of using '!' with --remove-section.
223 * testsuite/binutils-all/data-sections.s: New file.
224 * testsuite/binutils-all/only-section-01.d: New file.
225 * testsuite/binutils-all/remove-section-01.d: New file.
226 * testsuite/binutils-all/objcopy.exp: Run new tests.
227 * NEWS: Mention new feature.
228
32a0481f
AM
2292016-07-09 Alan Modra <amodra@gmail.com>
230
231 PR binutils/20337
232 * objdump.c (compare_symbols): For ELF, sort same value/type
233 symbols according to size.
234
f0728ee3
AV
2352016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
236
237 * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
238 to SEC_ELF_NOREAD.
239 * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
240 ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
241 (process_section_headers): Rename noread to purecode.
242
243 * section.c (SEC_ELF_NOREAD): Rename to ...
244 (SEC_ELF_PURECODE): ... this.
245
98a4fc78
NC
2462016-07-01 Nick Clifton <nickc@redhat.com>
247
248 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
249 extremely large decimal value.
250 (pr_range_type): Likewise.
251 (pr_array_type): Likewise.
252 (pr_struct_field): Likewise.
253 (pr_class_baseclass): Likewise.
254 (pr_class_method_variant): Likewise.
255 (pr_tag_type): Likewise.
256 (pr_int_constant): Likewise.
257 (pr_typed_constant): Likewise.
258 (pr_variable): Likewise.
259 (pr_function_parameter): Likewise.
260 (pr_start_block): Likewise.
261 (pr_lineno): Likewise.
262 (pr_end_block): Likewise.
263 (tg_enum_type): Likewise.
264 (tg_int_constant): Likewise.
265 (tg_typed_constant): Likewise.
266 (tg_start_block): Likewise.
267
41699fa4
NC
2682016-07-01 Nick Clifton <nickc@redhat.com>
269
270 * testsuite/binutils-all/objcopy.exp
271 (objcopy_test_without_global_symbol): Expect this test to fail on
272 the AArch64 and ARM targets, since they preserve their mapping
273 symbols.
274
96a84ea3
TG
2752016-07-01 Tristan Gingold <gingold@adacore.com>
276
277 * NEWS: Add marker for 2.27.
278
b2a40aa5
TG
2792016-07-30 Tristan Gingold <gingold@adacore.com>
280
281 * doc/binutils.texi (objdump): Fix mis-placement.
282
50c901ed
NC
2832016-06-28 Nick Clifton <nickc@redhat.com>
284
285 * testsuite/binutils-all/ar.exp: Relax previous restriction on
286 Alpha targets. Allow ELF based Alpha targets.
287
eb9bb5b4
MR
2882016-06-28 Maciej W. Rozycki <macro@imgtec.com>
289
290 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
291 the `unique_symbol' test.
292
f2b2af2c
AM
2932016-06-28 Alan Modra <amodra@gmail.com>
294
295 PR 20304
296 * objdump.c (objdump_print_symname): Don't attempt to retrieve
297 version info from synthetic symbols.
298
9cc0123f
AM
2992016-06-24 Alan Modra <amodra@gmail.com>
300
301 * objcopy.c (find_section_rename): Forward declare. Remove
302 ibfd and sec_ptr param. Add old_name param. Allow for NULL
303 returned_flags. Move read of section name and flags to..
304 (setup_section): ..here. Update find_section_rename call.
305 (filter_symbols): Rename section symbols for renamed sections.
306 (copy_object): Call filter_symbols when renamed sections.
307 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
308 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
309 mips xfail.
310 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
311 is_bad_symtab.
312 (localize-hidden-1): xfail if is_bad_symtab.
313 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
314 between mips/tmips.
315
43339b1d
AM
3162016-06-24 Alan Modra <amodra@gmail.com>
317
318 * objdump.c (struct print_file_list): Add "max_printed".
319 (try_print_file_open): Init new field.
320 (show_line): Don't show 5 context lines when redisplaying source.
321
96037eb0
NC
3222016-06-22 Nick Clifton <nickc@redhat.com>
323
324 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
325 Skip bfdtest1 tests for tic30 target.
326 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
327 target.
328 * testsuite/binutils-all/compress.exp: Expect some tests to fail
329 on the nds32.
330 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
331 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
332 targets.
333 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
334 targets.
335 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
336 if the bintest.o file was created. Use the
337 get_standard_section_names proc to get the name of the data
338 section.
339 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
340 RX section names.
341 * testsuite/binutils-all/readelf.exp: Use
342 get_standard_section_names proc to get the name of the data
343 section.
344 * testsuite/binutils-all/readelf.r: Allow for non standard text
345 section names.
346 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
347 * testsuite/binutils-all/size.exp: Allow for non standard section
348 names.
349 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
350 to fail on mips targets.
351 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
352 get_standard_section_names proc.
353 (run_dump_test): Likewise.
354 (proc get_standard_section_names): New proc.
355
d5b07ef4
NC
3562016-06-22 Nick Clifton <nickc@redhat.com>
357
358 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
359 (process_mips_specific): Likewise.
360 (process_gnu_liblist): Likewise.
361
bdd582db
GM
3622016-06-21 Graham Markall <graham.markall@embecosm.com>
363
364 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
365 case.
366
3ee6e4fb
NC
3672016-06-15 Nick Clifton <nickc@redhat.com>
368
369 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
370 reloc.
371
eecc1a7f
JB
3722016-06-14 John Baldwin <jhb@FreeBSD.org>
373
374 * objcopy.c (do_elf_stt_common): Use correct type.
375
3860d2b4
AM
3762016-06-14 Alan Modra <amodra@gmail.com>
377
378 * ar.c: Expand uses of bfd_my_archive.
379 * size.c: Likewise.
380
b0cffb47
AM
3812016-06-14 Alan Modra <amodra@gmail.com>
382
383 PR ld/20241
384 * bucomm.c (bfd_get_archive_filename): Return file name within thin
385 archive.
386
5b6312fd
NC
3872016-06-02 Nick Clifton <nickc@redhat.com>
388
bcc3a8bc
NC
389 PR 20089
390 * objcopy.c (group_signature): Fail if the input symbol table has
c09ec62d 391 not been loaded, or if the sh_info field of the group header is 0.
bcc3a8bc 392
5b6312fd
NC
393 * dwarf.c (display_debug_frames): Do not display any
394 interpretation if the block consists solely of DW__CFA_NOPs.
395
f7433f01
AM
3962016-05-31 Alan Modra <amodra@gmail.com>
397
398 * objcopy.c: Formatting, whitespace throughout.
399 (copy_main): Init newsym->othersym.
400 (parse_symflags): Make len a size_t. Adjust uses.
401
e6cc316a
L
4022016-05-25 H.J. Lu <hongjiu.lu@intel.com>
403
404 PR binutils/14625
405 * NEWS: Mention --enable-64-bit-archive.
406
f507bebf
NC
4072016-05-18 Nick Clifton <nickc@redhat.com>
408
409 PR 20096
410 * objcopy.c (copy_relocations_in_section): Also check for the
411 symbol pointed to by sym_ptr_ptr being NULL.
412
1401d2fe
MR
4132016-05-18 Maciej W. Rozycki <macro@imgtec.com>
414
415 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
416 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
417 source.
418 * testsuite/binutils-all/mips/mips.exp: Run the new test.
419
50498060
NC
4202016-05-18 Nick Clifton <nickc@redhat.com>
421
422 * po/sv.po: Updated Swedish translation.
423
c69075ac
MR
4242016-05-18 Maciej W. Rozycki <macro@imgtec.com>
425
426 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
427 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
428 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
429 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
430 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
431 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
432 `d_val' rather than `d_ptr' member of the dynamic entry.
433
a43942db
MR
4342016-05-17 Maciej W. Rozycki <macro@imgtec.com>
435
436 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
437 procedure.
438 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
439 with the `strip-10' test.
440
71de3413
MR
4412016-05-16 Maciej W. Rozycki <macro@imgtec.com>
442
443 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
444 test for the V850.
445
8f4f9071
MF
4462016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
447
448 * readelf.c (print_mips_ases): Add DSPR3.
449
15afaa63
TP
4502016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
451
452 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
453 (arm_attr_public_tags): Define DSP_extension attribute.
454
29f4fdc4
AB
4552016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * doc/binutils.texi (nm): Update description of --size-sort.
458
315350be
NC
4592016-05-09 Nick Clifton <nickc@redhat.com>
460
461 PR binutils/20063
462 * readelf.c (get_32bit_section_headers): Warn if an out of range
463 sh_link or sh_info field is encountered.
464 (get_64bit_section_headers): Likewise.
465
4a85cc09
SKS
4662016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
467
468 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
469
99d1b268
NC
4702016-05-03 Nick Clifton <nickc@redhat.com>
471
472 * po/sv.po: Updated Swedish translation.
473
d347c9df
PS
4742016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
475
476 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
477 PC relocation for AVR target.
478 (is_none_reloc): Return true if reloc is any of AVR diff
479 relocations.
480
5522f910
NC
4812016-04-29 Nick Clifton <nickc@redhat.com>
482
483 PR 19938
484 * readelf.c (get_solaris_segment_type): New function.
485 (get_segment_type): Call it.
486
786a118c
NC
4872016-04-28 Nick Clifton <nickc@redhat.com>
488
489 * po/zh_CN.po: Updated Chinese (simplified) translation.
490
4bd13cde
NC
4912016-04-28 Nick Clifton <nickc@redhat.com>
492
493 PR target/19722
494 * testsuite/binutils-all/aarch64/illegal.s: New test.
495 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
496
e6c7cdec
TS
4972016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
498
499 * resres.c: Likewise.
500
6fd8e7c2
L
5012016-04-15 H.J. Lu <hongjiu.lu@intel.com>
502
503 * Makefile.in: Regenerated with automake 1.11.6.
504 * aclocal.m4: Likewise.
505 * doc/Makefile.in: Likewise.
506
84865015
NC
5072016-04-14 Nick Clifton <nickc@redhat.com>
508
509 PR target/19938
510 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
511 string sections possibly having the SHF_STRINGS flag bit set.
512 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
513 * testsuite/binutils-all/readelf.s: Likewise.
514 * testsuite/binutils-all/readelf.s-64: Likewise.
515 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
516 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
517
fd85a6a1
NC
5182016-04-13 Nick Clifton <nickc@redhat.com>
519
84865015 520 PR target/19938
fd85a6a1
NC
521 * readelf.c (get_solaris_section_type): New function: Returns the
522 name of Solaris specific section types.
523 (get_solaris_dynamic_type): New function: Return the name of
524 Solaris specific dynamic types.
525 (get_dynamic_type): Use get_solaris_dynamic_type.
526 (get_section_type_name): Use get_solaris_section_type.
527 (get_solaris_symbol_visibility): New function: Returns Solaris
528 specific symbol visibilities.
529 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
530 (process_symbol_table): Likewise.
531
d6bb17b0
AA
5322016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
533
534 * dwarf.h (init_dwarf_regnames_s390): Declare.
535 * dwarf.c (dwarf_regnames_s390): New.
536 (init_dwarf_regnames_s390): New.
537 (init_dwarf_regnames): Call it.
538 * objdump.c (dump_dwarf): Likewise.
539
92708cec
MR
5402016-04-11 Maciej W. Rozycki <macro@imgtec.com>
541
542 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
543 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
544 source.
545 * testsuite/binutils-all/mips/mips.exp: Run the new test.
546
67f101ee
NC
5472016-04-04 Nick Clifton <nickc@redhat.com>
548
549 PR 19872
550 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
551 version number if the version is zero.
552
ed754a13
AM
5532016-03-29 Alan Modra <amodra@gmail.com>
554
555 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
556 (get_dynamic_data): Likewise.
557
9780e045
NC
5582016-03-22 Nick Clifton <nickc@redhat.com>
559
34b9f729
NC
560 PR 19851
561 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
562 with run time size check.
563
9780e045
NC
564 * configure: Regenerate.
565
8699fc3e
AB
5662016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
567
568 * readelf.c (decode_ARC_machine_flags): Handle nps400.
569
a9522a21
AB
5702016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
571
572 * readelf.c (get_machine_flags): Move arc processing into...
573 (decode_ARC_machine_flags): ... new function. Remove use of
574 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
575 "unknown arc". Merged ABI printing between two machine types.
576
24740d83
AB
5772016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
578
579 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
580 to the architecture list.
581
e1fa0163
NC
5822016-03-21 Nick Clifton <nickc@redhat.com>
583
584 * dlltool.c: Replace use of alloca with call to xmalloc.
585 * dllwrap.c: Likewise.
586 * nlmconv.c: Likewise.
587 * objdump.c: Likewise.
588 * resrc.c: Likewise.
589 * winduni.c: Likewise.
590 * configure: Regenerate.
591
4fc87424
NC
5922016-03-07 Nick Clifton <nickc@redhat.com>
593
594 PR binutils/19775
595 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
596 Run the new proc.
597 * testsuite/binutils-all/empty: New, empty, file.
598
9411fd44
MW
5992016-03-04 Matthew Wahab <matthew.wahab@arm.com>
600
601 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
602
11e5f1ec
L
6032016-02-26 H.J. Lu <hongjiu.lu@intel.com>
604
605 PR ld/19645
606 * NEWS: Mention --elf-stt-common= for objcopy.
607 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
608 * objcopy.c (do_elf_stt_common): New.
609 (command_line_switch): Add OPTION_ELF_STT_COMMON.
610 (copy_options): Add --elf-stt-common=.
611 (copy_usage): Add --elf-stt-common=.
612 (copy_object): Also check do_elf_stt_common for ELF targets.
613 (copy_file): Handle do_elf_stt_common.
614 (copy_main): Handle OPTION_ELF_STT_COMMON.
615 * readelf.c (apply_relocations): Support STT_COMMON.
616 * testsuite/binutils-all/common-1.s: New file.
617 * testsuite/binutils-all/common-1a.d: Likewise.
618 * testsuite/binutils-all/common-1b.d: Likewise.
619 * testsuite/binutils-all/common-1c.d: Likewise.
620 * testsuite/binutils-all/common-1d.d: Likewise.
621 * testsuite/binutils-all/common-1e.d: Likewise.
622 * testsuite/binutils-all/common-1f.d: Likewise.
623 * testsuite/binutils-all/common-2.s: Likewise.
624 * testsuite/binutils-all/common-2a.d: Likewise.
625 * testsuite/binutils-all/common-2b.d: Likewise.
626 * testsuite/binutils-all/common-2c.d: Likewise.
627 * testsuite/binutils-all/common-2d.d: Likewise.
628 * testsuite/binutils-all/common-2e.d: Likewise.
629 * testsuite/binutils-all/common-2f.d: Likewise.
630 * testsuite/binutils-all/objcopy.exp
631 (objcopy_test_elf_common_symbols): New proc.
632 Run objcopy_test_elf_common_symbols for ELF targets
633
a9fb83be
L
6342016-02-16 H.J. Lu <hongjiu.lu@intel.com>
635
636 PR binutils/19647
637 * readelf.c (get_section_type_name): Add a missing break.
638
726c18e1
CZ
6392016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
640
641 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
642
9fb71ee4
NC
6432016-02-15 Nick Clifton <nickc@redhat.com>
644
645 * readelf.c (get_section_type_name): Add hex prefix to offsets
646 printed for LOPROC and LOOS values. Ensure that a result is
647 always returned for the V850 target, even when an unrecognised
648 processor specific value is encountered.
649 (process_section_headers): Display key values in the order in
650 which they appear to the user. Add the "C (compressed)" value to
651 the list.
652
96d491cf
L
6532016-02-12 H.J. Lu <hongjiu.lu@intel.com>
654
655 * doc/binutils.texi: Fix a typo.
656
bdbca4e6
CM
6572016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
658
659 * testsuite/binutils-all/objdump.exp: Update expected default
660 architecture value for ARC binaries.
661
14f2c699
L
6622016-02-02 H.J. Lu <hongjiu.lu@intel.com>
663
664 PR binutils/19547
665 * testsuite/binutils-all/objcopy.exp
666 (objcopy_test_without_global_symbol): New proc.
667 Run objcopy_test_without_global_symbol.
668 * testsuite/binutils-all/pr19547.c: New file.
669
bf150a0b
L
6702016-01-28 H.J. Lu <hongjiu.lu@intel.com>
671
672 PR binutils/19523
673 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
674 runtest.
675 * Makefile.in: Regenerated.
676 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
677 proc.
678 Run test_gnu_debuglink for native ELF build.
679
0398b8d6
NC
6802016-01-20 Nick Clifton <nickc@redhat.com>
681
682 PR 19495
683 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
bdbca4e6 684 do not support inserting leading underscores.
0398b8d6 685
91f68a68
MG
6862016-01-20 Mickael Guene <mickael.guene@st.com>
687
688 * readelf.c (get_elf_section_flags): Display y letter for section
689 with SHF_ARM_NOREAD section flag in readelf section output.
690 (process_section_headers): Add y letter in readelf section output
691 key mapping for ARM architecture.
692 * objdump.c (dump_section_header): Display NOREAD attributes as
693 well.
694 * doc/binutils.texi (objdump): Note that it is correct for
695 sections to have both the READONLY and NOREAD attributes.
696
40068dcc
JB
6972016-01-19 John Baldwin <jhb@FreeBSD.org>
698
699 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
700
f4ddf30f
JB
7012016-01-19 John Baldwin <jhb@FreeBSD.org>
702
703 * readelf.c (get_freebsd_elfcore_note_type): New
704 (process_note): Add support for FreeBSD core notes.
705
34e967a5
MC
7062016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
707 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
708
709 * readelf.c (get_machine_flags): Add support for newer ARC ELF
710 header flags.
711
3d961d0d
AM
7122016-01-18 Alan Modra <amodra@gmail.com>
713
714 * configure: Regenerate.
715
5c14705f
AM
7162016-01-17 Alan Modra <amodra@gmail.com>
717
718 * configure: Regenerate.
719
b3066ae8
AM
7202016-01-17 Alan Modra <amodra@gmail.com>
721
722 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
723 for m68hc11/12 and xgate triples.
724
adec12c1
AM
7252016-01-17 Alan Modra <amodra@gmail.com>
726
727 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
728
6f2750fe
AM
7292016-01-01 Alan Modra <amodra@gmail.com>
730
731 Update year range in copyright notice of all files.
732
3499769a
AM
733For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
734\f
735Copyright (C) 2016 Free Software Foundation, Inc.
736
737Copying and distribution of this file, with or without modification,
738are permitted in any medium without royalty provided the copyright
739notice and this notice are preserved.
740
741Local Variables:
742mode: change-log
743left-margin: 8
744fill-column: 74
745version-control: never
746End:
This page took 0.082758 seconds and 4 git commands to generate.