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