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