]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
elfedit: Move ELF header magic bytes check to get_file_header
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2018-11-03 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
4 (get_file_header): Here.
5
6 2018-11-02 H.J. Lu <hongjiu.lu@intel.com>
7
8 * configure.ac (AC_FUNC_MMAP): New.
9 * config.in: Regenerated.
10 * configure: Likewise.
11
12 2018-11-02 Alan Modra <amodra@gmail.com>
13
14 * readelf.c (process_section_headers): Don't warn on a zero
15 sh_info or sh_link for any reloc section in an executable or
16 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
17
18 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
19
20 * testsuite/config/default.exp: Define LD, LDFLAGS and
21 ld_elf_shared_opt.
22 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
23 from ld-lib.exp.
24 (run_dump_test): Set ld to $LD.
25
26 2018-10-18 Nick Clifton <nickc@redhat.com>
27
28 * doc/binutils.texi (readelf): Document alternatives to the
29 --unwind option if it is not supported for the target
30 architecture.
31
32 2018-10-16 Alan Modra <amodra@gmail.com>
33
34 PR 23780
35 * readelf.c (display_raw_attribute): Correct assertion.
36
37 2018-10-15 Alan Modra <amodra@gmail.com>
38
39 PR 23534
40 * addr2line.c (main): Exit with fatal error if bfd_init
41 returns an unexpected value.
42 * ar.c (main): Likewise.
43 * dlltool.c (identify_dll_for_implib): Likewise.
44 * nm.c (main): Likewise.
45 * objcopy.c (main): Likewise.
46 * objdump.c (main): Likewise.
47 * size.c (main): Likewise.
48 * strings.c (main): Likewise.
49 * windmc.c (main): Likewise.
50 * windres.c (main): Likewise.
51
52 2018-10-11 Jordan Rupprecht <rupprecht@google.com>
53 Nick Clifton <nickc@redhat.com>
54
55 * objcopy.c (copy_main): Issue a fata error if the
56 --keep-global-symbol(s) and the --globalize-symbol(s) options are
57 used together.
58 * doc/binutils.texi: Document that the two options are
59 incompatible.
60 * testsuite/binutils-all/copy-5.d: New test.
61 * testsuite/binutils-all/objcopy.exp: Run the new test.
62
63 2018-10-10 Helge Deller <deller@gmx.de>
64 Alan Modra <amodra@gmail.com>
65
66 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
67 calculate number of entries.
68 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
69
70 2018-10-10 Alan Modra <amodra@gmail.com>
71
72 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
73
74 2018-10-08 Andreas Schwab <schwab@suse.de>
75
76 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
77
78 2018-10-03 Nick Clifton <nickc@redhat.com>
79
80 * po/pt.po: Updated Portuguese translation.
81 * po/fr.po: Updated French translation.
82
83 2018-09-22 Alan Modra <amodra@gmail.com>
84
85 * readelf.c (apply_relocations): Don't return FALSE for warnings.
86
87 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
88
89 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
90 from 215 to 255 for NDS32.
91
92 2018-09-17 H.J. Lu <hongjiu.lu@intel.com>
93
94 * objcopy.c (strip_specific_buffer): New.
95 (strip_unneeded_buffer): Likewise.
96 (keep_specific_buffer): Likewise.
97 (localize_specific_buffer): Likewise.
98 (globalize_specific_buffer): Likewise.
99 (keepglobal_specific_buffer): Likewise.
100 (weaken_specific_buffer): Likewise.
101 (add_specific_symbols): Add an argument to return pointer to
102 allocated buffer.
103 (copy_main): Update add_specific_symbols to update pointers to
104 allocated buffer. Free pointers to allocated buffer before
105 return.
106
107 2018-09-17 Alan Modra <amodra@gmail.com>
108
109 * objcopy.c (handle_remove_section_option): Don't require a dot
110 after .rela and .rel to handle a possible relocation section.
111 * testsuite/binutils-all/remove-relocs-07.s,
112 * testsuite/binutils-all/remove-relocs-07.d,
113 * testsuite/binutils-all/remove-relocs-08.d: New tests.
114 * testsuite/binutils-all/remove-relocs-01.d,
115 * testsuite/binutils-all/remove-relocs-04.d,
116 * testsuite/binutils-all/remove-relocs-05.d,
117 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
118
119 2018-09-17 Alan Modra <amodra@gmail.com>
120
121 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
122 (run_dump_test): Correct target test for alternate .comm syntax.
123 (get_standard_section_names): Handle som format.
124 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
125 Correct target test for alternate .comm syntax.
126
127 2018-09-17 Alan Modra <amodra@gmail.com>
128
129 * testsuite/binutils-all/strip-13mips64.s: Add section flags
130 for reloc section.
131 * testsuite/binutils-all/strip-13rel.s: Likewise.
132 * testsuite/binutils-all/strip-13rela.s: Likewise.
133 * testsuite/binutils-all/strip-14mips64.s: Likewise.
134 * testsuite/binutils-all/strip-14rel.s: Likewise.
135 * testsuite/binutils-all/strip-14rela.s: Likewise.
136 * testsuite/binutils-all/strip-15mips64.s: Likewise.
137 * testsuite/binutils-all/strip-15rel.s: Likewise.
138 * testsuite/binutils-all/strip-15rela.s: Likewise.
139
140 2018-09-17 Nick Clifton <nickc@redhat.com>
141
142 * testsuite/binutils-all/compress.exp: Rename second "objcopy
143 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
144 compress debug sections 3" and use gabi object files instead
145 of gnu object files.
146 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
147 of the "ELF group" tests.
148 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
149 Add an iteration parameter and include it in the name of the
150 test. Update callers to include an iteration count.
151
152 2018-09-15 Alan Modra <amodra@gmail.com>
153
154 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
155 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
156 * testsuite/binutils-all/symbols-1.d,
157 * testsuite/binutils-all/symbols-2.d,
158 * testsuite/binutils-all/symbols-3.d,
159 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
160 * testsuite/binutils-all/add-empty-section.d,
161 * testsuite/binutils-all/add-section.d,
162 * testsuite/binutils-all/elfedit.exp,
163 * testsuite/binutils-all/note-1.d,
164 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
165 * testsuite/config/default.exp (AS, ASFLAGS): Define.
166 * testsuite/config/hppa.sed: Handle all common symbols.
167 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
168 merged from three other versions.
169 (slurp_options, file_contents, set_file_contents): Likewise.
170 (big_or_little_endian, get_standard_section_names): Likewise.
171 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
172 (slurp_options, proc file_contents): Delete.
173 (get_standard_section_names): Delete.
174
175 2018-09-15 Alan Modra <amodra@gmail.com>
176
177 * testsuite/binutils-all/copy-2.d,
178 * testsuite/binutils-all/copy-3.d,
179 * testsuite/binutils-all/copy-4.d,
180 * testsuite/binutils-all/elfedit-1.d,
181 * testsuite/binutils-all/note-1.d,
182 * testsuite/binutils-all/note-2-64.d,
183 * testsuite/binutils-all/strip-11.d,
184 * testsuite/binutils-all/strip-13.d,
185 * testsuite/binutils-all/strip-14.d,
186 * testsuite/binutils-all/testranges.d,
187 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
188 * testsuite/binutils-all/x86-64/pr23494a.d,
189 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
190 * testsuite/binutils-all/x86-64/pr23494b.d,
191 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
192 * testsuite/binutils-all/x86-64/pr23494c.d,
193 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
194 * testsuite/binutils-all/x86-64/pr23494d.d,
195 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
196 * testsuite/binutils-all/x86-64/pr23494e.d,
197 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
198 and not-skip with notarget and noskip.
199
200 2018-09-15 Alan Modra <amodra@gmail.com>
201
202 * testsuite/binutils-all/group-7a.d,
203 * testsuite/binutils-all/group-7b.d,
204 * testsuite/binutils-all/group-7c.d,
205 * testsuite/binutils-all/symbols-1.d,
206 * testsuite/binutils-all/symbols-2.d,
207 * testsuite/binutils-all/symbols-3.d,
208 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
209
210 2018-09-14 Alan Modra <amodra@gmail.com>
211
212 PR binutils/23633
213 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
214 generates sections other than .text.
215
216 2018-09-13 H.J. Lu <hongjiu.lu@intel.com>
217
218 PR binutils/23633
219 * testsuite/binutils-all/objcopy.exp: Run pr23633.
220 * testsuite/binutils-all/pr23633.d: New file.
221 * testsuite/binutils-all/pr23633.list: Likewise.
222 * testsuite/binutils-all/pr23633.s: Likewise.
223
224 2018-09-13 Nick Clifton <nickc@redhat.com>
225
226 PR 23633
227 * objcopy.c (add_specific_symbols): Do not free the buffer at the
228 end of the function.
229
230 2018-09-10 Alan Modra <amodra@gmail.com>
231
232 PR binutils/23611
233 * objcopy.c (handle_remove_section_option): Consider .rela and
234 .rel sections for stripping directly as well as attached to the
235 associated section they relocate.
236 * doc/binutils.texi (remove-relocations): Specify that this
237 option removes non-dynamic relocation sections.
238 * testsuite/binutils-all/objcopy.exp
239 (objcopy_remove_relocations_from_executable): New test.
240
241 2018-09-03 Nick Clifton <nickc@redhat.com>
242
243 * po/ja.po: Updated Japanese translation.
244
245 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
246
247 * testsuite/binutils-all/readelf.s-64: Adjusted for
248 .note.gnu.property section.
249 * testsuite/binutils-all/strip-3.d: Also strip
250 .note.gnu.property section.
251
252 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
253
254 * testsuite/binutils-all/i386/compressed-1b.d: Pass
255 -mx86-used-note=no to assembler.
256 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
257 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
258 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
259 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
260 to assembler and update expected output from "readelf -n".
261 * testsuite/binutils-all/i386/ibt.d: Likewise.
262 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
263 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
264 * testsuite/binutils-all/i386/shstk.d: Likewise.
265 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
266 * testsuite/binutils-all/x86-64/empty.d: Likewise.
267 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
268 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
269 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
270 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
271 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
272 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
273 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
274 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
275 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
276 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
277 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
278 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
279 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
280 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
281 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
282 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
283
284 2018-08-30 H.J. Lu <hongjiu.lu@intel.com>
285
286 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
287 SHT_PREINIT_ARRAY as relocatable sections.
288
289 2018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
290
291 * MAINTAINERS: Add myself as a MIPS port maintainer.
292
293 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
294
295 * NEWS: Mention Loongson 2K1000 proccessor support.
296 * readelf.c (get_machine_flags): Handle gs264e.
297
298 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
299
300 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
301 * readelf.c (get_machine_flags): Handle gs464e.
302
303 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
304
305 * NEWS: Mention Loongson 3A1000 proccessor support.
306 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
307 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
308
309 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
310
311 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
312
313 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
314
315 * readelf.c (print_mips_ases): Add Loongson EXT extension.
316
317 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
318
319 * readelf.c (print_mips_ases): Add CAM extension.
320
321 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
322
323 * readelf.c (decode_x86_isa): Print <None> if bitmask only
324 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
325 (decode_x86_feature_1): Likewise.
326 (decode_x86_feature_2): Likewise.
327 (print_gnu_property_note): Don't mask out the
328 GNU_PROPERTY_X86_UINT32_VALID bit.
329 * testsuite/binutils-all/i386/pr21231b.d: Updated.
330 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
331
332 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
333
334 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
335 (decode_x86_isa): Likewise.
336 (decode_x86_feature_2): Likewise.
337
338 2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
339
340 PR ld/23499
341 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
342 for corrupt symbol version info.
343
344 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
345
346 * readelf.c (decode_x86_compat_isa): New function.
347 (decode_x86_feature_2): Likewise.
348 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
349 (decode_x86_feature): Renamed to ...
350 (decode_x86_feature_1): This. Remove the type argument.
351 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
352 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
353 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
354 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
355 and X86_FEATURE_1_AND.
356 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
357 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
358 values.
359 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
360 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
361 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
362 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
363 * testsuite/binutils-all/i386/pr21231b.d: Updated.
364 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
365 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
366 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
367 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
368 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
369 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
370 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
371 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
372 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
373
374 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
375
376 * readelf.c (print_gnu_property_note): Check the
377 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
378
379 2018-08-23 Alan Modra <amodra@gmail.com>
380
381 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
382 field contains unrecognised or reserved values. Handle
383 localentry:1 value.
384
385 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
386
387 PR ld/23536
388 * Makefile.am (development.exp): New target.
389 (EXTRA_DEJAGNU_SITE_CONFIG): New.
390 (DISTCLEANFILES): Add development.exp.
391 * Makefile.in: Regenerated.
392 * testsuite/binutils-all/objcopy.exp (strip_test): Call
393 prune_warnings to prune BFD output.
394 (strip_test_with_saving_a_symbol): Likewise.
395 (objcopy_test_without_global_symbol): Likewise.
396 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
397 New proc.
398 (prune_warnings): Likewise.
399
400 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
401
402 * README-how-to-make-a-release: Document setting "experimental"
403 to false.
404
405 2018-08-22 Alan Modra <amodra@gmail.com>
406
407 * readelf.c (process_file_header): Assign updated values from
408 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
409 during printing of header. Correct e_shstrndx range check.
410 Remove unnecessary casts and use %u rather than %ld for
411 unsigned int header fields. Don't print a random %lx when
412 reporting an unknown EI_VERSION.
413
414 2018-08-21 Nick Clifton <nickc@redhat.com>
415
416 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
417 maintainer.
418
419 2018-08-21 L. Simon <l.simon@samsung.com>
420
421 PR 23531
422 * readelf.c (hppa_process_unwind): Only dump the unwind table if
423 the data was successfully read in.
424
425 2018-08-18 Alan Modra <amodra@gmail.com>
426
427 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
428 input file for readelf.out.
429 (is_rela): New proc.
430 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
431 from first result of is_elf64 test.
432 (reloc_format): Set using is_rela.
433 (strip-13): Pass RELOC and ELF64 to assembler.
434 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
435 * testsuite/binutils-all/strip-13.d: Run for more targets.
436 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
437 addend to zero.
438 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
439 Don't add _NONE reloc.
440 * testsuite/binutils-all/strip-13rela.s: Likewise.
441
442 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
443
444 PR binutils/23494
445 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
446 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
447 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
448
449 2018-08-10 H.J. Lu <hongjiu.lu@intel.com>
450
451 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
452 targets.
453 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
454 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
455 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
456 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
457 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
458 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
459 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
460
461 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
462
463 PR binutils/23494
464 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
465 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
466 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
467 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
468 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
469 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
470 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
471 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
472 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
473 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
474
475 2018-08-08 Kevin Buettner <kevinb@redhat.com>
476
477 * dwarf.c (decode_location_expresion): Add case for
478 DW_OP_GNU_variable_value.
479
480 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
481
482 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
483
484 2018-08-03 Nick Clifton <nickc@redhat.com>
485
486 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
487 identical function notes.
488
489 2018-08-01 Nick Clifton <nickc@redhat.com>
490
491 * README-how-to-make-a-release: Add note about regenerating the
492 info files prior to the release.
493
494 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
495
496 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
497
498 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
499
500 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
501
502 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
503
504 * readelf.c: Include elf/csky.h.
505 (guess_is_rela): Handle EM_CSKY.
506 (dump_relocations): Likewise.
507 (get_machine_name): Likewise.
508 (is_32bit_abs_reloc): Likewise.
509
510 2018-07-25 Nick Clifton <nickc@redhat.com>
511
512 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
513 exit.
514 (parse_coff_enum_type): Free names and vals arrays upon early
515 exit.
516 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
517 strings and stabs arrays upon early exit.
518 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
519 early exit.
520 (get_64bit_section_headers): Likewise.
521 (get_32bit_elf_symbols): Generate an error if multiple symbol
522 table index sections are associated with the same symbol section.
523 (get_64bit_elf_symbols): Likewise.
524 (process_dynamic_section): Generate an error if there are multiple
525 dynamic symbol table sections, multiple dynamic string tables or
526 multiple dynamic symbol information sections.
527
528 2018-07-24 Nick Clifton <nickc@redhat.com>
529
530 * po/sv.po: Updated Swedish translation.
531
532 2018-07-24 Alan Modra <amodra@gmail.com>
533
534 PR 23431
535 * dwarf.c (display_formatted_table): Replace "what" parameter
536 with "is_dir". Expand messages. Fix capitalisation.
537 * testsuite/binutils-all/dw5.W: Update expected output.
538
539 2018-07-24 Alan Modra <amodra@gmail.com>
540
541 PR 23430
542 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
543 to uses_64bit_indices.
544 * elfcomm.c (setup_archive): Update uses of above.
545 * readelf.c (process_archive): Likewise.
546 (get_section_type_name): Rename indicies to indices.
547 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
548 (process_section_groups): Likewise.
549
550 2018-07-20 Maciej W. Rozycki <macro@mips.com>
551
552 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
553 ISA maintenance.
554
555 2018-07-20 Nick Clifton <nickc@redhat.com>
556
557 * objcopy.c (add_specific_symbols): Free buffer on exit.
558 (add_redefine_syms_file): Close file handle on exit.
559 (copy_object): Close file handle on early exit.
560 Free buffer on early exit.
561 Free gaps buffers once they are no longer needed.
562 * dwarf.c (display_debug_frames): Free allocated memory on exit.
563 (load_separate_debug_info): Free allocate memory on early exit.
564
565 2018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
566 Maciej W. Rozycki <macro@mips.com>
567
568 * readelf.c (print_mips_ases): Add MMI extension.
569
570 2018-07-19 DJ Delorie <dj@redhat.com>
571
572 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
573
574 2018-07-19 Nick Clifton <nickc@redhat.com>
575
576 * dwarf.c (read_cie): Free allocated memory before returning with
577 a failure result.
578
579 2018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
580
581 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
582 description.
583
584 2018-07-16 Nick Clifton <nickc@redhat.com>
585
586 * README-how-to-make-a-release: Add note to check for new top
587 level files and add them to the src-release.sh script.
588
589 2018-07-14 Nick Clifton <nickc@redhat.com>
590
591 * README-how-to-make-a-release: Updated with corrections based on
592 the 2.31 release experience.
593
594 2018-07-12 Francois H. Theron <francois.theron@netronome.com>
595
596 * readelf.c (process_section_headers): Don't print section type
597 twice for --section-details.
598
599 2018-07-10 Alan Modra <amodra@gmail.com>
600
601 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
602 zero for xgate.
603
604 2018-07-06 Nick Clifton <nickc@redhat.com>
605
606 * readelf.c (same_section): New function.
607 (print_gnu_build_attribute_description): Do not complain about
608 gaps that cross a section boundary.
609
610 2018-07-05 Nick Clifton <nickc@redhat.com>
611
612 * po/bg.po: Updated Bulgarian translation.
613
614 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
615
616 * NEWS: Use command-line consistently when used in a compount word.
617 * doc/binutils.texi: Likewise and fix trailing whitespace on same
618 line.
619
620 2018-06-26 Nick Clifton <nickc@redhat.com>
621
622 * po/sv.po: Updated Swedish translation.
623 * po/uk.po: Updated Ukranian translation.
624
625 2018-06-26 Nick Clifton <nickc@redhat.com>
626
627 * doc/binutils.texi: Fix spelling mistakes.
628 * README--how-to-make-a-release: Likewise.
629
630 2018-06-25 Tom Tromey <tom@tromey.com>
631
632 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
633 Bump version number.
634
635 2018-06-24 Nick Clifton <nickc@redhat.com>
636
637 * README-how-to-make-a-release: Update with experiences from
638 making 2.31 branch.
639 * po/binutils.pot: Regenerate.
640 * configure: Regenerate.
641
642 2018-06-24 Nick Clifton <nickc@redhat.com>
643
644 2.31 branch created.
645 * NEWS: Add marker for 2.31.
646
647 2018-06-21 Alan Modra <amodra@gmail.com>
648
649 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
650 * doc/Makefile.in: Regenerate.
651
652 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
653
654 * configure.ac: Remove AC_PREREQ.
655 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
656 info-in-builddir no-texinfo.tex.
657 * Makefile.in: Re-generate.
658 * aclocal.m4: Re-generate.
659 * config.in: Re-generate.
660 * configure: Re-generate.
661 * doc/Makefile.in: Re-generate.
662
663 2018-06-19 Andreas Schwab <schwab@suse.de>
664
665 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
666 (is_8bit_abs_reloc): New function.
667 (is_6bit_abs_reloc): New function.
668 (is_6bit_inplace_sub_reloc): New function.
669 (apply_relocations): Use them. Handle 6-bit relocations.
670
671 2018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
672
673 * readelf.c (print_mips_ases): Add GINV extension.
674
675 2018-06-14 H.J. Lu <hongjiu.lu@intel.com>
676
677 PR binutils/23267
678 * readelf.c (get_symbol_version_string): Check if the first
679 symbol version is base version.
680
681 2018-06-13 Scott Egerton <scott.egerton@imgtec.com>
682 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
683
684 * readelf.c (print_mips_ases): Add CRC.
685
686 2018-06-13 Nick Clifton <nickc@redhat.com>
687
688 * doc/binutils.texi (objdump): Add missing closing square
689 parenthesis to listing of objcopy's command line options.
690
691 2018-06-11 Nick Clifton <nickc@redhat.com>
692
693 * po/es.po: Updated Spanish translation.
694
695 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
696
697 * configure: Regenerated.
698
699 2018-05-31 Alan Modra <amodra@gmail.com>
700
701 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
702 set CC_FOR_TARGET. Run test non-native.
703 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
704 Likewise.
705 (test_follow_debuglink): Run test non-native.
706
707 2018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
708
709 PR 23107
710 * ar.c (display_offsets): New variable.
711 (usage): Add description of 'O' operator.
712 (decode_option): Handle 'O' operator.
713 (print_descr): Pass display_offsets to print_arelt_descr.
714 * arsup.c: Update call to printy_arelt_descr.
715 * objdump.c: Likewise.
716 * bucomm.c (print_arelt_descr): If offsets parameter is true then
717 display offset of archive element within the archive.
718 * bucomm.h: Update prototype for print_arelt_descr.
719 * doc/binutils.texi: Update description of ar command.
720 * NEWS: Mention the new feature.
721 * testsuite/binutils-all/ar.exp: Add text of new feature.
722
723 2018-05-28 Alan Modra <amodra@gmail.com>
724
725 PR 23235
726 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
727 unsupported rather than fail on compile errors.
728 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
729 Likewise. Save and restore CFLAGS_FOR_TARGET.
730
731 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
732
733 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
734
735 2018-05-18 John Darrington <john@darrington.wattle.id.au>
736
737 * readelf.c: Add support for s12z architecture.
738 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
739 targets.
740
741 2018-05-15 Tamar Christina <tamar.christina@arm.com>
742
743 PR binutils/21446
744 * doc/binutils.texi (-M): Document AArch64 options.
745
746 2018-05-15 Tamar Christina <tamar.christina@arm.com>
747
748 PR binutils/21446
749 * doc/binutils.texi (-M): Document AArch64 options.
750 * NEWS: Document notes and warnings.
751
752 2018-05-15 Alan Modra <amodra@gmail.com>
753
754 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
755 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
756 and *uclinux* into *linux*.
757 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
758 strip-13 test, exclude arm-vxworks and arm-windiss.
759
760 2018-05-10 John Darrington <john@darrington.wattle.id.au>
761
762 * readelf.c (get_machine_name): EM_S12Z - handle new case.
763
764 2018-05-09 Alan Modra <amodra@gmail.com>
765
766 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
767
768 2018-05-09 Sebastian Rasmussen <sebras@gmail.com>
769
770 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
771
772 2018-05-08 Alan Modra <amodra@gmail.com>
773
774 PR 23141
775 * objcopy.c (is_strip_section): Strip groups without a valid
776 signature symbol.
777
778 2018-05-07 Alan Modra <amodra@gmail.com>
779
780 PR 23142
781 * objcopy.c (group_signature): Don't accept groups that use a
782 symbol table other than the one we've read.
783
784 2018-04-30 Francois H. Theron <francois.theron@netronome.com>
785
786 * readelf.c: Very basic support for EM_NFP and its section types.
787 * testsuite/binutils-all/nfp: New directory.
788 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
789 tests.
790 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
791 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
792 * testsuite/binutils-all/nfp/test1.d: New file.
793 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
794 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
795 * NEWS: Mention the new support.
796
797 2018-04-27 Maciej W. Rozycki <macro@mips.com>
798
799 * testsuite/lib/binutils-common.exp (match_target): New procedure.
800 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
801 of `istarget' for matching with `target', `not-target', `skip'
802 and `not-skip' options.
803
804 2018-04-26 Nick Clifton <nickc@redhat.com>
805
806 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
807 32-bit absolute reloc for the HPPA target.
808 * testsuite/binutils-all/note-5.d: New test.
809 * testsuite/binutils-all/note-5.s: Source file for new test.
810 * testsuite/binutils-all/objcopy.exp: Run new test.
811
812 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
813
814 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
815 * testsuite/binutils-all/elfedit-3.d: Likewise.
816 * testsuite/binutils-all/objcopy.exp: Likewise.
817 * testsuite/binutils-all/strip-3.d: Likewise.
818 * testsuite/lib/binutils-common.exp: Likewise.
819
820 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
821 Mickaël Guêné <mickael.guene@st.com>
822
823 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
824 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
825
826 2018-04-25 Alan Modra <amodra@gmail.com>
827
828 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
829 arm-coff support.
830 * testsuite/binutils-all/objcopy.exp: Likewise.
831 * testsuite/lib/binutils-common.exp: Likewise.
832
833 2018-04-18 Nick Clifton <nickc@redhat.com>
834
835 PR 23062
836 * dwarf.c (read_and_display_attr_value): Replace assertions with
837 test and warning message.
838
839 2018-04-18 Alan Modra <amodra@gmail.com>
840
841 * testsuite/lib/binutils-common.exp: Remove support for assorted
842 aout targets.
843
844 2018-04-17 Nick Clifton <nickc@redhat.com>
845
846 PR 23063
847 * readelf.c (print_symbol): If the width is zero, return straight
848 away.
849
850 PR 23064
851 * dwarf.c (process_cu_tu_index): Test for a potential buffer
852 overrun before copying signature pointer.
853
854 2018-04-17 Alan Modra <amodra@gmail.com>
855
856 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
857
858 2018-04-16 Alan Modra <amodra@gmail.com>
859
860 * readelf.c (get_machine_name): Correct typo.
861
862 2018-04-16 Alan Modra <amodra@gmail.com>
863
864 * configure.ac: Remove arm-epoc-pe support.
865 * dlltool.c: Likewise.
866 * configure: Regenerate.
867
868 2018-04-16 Alan Modra <amodra@gmail.com>
869
870 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
871 sparc-coff support.
872
873 2018-04-16 Alan Modra <amodra@gmail.com>
874
875 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
876 support.
877 * testsuite/binutils-all/copy-3.d: Likewise.
878 * testsuite/binutils-all/objcopy.exp: Likewise.
879 * testsuite/lib/binutils-common.exp: Likewise.
880
881 2018-04-16 Alan Modra <amodra@gmail.com>
882
883 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
884
885 2018-04-16 Alan Modra <amodra@gmail.com>
886
887 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
888
889 2018-04-16 Alan Modra <amodra@gmail.com>
890
891 * testsuite/binutils-all/objdump.exp: Remove we32k support.
892
893 2018-04-16 Alan Modra <amodra@gmail.com>
894
895 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
896 * testsuite/binutils-all/objdump.exp: Remove m88k support.
897
898 2018-04-16 Alan Modra <amodra@gmail.com>
899
900 * readelf.c: Remove i370 support.
901 * testsuite/binutils-all/objdump.exp: Likewise.
902
903 2018-04-16 Alan Modra <amodra@gmail.com>
904
905 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
906 * testsuite/lib/binutils-common.exp: Likewise.
907
908 2018-04-16 Alan Modra <amodra@gmail.com>
909
910 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
911
912 2018-04-16 Alan Modra <amodra@gmail.com>
913
914 * Makefile.am: Remove IEEE 695 support.
915 * budbg.h: Likewise.
916 * doc/binutils.texi: Likewise.
917 * makefile.vms: Likewise.
918 * objcopy.c: Likewise.
919 * objdump.c: Likewise.
920 * rddbg.c: Likewise.
921 * ieee.c: Delete.
922 * Makefile.in: Regenerate.
923 * po/POTFILES.in: Regenerate.
924
925 2018-04-16 Alan Modra <amodra@gmail.com>
926
927 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
928 * testsuite/binutils-all/nm.exp: Likewise.
929
930 2018-04-16 Alan Modra <amodra@gmail.com>
931
932 * .gitignore: Remove netware support.
933 * Makefile.am: Likewise.
934 * configure.ac: Likewise.
935 * doc/Makefile.am: Likewise.
936 * doc/binutils.texi: Likewise.
937 * testsuite/binutils-all/nm.exp: Likewise.
938 * nlmconv.c: Delete.
939 * nlmconv.h: Delete.
940 * nlmheader.y: Delete.
941 * Makefile.in: Regenerate.
942 * configure: Regenerate.
943 * doc/Makefile.in: Regenerate.
944 * po/POTFILES.in: Regenerate.
945
946 2018-04-16 Alan Modra <amodra@gmail.com>
947
948 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
949
950 2018-04-14 Alan Modra <amodra@gmail.com>
951
952 * readelf.c (get_machine_name): Revert 2018-04-11 change.
953
954 2018-04-12 Nick Clifton <nickc@redhat.com>
955
956 PR 23050
957 * readelf.c (process_dynamic_section): Correct dynamic string
958 table size calculation.
959
960 2018-04-11 Alan Modra <amodra@gmail.com>
961
962 * ieee.c: Remove i960 support.
963 * od-macho.c: Remove i860 support.
964 * readelf.c: Remove i860 and i960 support.
965 * testsuite/binutils-all/objcopy.exp: Likewise.
966 * testsuite/binutils-all/objdump.exp: Likewise.
967 * testsuite/lib/binutils-common.exp: Likewise.
968
969 2018-04-11 Maciej W. Rozycki <macro@mips.com>
970
971 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
972 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
973
974 2018-04-10 Alan Modra <amodra@gmail.com>
975
976 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
977 reloc=11 for pru and reloc=50 for nds32.
978 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
979
980 2018-04-09 Maciej W. Rozycki <macro@mips.com>
981
982 * testsuite/binutils-all/strip-15.d: New test.
983 * testsuite/binutils-all/strip-15rel.s: New test source.
984 * testsuite/binutils-all/strip-15rela.s: New test source.
985 * testsuite/binutils-all/strip-15mips64.s: New test source.
986 * testsuite/binutils-all/objcopy.exp: Run the new test.
987
988 2018-04-09 Maciej W. Rozycki <macro@mips.com>
989
990 * testsuite/binutils-all/strip-14.d: New test.
991 * testsuite/binutils-all/strip-14rel.s: New test source.
992 * testsuite/binutils-all/strip-14rela.s: New test source.
993 * testsuite/binutils-all/strip-14mips64.s: New test source.
994 * testsuite/binutils-all/objcopy.exp: Run the new test.
995
996 2018-04-06 Tom Tromey <tom@tromey.com>
997
998 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
999 constants from DWARF 5.
1000
1001 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1002
1003 PR gas/22318
1004 * configure: Regenerated.
1005
1006 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1007
1008 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1009 than `.dc.w' in second relocation.
1010
1011 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1012
1013 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1014 relocation type 0x8f' error message.
1015
1016 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1017
1018 * testsuite/binutils-all/strip-13.s: Rename to...
1019 * testsuite/binutils-all/strip-13rela.s: ... this.
1020 * testsuite/binutils-all/strip-13rel.s: New test source.
1021 * testsuite/binutils-all/strip-13mips64.s: New test source.
1022 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1023 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1024 `m68hc11-*' to `not-target' list.
1025 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1026 `strip-13'.
1027
1028 2018-04-05 Maciej W. Rozycki <macro@mips.com>
1029
1030 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1031 241 (0xf1) for the relocation number and RELA addend.
1032 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1033 `not-target' list.
1034
1035 2018-04-04 John David Anglin <danglin@gcc.gnu.org>
1036
1037 * MAINTAINERS: Update my e-mail address.
1038
1039 2018-04-04 Nick Clifton <nickc@redhat.com>
1040
1041 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1042
1043 2018-03-23 Nick Clifton <nickc@redhat.com>
1044
1045 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1046 symbols.
1047 (print_gnu_build_attribute_description): If no file start symbol
1048 could be found, look for one two bytes into the file.
1049 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1050 start symbol to two bytes into the file.
1051 * testsuite/binutils-all/note-4-32.s: Likewise.
1052
1053 2018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1054
1055 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1056 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1057
1058 2018-03-20 Nick Clifton <nickc@redhat.com>
1059
1060 * po/es.po: Updated Spanish translation.
1061 * po/ru.po: Updated Russian translation.
1062
1063 2018-03-13 Nick Clifton <nickc@redhat.com>
1064
1065 PR 22957
1066 * stabs.c (pop_binincl): Fail if the file index is off the end of
1067 the stack.
1068
1069 2018-03-13 Nick Clifton <nickc@redhat.com>
1070
1071 PR 22955
1072 * stabs.c (parse_number): Add p_end parameter and use it to check
1073 the validity of the pp parameter. Add checks to prevent walking
1074 off the end of the string buffer.
1075 (parse_stab_string): Likewise.
1076 (parse_stab_type): Likewise.
1077 (parse_stab_type_number): Likewise.
1078 (parse_stab_range_type): Likewise.
1079 (parse_stab_sun_builtin_type): Likewise.
1080 (parse_stab_sun_floating_type): Likewise.
1081 (parse_stab_enum_type): Likewise.
1082 (parse_stab_struct_type): Likewise.
1083 (parse_stab_baseclasses): Likewise.
1084 (parse_stab_struct_fields): Likewise.
1085 (parse_stab_cpp_abbrev): Likewise.
1086 (parse_stab_one_struct_field): Likewise.
1087 (parse_stab_members): Likewise.
1088 (parse_stab_tilde_field): Likewise.
1089 (parse_stab_array_type): Likewise.
1090
1091 * parse_stab: Compute the end of the string and then pass it on to
1092 individual parser functions.
1093
1094 2018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1095
1096 PR binutils/22923
1097 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1098 overflow.
1099
1100 2018-03-07 Alan Modra <amodra@gmail.com>
1101
1102 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1103 * configure: Regenerate.
1104
1105 2018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 PR binutils/22911
1108 * objdump.c (is_significant_symbol_name): Return TRUE for all
1109 .plt* sections.
1110 (find_symbol_for_address): Replace linear search with binary
1111 search on dynamic relocations.
1112
1113 2018-03-01 Nick Clifton <nickc@redhat.com>
1114
1115 PR 22905
1116 * dwarf.c (display_debug_ranges): Check that the offset loaded
1117 from the range_entry structure is valid.
1118
1119 2018-03-01 Alan Modra <amodra@gmail.com>
1120
1121 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1122 * configure: Regenerate.
1123
1124 2018-02-27 Nick Clifton <nickc@redhat.com>
1125
1126 * po/pt.po: New Portuguese translation.
1127 * configure.ac (ALL_LINGUAS): Add pt.
1128 * configure: Regenerate.
1129
1130 2018-02-27 Nick Clifton <nickc@redhat.com>
1131
1132 PR 22875
1133 * objcopy.c (copy_object): Check the error status after marking
1134 symbols used in relocations.
1135 * testsuite/binutils-all/strip-13.s: New test source file.
1136 * testsuite/binutils-all/strip-13.s: New test driver file.
1137 * testsuite/binutils-all/objcopy.exp: Run the new test.
1138
1139 2018-02-26 Alan Modra <amodra@gmail.com>
1140
1141 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1142 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1143
1144 2018-02-23 Alan Modra <amodra@gmail.com>
1145
1146 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1147 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1148
1149 2018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1150
1151 * doc/binutils.texi (objcopy): Add missing closing square
1152 parenthesis to listing of objcopy's command line options.
1153
1154 2018-02-19 Matthias Klose <doko@debian.org>
1155
1156 * strings.c (long_options): Include-all-whitespace does not take
1157 an extra agument.
1158
1159 2018-02-13 Alan Modra <amodra@gmail.com>
1160
1161 PR 22836
1162 * testsuite/binutils-all/group-7.s,
1163 * testsuite/binutils-all/group-7a.d,
1164 * testsuite/binutils-all/group-7b.d,
1165 * testsuite/binutils-all/group-7c.d: New tests.
1166 * testsuite/binutils-all/objcopy.exp: Run them.
1167
1168 2018-02-08 Nick Clifton <nickc@redhat.com>
1169
1170 PR 22802
1171 * dwarf.c (load_separate_debug_file): Return early if the user is
1172 not interested in debug links.
1173
1174 2018-02-06 Nick Clifton <nickc@redhat.com>
1175
1176 PR 22793
1177 * readelf.c (find_section): Replace assertion with test and return
1178 of NULL.
1179 (find_section_by_address): Add test of section header table
1180 existance.
1181 (find_section_by_type): Likewise.
1182 (find_section_in_set): Likewise.
1183
1184 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1185
1186 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1187 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1188 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1189 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1190
1191 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1192
1193 * testsuite/config/default.exp (binutils_run): Document
1194 `binutils_run_status'.
1195 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1196 and set it.
1197 (run_dump_test): Add `error', `error_output', `warning' and
1198 `warning_output' options. Update documentation accordingly.
1199
1200 2018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1201
1202 * dwarf.c (dwarf_regnames_riscv): New register name table.
1203 (init_dwarf_regnames_riscv): New function.
1204 (init_dwarf_regnames): Add call to initialise RiscV register
1205 names.
1206 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1207 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1208 names.
1209
1210 2018-02-01 Alan Modra <amodra@gmail.com>
1211
1212 PR 22769
1213 * objdump.c (load_specific_debug_section): Check for overflow
1214 when adding one to section size for a string section terminator.
1215
1216 2018-01-30 Nick Clifton <nickc@redhat.com>
1217
1218 PR 22734
1219 * doc/binutils.texi (nm): Update description to point out that
1220 zero-initialized values can also be shown as type B, b, S or s
1221 since they can be stored in the BSS section.
1222
1223 2018-01-30 Alan Modra <amodra@gmail.com>
1224
1225 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1226 "artificially large" end address.
1227
1228 2018-01-28 Nick Clifton <nickc@redhat.com>
1229
1230 * README-how-to-make-a-release: Add note about checking gpg key
1231 and the results of gnupload.
1232
1233 2018-01-27 Nick Clifton <nickc@redhat.com>
1234
1235 * README-how-to-make-a-release: Add details on how to actually
1236 make the release.
1237
1238 2018-01-26 Nick Clifton <nickc@redhat.com>
1239
1240 * README-how-to-make-a-release: Add more details on updating
1241 version numbers.
1242
1243 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1244
1245 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1246 option description.
1247
1248 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1249
1250 * MAINTAINERS: Update my company e-mail address.
1251
1252 2018-01-22 Nick Clifton <nickc@redhat.com>
1253
1254 * po/sv.po: Updated Swedish translation.
1255
1256 2018-01-18 Nick Clifton <nickc@redhat.com>
1257
1258 * po/bg.po: Updated Bulgarian translation.
1259
1260 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1261
1262 * README-how-to-make-a-release: Add reminder to update the
1263 branch name in gdbadmin's crontab on sourceware.
1264
1265 2018-01-16 Joel Brobecker <brobecker@adacore.com>
1266
1267 * README-how-to-make-a-release: Remove trailing spaces.
1268
1269 2018-01-16 Nick Clifton <nickc@redhat.com>
1270
1271 * po/fr.po: Updated French translation.
1272
1273 2018-01-15 Nick Clifton <nickc@redhat.com>
1274
1275 * po/uk.po: Updated Ukranian translation.
1276
1277 2018-01-13 Nick Clifton <nickc@redhat.com>
1278
1279 * README-how-to-make-a-release: Update notes.
1280 * po/binutils.pot: Regenerated.
1281
1282 2018-01-13 Nick Clifton <nickc@redhat.com>
1283
1284 * configure: Regenerate.
1285
1286 2018-01-13 Nick Clifton <nickc@redhat.com>
1287
1288 2.30 branch created.
1289 * NEWS: Add marker for 2.30.
1290
1291 2018-01-12 Nick Clifton <nickc@redhat.com>
1292
1293 * README-how-to-make-a-release: Add notes on how to make the
1294 branch and prelease snapshot.
1295 * BRANCHES: Add binutils-2_29-branch.
1296
1297 2018-01-10 Nick Clifton <nickc@redhat.com>
1298
1299 * MAINTAINERS: Note that it is now the configure.ac file and not
1300 the configure.in file that needs to be kept in sync with gcc.
1301 Add a note about sending patches for libiberty to gcc.
1302
1303 2018-01-03 Nick Clifton <nickc@redhat.com>
1304
1305 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1306 constants.
1307
1308 2018-01-03 Nick Clifton <nickc@redhat.com>
1309
1310 * objcopy.c (objcopy_internal_note): New structure.
1311 (gap_exists): New function.
1312 (is_open_note): New function.
1313 (is_func_note): New function.
1314 (is_64bit): New function.
1315 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1316 if there are relocations against the notes.
1317 * readelf.c (get_note_type): Use short names for build attribute
1318 notes.
1319 (print_symbol_for_build_attribute): Rename to
1320 get_symbol_for_build_attribute. Returns the found symbol rather
1321 than printing it.
1322 (print_gnu_build_attribute_description): Maintain address ranges
1323 for function notes as well as global notes. Handle v3 notes.
1324 (print_gnu_build_attribute_name): Use more space for printing the
1325 name in wide mode.
1326 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1327 Eliminate symbol references in order to remove the need for
1328 relocations.
1329 * testsuite/binutils-all/note-2-64.s: Likewise.
1330 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1331 symbol.
1332 * testsuite/binutils-all/note-3-64.s: Likewise.
1333 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1334 output.
1335 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1336 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1337 * testsuite/binutils-all/note-2-32.d: Likewise.
1338 * testsuite/binutils-all/note-2-64.d: Likewise.
1339 * testsuite/binutils-all/note-3-32.d: Likewise.
1340 * testsuite/binutils-all/note-3-64.d: Likewise.
1341 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1342 * testsuite/binutils-all/note-4-32.s: New test.
1343 * testsuite/binutils-all/note-4-64.d: New test result file.
1344 * testsuite/binutils-all/note-4-32.d: New test result file.
1345
1346 2018-01-03 Alan Modra <amodra@gmail.com>
1347
1348 Update year range in copyright notice of all files.
1349
1350 For older changes see ChangeLog-2017
1351 \f
1352 Copyright (C) 2018 Free Software Foundation, Inc.
1353
1354 Copying and distribution of this file, with or without modification,
1355 are permitted in any medium without royalty provided the copyright
1356 notice and this notice are preserved.
1357
1358 Local Variables:
1359 mode: change-log
1360 left-margin: 8
1361 fill-column: 74
1362 version-control: never
1363 End: