4108b78c9b557362a76d430a483da9b01ff08b75
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2016-07-01 Nick Clifton <nickc@redhat.com>
2
3 * prdbg.c (pr_enum_type): Use a buffer big enough to hold an
4 extremely large decimal value.
5 (pr_range_type): Likewise.
6 (pr_array_type): Likewise.
7 (pr_struct_field): Likewise.
8 (pr_class_baseclass): Likewise.
9 (pr_class_method_variant): Likewise.
10 (pr_tag_type): Likewise.
11 (pr_int_constant): Likewise.
12 (pr_typed_constant): Likewise.
13 (pr_variable): Likewise.
14 (pr_function_parameter): Likewise.
15 (pr_start_block): Likewise.
16 (pr_lineno): Likewise.
17 (pr_end_block): Likewise.
18 (tg_enum_type): Likewise.
19 (tg_int_constant): Likewise.
20 (tg_typed_constant): Likewise.
21 (tg_start_block): Likewise.
22
23 2016-07-01 Nick Clifton <nickc@redhat.com>
24
25 * testsuite/binutils-all/objcopy.exp
26 (objcopy_test_without_global_symbol): Expect this test to fail on
27 the AArch64 and ARM targets, since they preserve their mapping
28 symbols.
29
30 2016-07-01 Tristan Gingold <gingold@adacore.com>
31
32 * NEWS: Add marker for 2.27.
33
34 2016-07-30 Tristan Gingold <gingold@adacore.com>
35
36 * doc/binutils.texi (objdump): Fix mis-placement.
37
38 2016-06-28 Nick Clifton <nickc@redhat.com>
39
40 * testsuite/binutils-all/ar.exp: Relax previous restriction on
41 Alpha targets. Allow ELF based Alpha targets.
42
43 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
44
45 * testsuite/binutils-all/ar.exp: Use `supports_gnu_unique' with
46 the `unique_symbol' test.
47
48 2016-06-28 Alan Modra <amodra@gmail.com>
49
50 PR 20304
51 * objdump.c (objdump_print_symname): Don't attempt to retrieve
52 version info from synthetic symbols.
53
54 2016-06-24 Alan Modra <amodra@gmail.com>
55
56 * objcopy.c (find_section_rename): Forward declare. Remove
57 ibfd and sec_ptr param. Add old_name param. Allow for NULL
58 returned_flags. Move read of section name and flags to..
59 (setup_section): ..here. Update find_section_rename call.
60 (filter_symbols): Rename section symbols for renamed sections.
61 (copy_object): Call filter_symbols when renamed sections.
62 * testsuite/lib/binutils-common.exp (is_bad_symtab): New.
63 * testsuite/binutils-all/update-section.exp: Revert 96037eb0
64 mips xfail.
65 * testsuite/binutils-all/objcopy.exp (copy_executable): Use
66 is_bad_symtab.
67 (localize-hidden-1): xfail if is_bad_symtab.
68 * testsuite/binutils-all/readelf.exp: Use is_bad_symtab to select
69 between mips/tmips.
70
71 2016-06-24 Alan Modra <amodra@gmail.com>
72
73 * objdump.c (struct print_file_list): Add "max_printed".
74 (try_print_file_open): Init new field.
75 (show_line): Don't show 5 context lines when redisplaying source.
76
77 2016-06-22 Nick Clifton <nickc@redhat.com>
78
79 * testsuite/binutils-all/ar.exp: Skip tests for Alpha target.
80 Skip bfdtest1 tests for tic30 target.
81 * testsuite/binutils-all/arm/objdump.exp: Skip for aout arm
82 target.
83 * testsuite/binutils-all/compress.exp: Expect some tests to fail
84 on the nds32.
85 * testsuite/binutils-all/copy-3.d: Skip for go32 targets.
86 * testsuite/binutils-all/copy-4.d: Skip for AIX and linuxecoff
87 targets.
88 * testsuite/binutils-all/nm.exp: Treat beos based targets as ELF
89 targets.
90 * testsuite/binutils-all/objcopy.exp: Only run reverse bytes tests
91 if the bintest.o file was created. Use the
92 get_standard_section_names proc to get the name of the data
93 section.
94 * testsuite/binutils-all/objdump.exp: Update regexps to allow for
95 RX section names.
96 * testsuite/binutils-all/readelf.exp: Use
97 get_standard_section_names proc to get the name of the data
98 section.
99 * testsuite/binutils-all/readelf.r: Allow for non standard text
100 section names.
101 * testsuite/binutils-all/readelf.s: Update regexps for tilepro.
102 * testsuite/binutils-all/size.exp: Allow for non standard section
103 names.
104 * testsuite/binutils-all/update-section.exp: Expect comapre 1vs4
105 to fail on mips targets.
106 * testsuite/lib/utils-lib.exp (default_binutils_run): Use
107 get_standard_section_names proc.
108 (run_dump_test): Likewise.
109 (proc get_standard_section_names): New proc.
110
111 2016-06-22 Nick Clifton <nickc@redhat.com>
112
113 * readelf.c (dynamic_section_mips_val): Increase size of timebuf.
114 (process_mips_specific): Likewise.
115 (process_gnu_liblist): Likewise.
116
117 2016-06-21 Graham Markall <graham.markall@embecosm.com>
118
119 * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
120 case.
121
122 2016-06-15 Nick Clifton <nickc@redhat.com>
123
124 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
125 reloc.
126
127 2016-06-14 John Baldwin <jhb@FreeBSD.org>
128
129 * objcopy.c (do_elf_stt_common): Use correct type.
130
131 2016-06-14 Alan Modra <amodra@gmail.com>
132
133 * ar.c: Expand uses of bfd_my_archive.
134 * size.c: Likewise.
135
136 2016-06-14 Alan Modra <amodra@gmail.com>
137
138 PR ld/20241
139 * bucomm.c (bfd_get_archive_filename): Return file name within thin
140 archive.
141
142 2016-06-02 Nick Clifton <nickc@redhat.com>
143
144 PR 20089
145 * objcopy.c (group_signature): Fail if the input symbol table has
146 not been loaded, or if the sh_info field of the group header is 0.
147
148 * dwarf.c (display_debug_frames): Do not display any
149 interpretation if the block consists solely of DW__CFA_NOPs.
150
151 2016-05-31 Alan Modra <amodra@gmail.com>
152
153 * objcopy.c: Formatting, whitespace throughout.
154 (copy_main): Init newsym->othersym.
155 (parse_symflags): Make len a size_t. Adjust uses.
156
157 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
158
159 PR binutils/14625
160 * NEWS: Mention --enable-64-bit-archive.
161
162 2016-05-18 Nick Clifton <nickc@redhat.com>
163
164 PR 20096
165 * objcopy.c (copy_relocations_in_section): Also check for the
166 symbol pointed to by sym_ptr_ptr being NULL.
167
168 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
169
170 * testsuite/binutils-all/mips/mixed-mips16-micromips.d: New test.
171 * testsuite/binutils-all/mips/mixed-mips16-micromips.s: New test
172 source.
173 * testsuite/binutils-all/mips/mips.exp: Run the new test.
174
175 2016-05-18 Nick Clifton <nickc@redhat.com>
176
177 * po/sv.po: Updated Swedish translation.
178
179 2016-05-18 Maciej W. Rozycki <macro@imgtec.com>
180
181 * readelf.c (dynamic_section_mips_val) <DT_MIPS_RLD_VERSION>
182 <DT_MIPS_LOCAL_GOTNO, DT_MIPS_CONFLICTNO, DT_MIPS_LIBLISTNO>
183 <DT_MIPS_SYMTABNO, DT_MIPS_UNREFEXTNO, DT_MIPS_HIPAGENO>
184 <DT_MIPS_DELTA_CLASS_NO, DT_MIPS_DELTA_INSTANCE_NO>
185 <DT_MIPS_DELTA_RELOC_NO, DT_MIPS_DELTA_SYM_NO>
186 <DT_MIPS_DELTA_CLASSSYM_NO, DT_MIPS_COMPACT_SIZE>: Use the
187 `d_val' rather than `d_ptr' member of the dynamic entry.
188
189 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
190
191 * testsuite/lib/binutils-common.exp (supports_gnu_unique): New
192 procedure.
193 * testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
194 with the `strip-10' test.
195
196 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
197
198 * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
199 test for the V850.
200
201 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
202
203 * readelf.c (print_mips_ases): Add DSPR3.
204
205 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
206
207 * readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
208 (arm_attr_public_tags): Define DSP_extension attribute.
209
210 2016-05-10 Andrew Burgess <andrew.burgess@embecosm.com>
211
212 * doc/binutils.texi (nm): Update description of --size-sort.
213
214 2016-05-09 Nick Clifton <nickc@redhat.com>
215
216 PR binutils/20063
217 * readelf.c (get_32bit_section_headers): Warn if an out of range
218 sh_link or sh_info field is encountered.
219 (get_64bit_section_headers): Likewise.
220
221 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
222
223 * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
224
225 2016-05-03 Nick Clifton <nickc@redhat.com>
226
227 * po/sv.po: Updated Swedish translation.
228
229 2016-04-29 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
230
231 * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
232 PC relocation for AVR target.
233 (is_none_reloc): Return true if reloc is any of AVR diff
234 relocations.
235
236 2016-04-29 Nick Clifton <nickc@redhat.com>
237
238 PR 19938
239 * readelf.c (get_solaris_segment_type): New function.
240 (get_segment_type): Call it.
241
242 2016-04-28 Nick Clifton <nickc@redhat.com>
243
244 * po/zh_CN.po: Updated Chinese (simplified) translation.
245
246 2016-04-28 Nick Clifton <nickc@redhat.com>
247
248 PR target/19722
249 * testsuite/binutils-all/aarch64/illegal.s: New test.
250 * testsuite/binutils-all/aarch64/illegal.d: New test driver.
251
252 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
253
254 * resres.c: Likewise.
255
256 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
257
258 * Makefile.in: Regenerated with automake 1.11.6.
259 * aclocal.m4: Likewise.
260 * doc/Makefile.in: Likewise.
261
262 2016-04-14 Nick Clifton <nickc@redhat.com>
263
264 PR target/19938
265 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
266 string sections possibly having the SHF_STRINGS flag bit set.
267 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
268 * testsuite/binutils-all/readelf.s: Likewise.
269 * testsuite/binutils-all/readelf.s-64: Likewise.
270 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
271 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
272
273 2016-04-13 Nick Clifton <nickc@redhat.com>
274
275 PR target/19938
276 * readelf.c (get_solaris_section_type): New function: Returns the
277 name of Solaris specific section types.
278 (get_solaris_dynamic_type): New function: Return the name of
279 Solaris specific dynamic types.
280 (get_dynamic_type): Use get_solaris_dynamic_type.
281 (get_section_type_name): Use get_solaris_section_type.
282 (get_solaris_symbol_visibility): New function: Returns Solaris
283 specific symbol visibilities.
284 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
285 (process_symbol_table): Likewise.
286
287 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
288
289 * dwarf.h (init_dwarf_regnames_s390): Declare.
290 * dwarf.c (dwarf_regnames_s390): New.
291 (init_dwarf_regnames_s390): New.
292 (init_dwarf_regnames): Call it.
293 * objdump.c (dump_dwarf): Likewise.
294
295 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
296
297 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
298 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
299 source.
300 * testsuite/binutils-all/mips/mips.exp: Run the new test.
301
302 2016-04-04 Nick Clifton <nickc@redhat.com>
303
304 PR 19872
305 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
306 version number if the version is zero.
307
308 2016-03-29 Alan Modra <amodra@gmail.com>
309
310 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
311 (get_dynamic_data): Likewise.
312
313 2016-03-22 Nick Clifton <nickc@redhat.com>
314
315 PR 19851
316 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
317 with run time size check.
318
319 * configure: Regenerate.
320
321 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
322
323 * readelf.c (decode_ARC_machine_flags): Handle nps400.
324
325 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
326
327 * readelf.c (get_machine_flags): Move arc processing into...
328 (decode_ARC_machine_flags): ... new function. Remove use of
329 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
330 "unknown arc". Merged ABI printing between two machine types.
331
332 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
333
334 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
335 to the architecture list.
336
337 2016-03-21 Nick Clifton <nickc@redhat.com>
338
339 * dlltool.c: Replace use of alloca with call to xmalloc.
340 * dllwrap.c: Likewise.
341 * nlmconv.c: Likewise.
342 * objdump.c: Likewise.
343 * resrc.c: Likewise.
344 * winduni.c: Likewise.
345 * configure: Regenerate.
346
347 2016-03-07 Nick Clifton <nickc@redhat.com>
348
349 PR binutils/19775
350 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
351 Run the new proc.
352 * testsuite/binutils-all/empty: New, empty, file.
353
354 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
355
356 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
357
358 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
359
360 PR ld/19645
361 * NEWS: Mention --elf-stt-common= for objcopy.
362 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
363 * objcopy.c (do_elf_stt_common): New.
364 (command_line_switch): Add OPTION_ELF_STT_COMMON.
365 (copy_options): Add --elf-stt-common=.
366 (copy_usage): Add --elf-stt-common=.
367 (copy_object): Also check do_elf_stt_common for ELF targets.
368 (copy_file): Handle do_elf_stt_common.
369 (copy_main): Handle OPTION_ELF_STT_COMMON.
370 * readelf.c (apply_relocations): Support STT_COMMON.
371 * testsuite/binutils-all/common-1.s: New file.
372 * testsuite/binutils-all/common-1a.d: Likewise.
373 * testsuite/binutils-all/common-1b.d: Likewise.
374 * testsuite/binutils-all/common-1c.d: Likewise.
375 * testsuite/binutils-all/common-1d.d: Likewise.
376 * testsuite/binutils-all/common-1e.d: Likewise.
377 * testsuite/binutils-all/common-1f.d: Likewise.
378 * testsuite/binutils-all/common-2.s: Likewise.
379 * testsuite/binutils-all/common-2a.d: Likewise.
380 * testsuite/binutils-all/common-2b.d: Likewise.
381 * testsuite/binutils-all/common-2c.d: Likewise.
382 * testsuite/binutils-all/common-2d.d: Likewise.
383 * testsuite/binutils-all/common-2e.d: Likewise.
384 * testsuite/binutils-all/common-2f.d: Likewise.
385 * testsuite/binutils-all/objcopy.exp
386 (objcopy_test_elf_common_symbols): New proc.
387 Run objcopy_test_elf_common_symbols for ELF targets
388
389 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
390
391 PR binutils/19647
392 * readelf.c (get_section_type_name): Add a missing break.
393
394 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
395
396 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
397
398 2016-02-15 Nick Clifton <nickc@redhat.com>
399
400 * readelf.c (get_section_type_name): Add hex prefix to offsets
401 printed for LOPROC and LOOS values. Ensure that a result is
402 always returned for the V850 target, even when an unrecognised
403 processor specific value is encountered.
404 (process_section_headers): Display key values in the order in
405 which they appear to the user. Add the "C (compressed)" value to
406 the list.
407
408 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
409
410 * doc/binutils.texi: Fix a typo.
411
412 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
413
414 * testsuite/binutils-all/objdump.exp: Update expected default
415 architecture value for ARC binaries.
416
417 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
418
419 PR binutils/19547
420 * testsuite/binutils-all/objcopy.exp
421 (objcopy_test_without_global_symbol): New proc.
422 Run objcopy_test_without_global_symbol.
423 * testsuite/binutils-all/pr19547.c: New file.
424
425 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
426
427 PR binutils/19523
428 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
429 runtest.
430 * Makefile.in: Regenerated.
431 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
432 proc.
433 Run test_gnu_debuglink for native ELF build.
434
435 2016-01-20 Nick Clifton <nickc@redhat.com>
436
437 PR 19495
438 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
439 do not support inserting leading underscores.
440
441 2016-01-20 Mickael Guene <mickael.guene@st.com>
442
443 * readelf.c (get_elf_section_flags): Display y letter for section
444 with SHF_ARM_NOREAD section flag in readelf section output.
445 (process_section_headers): Add y letter in readelf section output
446 key mapping for ARM architecture.
447 * objdump.c (dump_section_header): Display NOREAD attributes as
448 well.
449 * doc/binutils.texi (objdump): Note that it is correct for
450 sections to have both the READONLY and NOREAD attributes.
451
452 2016-01-19 John Baldwin <jhb@FreeBSD.org>
453
454 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
455
456 2016-01-19 John Baldwin <jhb@FreeBSD.org>
457
458 * readelf.c (get_freebsd_elfcore_note_type): New
459 (process_note): Add support for FreeBSD core notes.
460
461 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
462 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
463
464 * readelf.c (get_machine_flags): Add support for newer ARC ELF
465 header flags.
466
467 2016-01-18 Alan Modra <amodra@gmail.com>
468
469 * configure: Regenerate.
470
471 2016-01-17 Alan Modra <amodra@gmail.com>
472
473 * configure: Regenerate.
474
475 2016-01-17 Alan Modra <amodra@gmail.com>
476
477 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
478 for m68hc11/12 and xgate triples.
479
480 2016-01-17 Alan Modra <amodra@gmail.com>
481
482 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
483
484 2016-01-01 Alan Modra <amodra@gmail.com>
485
486 Update year range in copyright notice of all files.
487
488 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
489 \f
490 Copyright (C) 2016 Free Software Foundation, Inc.
491
492 Copying and distribution of this file, with or without modification,
493 are permitted in any medium without royalty provided the copyright
494 notice and this notice are preserved.
495
496 Local Variables:
497 mode: change-log
498 left-margin: 8
499 fill-column: 74
500 version-control: never
501 End:
This page took 0.03914 seconds and 4 git commands to generate.