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