binutils/doc: Update documentation for nm --size-sort
[external/binutils.git] / binutils / ChangeLog
1 2016-05-10  Andrew Burgess  <andrew.burgess@embecosm.com>
2
3         * doc/binutils.texi (nm): Update description of --size-sort.
4
5 2016-05-09  Nick Clifton  <nickc@redhat.com>
6
7         PR binutils/20063
8         * readelf.c (get_32bit_section_headers): Warn if an out of range
9         sh_link or sh_info field is encountered.
10         (get_64bit_section_headers): Likewise.
11
12 2016-05-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
13
14         * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
15
16 2016-05-03  Nick Clifton  <nickc@redhat.com>
17
18         * po/sv.po: Updated Swedish translation.
19
20 2016-04-29  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
21
22         * readelf.c (is_32bit_pcrel_reloc): Return true if reloc is 32-bit
23         PC relocation for AVR target.
24         (is_none_reloc): Return true if reloc is any of AVR diff
25         relocations.
26
27 2016-04-29  Nick Clifton  <nickc@redhat.com>
28
29         PR 19938
30         * readelf.c (get_solaris_segment_type): New function.
31         (get_segment_type): Call it.
32
33 2016-04-28  Nick Clifton  <nickc@redhat.com>
34
35         * po/zh_CN.po: Updated Chinese (simplified) translation.
36
37 2016-04-28  Nick Clifton  <nickc@redhat.com>
38
39         PR target/19722
40         * testsuite/binutils-all/aarch64/illegal.s: New test.
41         * testsuite/binutils-all/aarch64/illegal.d: New test driver.
42
43 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
44
45         * resres.c: Likewise.
46
47 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
48
49         * Makefile.in: Regenerated with automake 1.11.6.
50         * aclocal.m4: Likewise.
51         * doc/Makefile.in: Likewise.
52
53 2016-04-14  Nick Clifton  <nickc@redhat.com>
54
55         PR target/19938
56         * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
57         string sections possibly having the SHF_STRINGS flag bit set.
58         * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
59         * testsuite/binutils-all/readelf.s: Likewise.
60         * testsuite/binutils-all/readelf.s-64: Likewise.
61         * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
62         * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
63
64 2016-04-13  Nick Clifton  <nickc@redhat.com>
65
66         PR target/19938
67         * readelf.c (get_solaris_section_type): New function: Returns the
68         name of Solaris specific section types.
69         (get_solaris_dynamic_type): New function: Return the name of
70         Solaris specific dynamic types.
71         (get_dynamic_type): Use get_solaris_dynamic_type.
72         (get_section_type_name): Use get_solaris_section_type.
73         (get_solaris_symbol_visibility): New function: Returns Solaris
74         specific symbol visibilities.
75         (print_dynamic_symbol): Use get_solaris_symbol_visibility.
76         (process_symbol_table): Likewise.
77
78 2016-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
79
80         * dwarf.h (init_dwarf_regnames_s390): Declare.
81         * dwarf.c (dwarf_regnames_s390): New.
82         (init_dwarf_regnames_s390): New.
83         (init_dwarf_regnames): Call it.
84         * objdump.c (dump_dwarf): Likewise.
85
86 2016-04-11  Maciej W. Rozycki  <macro@imgtec.com>
87
88         * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
89         * testsuite/binutils-all/mips/mips16-undecoded.s: New test
90         source.
91         * testsuite/binutils-all/mips/mips.exp: Run the new test.
92
93 2016-04-04  Nick Clifton  <nickc@redhat.com>
94
95         PR 19872
96         * dwarf.c (display_debug_aranges): Skip warning about unrecognised
97         version number if the version is zero.
98
99 2016-03-29  Alan Modra  <amodra@gmail.com>
100
101         * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
102         (get_dynamic_data): Likewise.
103
104 2016-03-22  Nick Clifton  <nickc@redhat.com>
105
106         PR 19851
107         * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
108         with run time size check.
109
110         * configure: Regenerate.
111
112 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
113
114         * readelf.c (decode_ARC_machine_flags): Handle nps400.
115
116 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
117
118         * readelf.c (get_machine_flags): Move arc processing into...
119         (decode_ARC_machine_flags): ... new function.  Remove use of
120         EF_ARC_CPU_GENERIC, change default case from "generic arc" to
121         "unknown arc".  Merged ABI printing between two machine types.
122
123 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
124
125         * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
126         to the architecture list.
127
128 2016-03-21  Nick Clifton  <nickc@redhat.com>
129
130         * dlltool.c: Replace use of alloca with call to xmalloc.
131         * dllwrap.c: Likewise.
132         * nlmconv.c: Likewise.
133         * objdump.c: Likewise.
134         * resrc.c: Likewise.
135         * winduni.c: Likewise.
136         * configure: Regenerate.
137
138 2016-03-07  Nick Clifton  <nickc@redhat.com>
139
140         PR binutils/19775
141         * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
142         Run the new proc.
143         * testsuite/binutils-all/empty: New, empty, file.
144
145 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
146
147         * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
148
149 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
150
151         PR ld/19645
152         * NEWS: Mention --elf-stt-common= for objcopy.
153         * doc/binutils.texi: Document --elf-stt-common= for objcopy.
154         * objcopy.c (do_elf_stt_common): New.
155         (command_line_switch): Add OPTION_ELF_STT_COMMON.
156         (copy_options): Add --elf-stt-common=.
157         (copy_usage): Add --elf-stt-common=.
158         (copy_object): Also check do_elf_stt_common for ELF targets.
159         (copy_file): Handle do_elf_stt_common.
160         (copy_main): Handle OPTION_ELF_STT_COMMON.
161         * readelf.c (apply_relocations): Support STT_COMMON.
162         * testsuite/binutils-all/common-1.s: New file.
163         * testsuite/binutils-all/common-1a.d: Likewise.
164         * testsuite/binutils-all/common-1b.d: Likewise.
165         * testsuite/binutils-all/common-1c.d: Likewise.
166         * testsuite/binutils-all/common-1d.d: Likewise.
167         * testsuite/binutils-all/common-1e.d: Likewise.
168         * testsuite/binutils-all/common-1f.d: Likewise.
169         * testsuite/binutils-all/common-2.s: Likewise.
170         * testsuite/binutils-all/common-2a.d: Likewise.
171         * testsuite/binutils-all/common-2b.d: Likewise.
172         * testsuite/binutils-all/common-2c.d: Likewise.
173         * testsuite/binutils-all/common-2d.d: Likewise.
174         * testsuite/binutils-all/common-2e.d: Likewise.
175         * testsuite/binutils-all/common-2f.d: Likewise.
176         * testsuite/binutils-all/objcopy.exp
177         (objcopy_test_elf_common_symbols): New proc.
178         Run objcopy_test_elf_common_symbols for ELF targets
179
180 2016-02-16  H.J. Lu  <hongjiu.lu@intel.com>
181
182         PR binutils/19647
183         * readelf.c (get_section_type_name): Add a missing break.
184
185 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
186
187         * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
188
189 2016-02-15  Nick Clifton  <nickc@redhat.com>
190
191         * readelf.c (get_section_type_name): Add hex prefix to offsets
192         printed for LOPROC and LOOS values.  Ensure that a result is
193         always returned for the V850 target, even when an unrecognised
194         processor specific value is encountered.
195         (process_section_headers): Display key values in the order in
196         which they appear to the user.  Add the "C (compressed)" value to
197         the list.
198
199 2016-02-12  H.J. Lu  <hongjiu.lu@intel.com>
200
201         * doc/binutils.texi: Fix a typo.
202
203 2016-02-05  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
204
205         * testsuite/binutils-all/objdump.exp: Update expected default
206         architecture value for ARC binaries.
207
208 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
209
210         PR binutils/19547
211         * testsuite/binutils-all/objcopy.exp
212         (objcopy_test_without_global_symbol): New proc.
213         Run objcopy_test_without_global_symbol.
214         * testsuite/binutils-all/pr19547.c: New file.
215
216 2016-01-28  H.J. Lu  <hongjiu.lu@intel.com>
217
218         PR binutils/19523
219         * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
220         runtest.
221         * Makefile.in: Regenerated.
222         * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
223         proc.
224         Run test_gnu_debuglink for native ELF build.
225
226 2016-01-20  Nick Clifton  <nickc@redhat.com>
227
228         PR 19495
229         * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
230         do not support inserting leading underscores.
231
232 2016-01-20  Mickael Guene  <mickael.guene@st.com>
233
234         * readelf.c (get_elf_section_flags): Display y letter for section
235         with SHF_ARM_NOREAD section flag in readelf section output.
236         (process_section_headers): Add y letter in readelf section output
237         key mapping for ARM architecture.
238         * objdump.c (dump_section_header): Display NOREAD attributes as
239         well.
240         * doc/binutils.texi (objdump): Note that it is correct for
241         sections to have both the READONLY and NOREAD attributes.
242
243 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
244
245         * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
246
247 2016-01-19  John Baldwin  <jhb@FreeBSD.org>
248
249         * readelf.c (get_freebsd_elfcore_note_type): New
250         (process_note): Add support for FreeBSD core notes.
251
252 2016-01-18  Miranda Cupertino  <Cupertino.Miranda@synopsys.com>
253             Zissulescu Claudiu  <Claudiu.Zissulescu@synopsys.com>
254
255         * readelf.c (get_machine_flags): Add support for newer ARC ELF
256         header flags.
257
258 2016-01-18  Alan Modra  <amodra@gmail.com>
259
260         * configure: Regenerate.
261
262 2016-01-17  Alan Modra  <amodra@gmail.com>
263
264         * configure: Regenerate.
265
266 2016-01-17  Alan Modra  <amodra@gmail.com>
267
268         * testsuite/lib/binutils-common.exp (is_elf_format): Return true
269         for m68hc11/12 and xgate triples.
270
271 2016-01-17  Alan Modra  <amodra@gmail.com>
272
273         * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
274
275 2016-01-01  Alan Modra  <amodra@gmail.com>
276
277         Update year range in copyright notice of all files.
278
279 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
280 \f
281 Copyright (C) 2016 Free Software Foundation, Inc.
282
283 Copying and distribution of this file, with or without modification,
284 are permitted in any medium without royalty provided the copyright
285 notice and this notice are preserved.
286
287 Local Variables:
288 mode: change-log
289 left-margin: 8
290 fill-column: 74
291 version-control: never
292 End: