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