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