PR23952, memory leak in _bfd_generic_read_minisymbols
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
c2f5dc30
AM
12018-12-07 Alan Modra <amodra@gmail.com>
2
3 * nm.c (display_rel_file): Use xrealloc to increase minisyms
4 for synthetic symbols.
5
af03af8f
NC
62018-12-07 Nick Clifton <nickc@redhat.com>
7
8 * addr2line.c (demangle_flags): New static variable.
9 (long_options): Add --recurse-limit and --no-recurse-limit.
10 (translate_address): Pass demangle_flags to bfd_demangle.
11 (main): Handle --recurse-limit and --no-recurse-limit options.
12 * cxxfilt.c: (long_options): Add --recurse-limit and
13 --no-recurse-limit.
14 (main): Handle new options.
15 * nm.c (demangle_flags): New static variable.
16 (long_options): Add --recurse-limit and --no-recurse-limit.
17 (main): Handle new options.
18 * objdump.c (demangle_flags): New static variable.
19 (usage): Add --recurse-limit and --no-recurse-limit.
20 (long_options): Likewise.
21 (objdump_print_symname): Pass demangle_flags to bfd_demangle.
22 (disassemble_section): Likewise.
23 (dump_dymbols): Likewise.
24 (main): Handle new options.
25 * prdbg.c (demangle_flags): New static variable.
26 (tg_variable): Pass demangle_flags to demangler.
27 (tg_start_function): Likewise.
28 * stabs.c (demangle_flags): New static variable.
29 (stab_demangle_template): Pass demangle_flags to demangler.
30 (stab_demangle_v3_argtypes): Likewise.
31 (stab_demangle_v3_arg): Likewise.
32 * doc/binutuls.texi: Document new command line options.
33 * NEWS: Mention the new feature.
34 * testsuite/config/default.exp (CXXFILT): Define if not already
35 defined.
36 (CXXFILTFLAGS): Likewise.
37 * testsuite/binutils-all/cxxfilt.exp: New file. Runs a few
38 simple tests of the cxxfilt program.
39
8acbe8ff
NC
402018-12-03 Nick Clifton <nickc@redhat.com>
41
42 PR 23941
43 * testsuite/binutils-all/i386/compressed-1a.d: Update expected output.
44 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
45
4770fb94
AM
462018-12-01 Alan Modra <amodra@gmail.com>
47
48 PR 23946
49 * readelf.c (slurp_ia64_unwind_table): Bounds check symbol index
50 on reloc.
51 (slurp_hppa_unwind_table): Likewise.
52
726bd37d
AM
532018-12-01 Alan Modra <amodra@gmail.com>
54
55 PR 23945
56 * readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type
57 needlessly.
58 (slurp_hppa_unwind_table): Use same range checks and error messages
59 as slurp_ia64_unwind_table.
60
8936f768
NC
612018-11-29 Nick Clifton <nickc@redhat.com>
62
63 PR 23931
64 * objdump.c (dump_relocs_in_section): When checking for an
65 unreasonable amount of relocs in a bfd, allow for the fact that
66 the internal representation of a reloc may be bigger than the
67 external representation.
68
4207142d
MW
692018-11-27 Mark Wielaard <mark@klomp.org>
70
71 PR binutils/23919
72 * readelf.c (dump_sections_as_strings): Remove bogus addralign check.
73 (dump_sections_as_bytes): Likewise.
74 (load_specific_debug_sections): Likewise.
75 * testsuite/binutils-all/dw2-3.rS: Adjust alignment.
76 * testsuite/binutils-all/dw2-3.rt: Likewise.
77
f92f9e87
L
782018-11-20 H.J. Lu <hongjiu.lu@intel.com>
79
80 PR binutils/23898
81 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
82 Prune gaps in build notes.
83
97b3f392
FT
842018-11-13 Francois H. Theron <francois.theron@netronome.com>
85
86 * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
87
88
5d762de0
HAQ
892018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
90
91 * configure: Regenerate.
92
71f5e3f7
NC
932018-11-09 Mathias <m4tze@exitno.de>
94
95 * strings.c (print_strings): Check for multibyte encodings.
96 * binutils-all/strings-1.bin: New file. Test binary for string decoding.
97 * testsuite/binutils-all/strings.exp: New file. Test the strings program.
98 * testsuite/config/default.exp (STRINGS): Define if not provided
99 by the environment.
100 (STRINGSFLAGS): Likewise.
101
d3def5d7
MY
1022018-11-07 Masatake Yamato <yamato@redhat.com>
103
104 * objdump.c (long_options): Have the --disassemble option take an
105 optional argument.
106 (usage): Add description for the `symbol' argument to the
107 --disassemble option.
108 (disasm_sym): New file private variable.
109 (struct objdump_disasm_info): New field `symbol'.
110 (disassemble_section): Introduce `do_print' local variable
111 to control whether objdump displays the result of disassembling
112 for a symbol or not.
113 (main): Set `symbol' file private variable if the option argument
114 for the --disassemble option is given.
115 * doc/binutils.texi (objdump): Add description for the option
116 argument.
117 * NEWS: Mention the new feature.
118 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
119 --disassemble=<symbol> options.
120 * testsuite/binutils-all/bintest.s: Add more symbols and code.
121 * testsuite/binutils-all/readelf.s: Update expected output.
122 * testsuite/binutils-all/readelf.ss-64: Likewise.
123 * testsuite/binutils-all/readelf.ss-mips: Likewise.
124 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
125
0661ae2e
NC
1262018-11-07 Nick Clifton <nickc@redhat.com>
127
128 * po/pt.po: Updated Portuguese translation.
129
fc7b364a
RB
1302018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
131 Saagar Jha <saagar@saagarjha.com>
132
133 PR 23728
134 * od-macho.c (printf_version): New.
135 (dump_load_command): Use it to print version. Print sdk version. Print
136 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
137 (dump_buld_version): New.
138 (bfd_mach_o_platform_name): New
139 (bfd_mach_o_tool_name): New
140
8d3c78e4 1412018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
fc7b364a 142
8d3c78e4
YS
143 * testsuite/lib/binutils-common.exp: Special section name
144 use only rx-*-elf.
145
8a6b075b
L
1462018-11-06 H.J. Lu <hongjiu.lu@intel.com>
147
148 * doc/binutils.texi: Document --enable-x86-feature and
149 --disable-x86-feature options for elfedit.
150 * elfedit.c: Include "config.h" and <sys/mman.h>.
151 (enable_x86_features): New.
152 (disable_x86_features): Likewise.
153 (update_gnu_property): Likewise.
154 (elf_x86_feature): Likewise.
155 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
156 file.
157 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
158 OPTION_DISABLE_X86_FEATURE.
159 (options): Add--enable-x86-feature and --disable-x86-feature.
160 (usage): Likewise.
161 (main): Handle OPTION_ENABLE_X86_FEATURE and
162 OPTION_DISABLE_X86_FEATURE.
163
675accbd
L
1642018-11-03 H.J. Lu <hongjiu.lu@intel.com>
165
166 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
167 (get_file_header): Here.
168
34156b23
L
1692018-11-02 H.J. Lu <hongjiu.lu@intel.com>
170
171 * configure.ac (AC_FUNC_MMAP): New.
172 * config.in: Regenerated.
173 * configure: Likewise.
174
285e3f99
AM
1752018-11-02 Alan Modra <amodra@gmail.com>
176
177 * readelf.c (process_section_headers): Don't warn on a zero
178 sh_info or sh_link for any reloc section in an executable or
179 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
180
33ea299c
TP
1812018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
182
183 * testsuite/config/default.exp: Define LD, LDFLAGS and
184 ld_elf_shared_opt.
185 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
186 from ld-lib.exp.
187 (run_dump_test): Set ld to $LD.
188
f63085d1
NC
1892018-10-18 Nick Clifton <nickc@redhat.com>
190
191 * doc/binutils.texi (readelf): Document alternatives to the
192 --unwind option if it is not supported for the target
193 architecture.
194
feceaa59
AM
1952018-10-16 Alan Modra <amodra@gmail.com>
196
197 PR 23780
198 * readelf.c (display_raw_attribute): Correct assertion.
199
bf2dd8d7
AM
2002018-10-15 Alan Modra <amodra@gmail.com>
201
202 PR 23534
203 * addr2line.c (main): Exit with fatal error if bfd_init
204 returns an unexpected value.
205 * ar.c (main): Likewise.
206 * dlltool.c (identify_dll_for_implib): Likewise.
207 * nm.c (main): Likewise.
208 * objcopy.c (main): Likewise.
209 * objdump.c (main): Likewise.
210 * size.c (main): Likewise.
211 * strings.c (main): Likewise.
212 * windmc.c (main): Likewise.
213 * windres.c (main): Likewise.
214
de564eb5
NC
2152018-10-11 Jordan Rupprecht <rupprecht@google.com>
216 Nick Clifton <nickc@redhat.com>
217
218 * objcopy.c (copy_main): Issue a fata error if the
219 --keep-global-symbol(s) and the --globalize-symbol(s) options are
220 used together.
221 * doc/binutils.texi: Document that the two options are
222 incompatible.
223 * testsuite/binutils-all/copy-5.d: New test.
224 * testsuite/binutils-all/objcopy.exp: Run the new test.
225
43f6cd05
AM
2262018-10-10 Helge Deller <deller@gmx.de>
227 Alan Modra <amodra@gmail.com>
228
229 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
230 calculate number of entries.
231 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
232
8ab159a9
AM
2332018-10-10 Alan Modra <amodra@gmail.com>
234
235 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
236
25cbdcbb
AS
2372018-10-08 Andreas Schwab <schwab@suse.de>
238
239 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
240
8e90d6d2
NC
2412018-10-03 Nick Clifton <nickc@redhat.com>
242
243 * po/pt.po: Updated Portuguese translation.
527b9e87 244 * po/fr.po: Updated French translation.
8e90d6d2 245
dfc616fa
AM
2462018-09-22 Alan Modra <amodra@gmail.com>
247
248 * readelf.c (apply_relocations): Don't return FALSE for warnings.
249
fbaf61ad
NC
2502018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
251
252 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
253 from 215 to 255 for NDS32.
254
d839b914
L
2552018-09-17 H.J. Lu <hongjiu.lu@intel.com>
256
257 * objcopy.c (strip_specific_buffer): New.
258 (strip_unneeded_buffer): Likewise.
259 (keep_specific_buffer): Likewise.
260 (localize_specific_buffer): Likewise.
261 (globalize_specific_buffer): Likewise.
262 (keepglobal_specific_buffer): Likewise.
263 (weaken_specific_buffer): Likewise.
264 (add_specific_symbols): Add an argument to return pointer to
265 allocated buffer.
266 (copy_main): Update add_specific_symbols to update pointers to
267 allocated buffer. Free pointers to allocated buffer before
268 return.
269
c12d9fa2
AM
2702018-09-17 Alan Modra <amodra@gmail.com>
271
272 * objcopy.c (handle_remove_section_option): Don't require a dot
273 after .rela and .rel to handle a possible relocation section.
274 * testsuite/binutils-all/remove-relocs-07.s,
275 * testsuite/binutils-all/remove-relocs-07.d,
276 * testsuite/binutils-all/remove-relocs-08.d: New tests.
277 * testsuite/binutils-all/remove-relocs-01.d,
278 * testsuite/binutils-all/remove-relocs-04.d,
279 * testsuite/binutils-all/remove-relocs-05.d,
280 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
281
0b1352e0
AM
2822018-09-17 Alan Modra <amodra@gmail.com>
283
284 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
285 (run_dump_test): Correct target test for alternate .comm syntax.
286 (get_standard_section_names): Handle som format.
287 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
288 Correct target test for alternate .comm syntax.
289
8c9604b6
AM
2902018-09-17 Alan Modra <amodra@gmail.com>
291
292 * testsuite/binutils-all/strip-13mips64.s: Add section flags
293 for reloc section.
294 * testsuite/binutils-all/strip-13rel.s: Likewise.
295 * testsuite/binutils-all/strip-13rela.s: Likewise.
296 * testsuite/binutils-all/strip-14mips64.s: Likewise.
297 * testsuite/binutils-all/strip-14rel.s: Likewise.
298 * testsuite/binutils-all/strip-14rela.s: Likewise.
299 * testsuite/binutils-all/strip-15mips64.s: Likewise.
300 * testsuite/binutils-all/strip-15rel.s: Likewise.
301 * testsuite/binutils-all/strip-15rela.s: Likewise.
302
a0a8a934
NC
3032018-09-17 Nick Clifton <nickc@redhat.com>
304
305 * testsuite/binutils-all/compress.exp: Rename second "objcopy
306 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
307 compress debug sections 3" and use gabi object files instead
308 of gnu object files.
309 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
310 of the "ELF group" tests.
311 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
312 Add an iteration parameter and include it in the name of the
313 test. Update callers to include an iteration count.
314
8ffb70eb
AM
3152018-09-15 Alan Modra <amodra@gmail.com>
316
317 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
318 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
319 * testsuite/binutils-all/symbols-1.d,
320 * testsuite/binutils-all/symbols-2.d,
321 * testsuite/binutils-all/symbols-3.d,
322 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
323 * testsuite/binutils-all/add-empty-section.d,
324 * testsuite/binutils-all/add-section.d,
325 * testsuite/binutils-all/elfedit.exp,
326 * testsuite/binutils-all/note-1.d,
327 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
328 * testsuite/config/default.exp (AS, ASFLAGS): Define.
329 * testsuite/config/hppa.sed: Handle all common symbols.
330 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
331 merged from three other versions.
332 (slurp_options, file_contents, set_file_contents): Likewise.
333 (big_or_little_endian, get_standard_section_names): Likewise.
334 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
335 (slurp_options, proc file_contents): Delete.
336 (get_standard_section_names): Delete.
337
e8d88459
AM
3382018-09-15 Alan Modra <amodra@gmail.com>
339
340 * testsuite/binutils-all/copy-2.d,
341 * testsuite/binutils-all/copy-3.d,
342 * testsuite/binutils-all/copy-4.d,
343 * testsuite/binutils-all/elfedit-1.d,
344 * testsuite/binutils-all/note-1.d,
345 * testsuite/binutils-all/note-2-64.d,
346 * testsuite/binutils-all/strip-11.d,
347 * testsuite/binutils-all/strip-13.d,
348 * testsuite/binutils-all/strip-14.d,
349 * testsuite/binutils-all/testranges.d,
350 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
351 * testsuite/binutils-all/x86-64/pr23494a.d,
352 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
353 * testsuite/binutils-all/x86-64/pr23494b.d,
354 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
355 * testsuite/binutils-all/x86-64/pr23494c.d,
356 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
357 * testsuite/binutils-all/x86-64/pr23494d.d,
358 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
359 * testsuite/binutils-all/x86-64/pr23494e.d,
360 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
361 and not-skip with notarget and noskip.
362
04ade4bc
AM
3632018-09-15 Alan Modra <amodra@gmail.com>
364
365 * testsuite/binutils-all/group-7a.d,
366 * testsuite/binutils-all/group-7b.d,
367 * testsuite/binutils-all/group-7c.d,
368 * testsuite/binutils-all/symbols-1.d,
369 * testsuite/binutils-all/symbols-2.d,
370 * testsuite/binutils-all/symbols-3.d,
371 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
372
1fcd7e87
AM
3732018-09-14 Alan Modra <amodra@gmail.com>
374
375 PR binutils/23633
376 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
377 generates sections other than .text.
378
319dbdfb
L
3792018-09-13 H.J. Lu <hongjiu.lu@intel.com>
380
381 PR binutils/23633
382 * testsuite/binutils-all/objcopy.exp: Run pr23633.
383 * testsuite/binutils-all/pr23633.d: New file.
384 * testsuite/binutils-all/pr23633.list: Likewise.
385 * testsuite/binutils-all/pr23633.s: Likewise.
386
508d0c9b
NC
3872018-09-13 Nick Clifton <nickc@redhat.com>
388
389 PR 23633
390 * objcopy.c (add_specific_symbols): Do not free the buffer at the
391 end of the function.
392
f9853190
AM
3932018-09-10 Alan Modra <amodra@gmail.com>
394
395 PR binutils/23611
396 * objcopy.c (handle_remove_section_option): Consider .rela and
397 .rel sections for stripping directly as well as attached to the
398 associated section they relocate.
399 * doc/binutils.texi (remove-relocations): Specify that this
400 option removes non-dynamic relocation sections.
401 * testsuite/binutils-all/objcopy.exp
402 (objcopy_remove_relocations_from_executable): New test.
403
20a4d0bd
NC
4042018-09-03 Nick Clifton <nickc@redhat.com>
405
406 * po/ja.po: Updated Japanese translation.
407
0f60cce3
L
4082018-08-31 H.J. Lu <hongjiu.lu@intel.com>
409
410 * testsuite/binutils-all/readelf.s-64: Adjusted for
411 .note.gnu.property section.
412 * testsuite/binutils-all/strip-3.d: Also strip
413 .note.gnu.property section.
414
6c0d3bde
L
4152018-08-31 H.J. Lu <hongjiu.lu@intel.com>
416
417 * testsuite/binutils-all/i386/compressed-1b.d: Pass
418 -mx86-used-note=no to assembler.
419 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
420 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
421 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
422 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
423 to assembler and update expected output from "readelf -n".
424 * testsuite/binutils-all/i386/ibt.d: Likewise.
425 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
426 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
427 * testsuite/binutils-all/i386/shstk.d: Likewise.
428 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
429 * testsuite/binutils-all/x86-64/empty.d: Likewise.
430 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
431 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
432 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
433 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
434 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
435 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
436 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
437 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
438 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
439 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
440 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
441 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
443 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
444 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
445 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
446
385e5b90
L
4472018-08-30 H.J. Lu <hongjiu.lu@intel.com>
448
449 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
450 SHT_PREINIT_ARRAY as relocatable sections.
451
4c971803
CX
4522018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
453
454 * MAINTAINERS: Add myself as a MIPS port maintainer.
455
9108bc33
CX
4562018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
457
458 * NEWS: Mention Loongson 2K1000 proccessor support.
459 * readelf.c (get_machine_flags): Handle gs264e.
460
bd782c07
CX
4612018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
462
463 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
464 * readelf.c (get_machine_flags): Handle gs464e.
465
ac8cb70f
CX
4662018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
467
468 * NEWS: Mention Loongson 3A1000 proccessor support.
469 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
470 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
471
a693765e
CX
4722018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
473
474 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
475
bdc6c06e
CX
4762018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
477
478 * readelf.c (print_mips_ases): Add Loongson EXT extension.
479
716c08de
CX
4802018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
481
482 * readelf.c (print_mips_ases): Add CAM extension.
483
90c745dc
L
4842018-08-27 H.J. Lu <hongjiu.lu@intel.com>
485
486 * readelf.c (decode_x86_isa): Print <None> if bitmask only
487 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
488 (decode_x86_feature_1): Likewise.
489 (decode_x86_feature_2): Likewise.
490 (print_gnu_property_note): Don't mask out the
491 GNU_PROPERTY_X86_UINT32_VALID bit.
492 * testsuite/binutils-all/i386/pr21231b.d: Updated.
493 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
494
65b3d26e
L
4952018-08-27 H.J. Lu <hongjiu.lu@intel.com>
496
497 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
498 (decode_x86_isa): Likewise.
499 (decode_x86_feature_2): Likewise.
500
7a815dd5
L
5012018-08-25 H.J. Lu <hongjiu.lu@intel.com>
502
503 PR ld/23499
504 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
505 for corrupt symbol version info.
506
a9eafb08
L
5072018-08-24 H.J. Lu <hongjiu.lu@intel.com>
508
509 * readelf.c (decode_x86_compat_isa): New function.
510 (decode_x86_feature_2): Likewise.
511 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
512 (decode_x86_feature): Renamed to ...
513 (decode_x86_feature_1): This. Remove the type argument.
514 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
515 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
516 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
517 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
518 and X86_FEATURE_1_AND.
519 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
520 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
521 values.
522 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
523 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
524 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
525 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
526 * testsuite/binutils-all/i386/pr21231b.d: Updated.
527 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
528 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
529 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
530 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
531 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
532 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
533 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
534 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
535 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
536
aa7bca9b
L
5372018-08-24 H.J. Lu <hongjiu.lu@intel.com>
538
539 * readelf.c (print_gnu_property_note): Check the
540 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
541
14732552
AM
5422018-08-23 Alan Modra <amodra@gmail.com>
543
544 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
545 field contains unrecognised or reserved values. Handle
546 localentry:1 value.
547
7dd36a6f
L
5482018-08-23 H.J. Lu <hongjiu.lu@intel.com>
549
550 PR ld/23536
551 * Makefile.am (development.exp): New target.
552 (EXTRA_DEJAGNU_SITE_CONFIG): New.
553 (DISTCLEANFILES): Add development.exp.
554 * Makefile.in: Regenerated.
555 * testsuite/binutils-all/objcopy.exp (strip_test): Call
556 prune_warnings to prune BFD output.
557 (strip_test_with_saving_a_symbol): Likewise.
558 (objcopy_test_without_global_symbol): Likewise.
559 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
560 New proc.
561 (prune_warnings): Likewise.
562
44c2eb66
L
5632018-08-23 H.J. Lu <hongjiu.lu@intel.com>
564
565 * README-how-to-make-a-release: Document setting "experimental"
566 to false.
567
e8a64888
AM
5682018-08-22 Alan Modra <amodra@gmail.com>
569
570 * readelf.c (process_file_header): Assign updated values from
571 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
572 during printing of header. Correct e_shstrndx range check.
573 Remove unnecessary casts and use %u rather than %ld for
574 unsigned int header fields. Don't print a random %lx when
575 reporting an unknown EI_VERSION.
576
06d743b7
NC
5772018-08-21 Nick Clifton <nickc@redhat.com>
578
579 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
580 maintainer.
581
66b09c7e
S
5822018-08-21 L. Simon <l.simon@samsung.com>
583
584 PR 23531
585 * readelf.c (hppa_process_unwind): Only dump the unwind table if
586 the data was successfully read in.
587
506b86a4
AM
5882018-08-18 Alan Modra <amodra@gmail.com>
589
590 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
591 input file for readelf.out.
592 (is_rela): New proc.
593 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
594 from first result of is_elf64 test.
595 (reloc_format): Set using is_rela.
596 (strip-13): Pass RELOC and ELF64 to assembler.
597 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
598 * testsuite/binutils-all/strip-13.d: Run for more targets.
599 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
600 addend to zero.
601 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
602 Don't add _NONE reloc.
603 * testsuite/binutils-all/strip-13rela.s: Likewise.
604
9c973a29
L
6052018-08-10 H.J. Lu <hongjiu.lu@intel.com>
606
607 PR binutils/23494
608 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
609 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
610 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
611
11459a79
L
6122018-08-10 H.J. Lu <hongjiu.lu@intel.com>
613
614 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
615 targets.
616 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
617 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
618 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
619 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
620 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
621 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
622 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
623
6404ab99
L
6242018-08-08 H.J. Lu <hongjiu.lu@intel.com>
625
626 PR binutils/23494
627 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
628 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
629 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
630 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
631 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
632 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
633 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
634 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
635 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
636 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
637
f384a1f0
KB
6382018-08-08 Kevin Buettner <kevinb@redhat.com>
639
f9853190
AM
640 * dwarf.c (decode_location_expresion): Add case for
641 DW_OP_GNU_variable_value.
f384a1f0 642
db1e1b45 6432018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
644
645 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
646
4aae6e5a
NC
6472018-08-03 Nick Clifton <nickc@redhat.com>
648
649 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
650 identical function notes.
651
e2561448
NC
6522018-08-01 Nick Clifton <nickc@redhat.com>
653
654 * README-how-to-make-a-release: Add note about regenerating the
655 info files prior to the release.
656
2409af1e
AJ
6572018-07-30 Andrew Jenner <andrew@codesourcery.com>
658
659 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
660
d0ba5758
AJ
6612018-07-30 Andrew Jenner <andrew@codesourcery.com>
662
663 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
664
b8891f8d
AJ
6652018-07-30 Andrew Jenner <andrew@codesourcery.com>
666
667 * readelf.c: Include elf/csky.h.
668 (guess_is_rela): Handle EM_CSKY.
669 (dump_relocations): Likewise.
670 (get_machine_name): Likewise.
671 (is_32bit_abs_reloc): Likewise.
672
e3d39609
NC
6732018-07-25 Nick Clifton <nickc@redhat.com>
674
675 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
676 exit.
677 (parse_coff_enum_type): Free names and vals arrays upon early
678 exit.
679 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
680 strings and stabs arrays upon early exit.
681 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
682 early exit.
683 (get_64bit_section_headers): Likewise.
684 (get_32bit_elf_symbols): Generate an error if multiple symbol
685 table index sections are associated with the same symbol section.
686 (get_64bit_elf_symbols): Likewise.
687 (process_dynamic_section): Generate an error if there are multiple
688 dynamic symbol table sections, multiple dynamic string tables or
689 multiple dynamic symbol information sections.
690
1d97232a
NC
6912018-07-24 Nick Clifton <nickc@redhat.com>
692
693 * po/sv.po: Updated Swedish translation.
694
7b8d9e8c
AM
6952018-07-24 Alan Modra <amodra@gmail.com>
696
697 PR 23431
698 * dwarf.c (display_formatted_table): Replace "what" parameter
699 with "is_dir". Expand messages. Fix capitalisation.
700 * testsuite/binutils-all/dw5.W: Update expected output.
701
67ce483b
AM
7022018-07-24 Alan Modra <amodra@gmail.com>
703
704 PR 23430
705 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
706 to uses_64bit_indices.
707 * elfcomm.c (setup_archive): Update uses of above.
708 * readelf.c (process_archive): Likewise.
709 (get_section_type_name): Rename indicies to indices.
710 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
711 (process_section_groups): Likewise.
712
e2e31f10
MR
7132018-07-20 Maciej W. Rozycki <macro@mips.com>
714
715 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
716 ISA maintenance.
717
3391569f
NC
7182018-07-20 Nick Clifton <nickc@redhat.com>
719
720 * objcopy.c (add_specific_symbols): Free buffer on exit.
721 (add_redefine_syms_file): Close file handle on exit.
722 (copy_object): Close file handle on early exit.
723 Free buffer on early exit.
724 Free gaps buffers once they are no longer needed.
725 * dwarf.c (display_debug_frames): Free allocated memory on exit.
726 (load_separate_debug_info): Free allocate memory on early exit.
727
8095d2f7
CX
7282018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
729 Maciej W. Rozycki <macro@mips.com>
730
731 * readelf.c (print_mips_ases): Add MMI extension.
732
79f5b65e
DD
7332018-07-19 DJ Delorie <dj@redhat.com>
734
735 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
736
442a6ce8
NC
7372018-07-19 Nick Clifton <nickc@redhat.com>
738
739 * dwarf.c (read_cie): Free allocated memory before returning with
740 a failure result.
741
3fd21718
PFC
7422018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
743
744 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
745 description.
746
ad96220c
NC
7472018-07-16 Nick Clifton <nickc@redhat.com>
748
749 * README-how-to-make-a-release: Add note to check for new top
750 level files and add them to the src-release.sh script.
751
6cb624f8
NC
7522018-07-14 Nick Clifton <nickc@redhat.com>
753
754 * README-how-to-make-a-release: Updated with corrections based on
755 the 2.31 release experience.
756
55cc53e9
FT
7572018-07-12 Francois H. Theron <francois.theron@netronome.com>
758
759 * readelf.c (process_section_headers): Don't print section type
760 twice for --section-details.
761
be570f06
AM
7622018-07-10 Alan Modra <amodra@gmail.com>
763
764 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
765 zero for xgate.
766
d20e98ab
NC
7672018-07-06 Nick Clifton <nickc@redhat.com>
768
769 * readelf.c (same_section): New function.
770 (print_gnu_build_attribute_description): Do not complain about
771 gaps that cross a section boundary.
772
d8dab054
NC
7732018-07-05 Nick Clifton <nickc@redhat.com>
774
775 * po/bg.po: Updated Bulgarian translation.
776
a05a5b64
TP
7772018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
778
779 * NEWS: Use command-line consistently when used in a compount word.
780 * doc/binutils.texi: Likewise and fix trailing whitespace on same
781 line.
782
30aa1306
NC
7832018-06-26 Nick Clifton <nickc@redhat.com>
784
785 * po/sv.po: Updated Swedish translation.
786 * po/uk.po: Updated Ukranian translation.
787
eca4b721
NC
7882018-06-26 Nick Clifton <nickc@redhat.com>
789
790 * doc/binutils.texi: Fix spelling mistakes.
791 * README--how-to-make-a-release: Likewise.
792
1021d1cb
TT
7932018-06-25 Tom Tromey <tom@tromey.com>
794
795 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
796 Bump version number.
797
71300e2c
NC
7982018-06-24 Nick Clifton <nickc@redhat.com>
799
800 * README-how-to-make-a-release: Update with experiences from
801 making 2.31 branch.
802 * po/binutils.pot: Regenerate.
803 * configure: Regenerate.
804
719d8288
NC
8052018-06-24 Nick Clifton <nickc@redhat.com>
806
807 2.31 branch created.
808 * NEWS: Add marker for 2.31.
809
d388f643
AM
8102018-06-21 Alan Modra <amodra@gmail.com>
811
812 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
813 * doc/Makefile.in: Regenerate.
814
d0ac1c44
SM
8152018-06-19 Simon Marchi <simon.marchi@ericsson.com>
816
817 * configure.ac: Remove AC_PREREQ.
818 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
819 info-in-builddir no-texinfo.tex.
820 * Makefile.in: Re-generate.
821 * aclocal.m4: Re-generate.
822 * config.in: Re-generate.
823 * configure: Re-generate.
824 * doc/Makefile.in: Re-generate.
825
3a075e56
AS
8262018-06-19 Andreas Schwab <schwab@suse.de>
827
828 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
829 (is_8bit_abs_reloc): New function.
830 (is_6bit_abs_reloc): New function.
831 (is_6bit_inplace_sub_reloc): New function.
832 (apply_relocations): Use them. Handle 6-bit relocations.
833
6f20c942
FS
8342018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
835
836 * readelf.c (print_mips_ases): Add GINV extension.
837
1f6f5dba
L
8382018-06-14 H.J. Lu <hongjiu.lu@intel.com>
839
840 PR binutils/23267
841 * readelf.c (get_symbol_version_string): Check if the first
842 symbol version is base version.
843
730c3174
SE
8442018-06-13 Scott Egerton <scott.egerton@imgtec.com>
845 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
846
847 * readelf.c (print_mips_ases): Add CRC.
848
7a486e6d
NC
8492018-06-13 Nick Clifton <nickc@redhat.com>
850
851 * doc/binutils.texi (objdump): Add missing closing square
852 parenthesis to listing of objcopy's command line options.
853
5a485b38
NC
8542018-06-11 Nick Clifton <nickc@redhat.com>
855
856 * po/es.po: Updated Spanish translation.
857
55e99962
L
8582018-06-01 H.J. Lu <hongjiu.lu@intel.com>
859
860 * configure: Regenerated.
861
0034eed0
AM
8622018-05-31 Alan Modra <amodra@gmail.com>
863
864 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
865 set CC_FOR_TARGET. Run test non-native.
866 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
867 Likewise.
868 (test_follow_debuglink): Run test non-native.
869
1869e86f
AB
8702018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
871
872 PR 23107
873 * ar.c (display_offsets): New variable.
874 (usage): Add description of 'O' operator.
875 (decode_option): Handle 'O' operator.
876 (print_descr): Pass display_offsets to print_arelt_descr.
877 * arsup.c: Update call to printy_arelt_descr.
878 * objdump.c: Likewise.
879 * bucomm.c (print_arelt_descr): If offsets parameter is true then
880 display offset of archive element within the archive.
881 * bucomm.h: Update prototype for print_arelt_descr.
882 * doc/binutils.texi: Update description of ar command.
883 * NEWS: Mention the new feature.
884 * testsuite/binutils-all/ar.exp: Add text of new feature.
885
bb3b5316
AM
8862018-05-28 Alan Modra <amodra@gmail.com>
887
888 PR 23235
889 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
890 unsupported rather than fail on compile errors.
891 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
892 Likewise. Save and restore CFLAGS_FOR_TARGET.
893
7f999549
JW
8942018-05-18 Kito Cheng <kito.cheng@gmail.com>
895
896 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
897
7b4ae824
JD
8982018-05-18 John Darrington <john@darrington.wattle.id.au>
899
900 * readelf.c: Add support for s12z architecture.
901 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
902 targets.
903
f9830ec1
TC
9042018-05-15 Tamar Christina <tamar.christina@arm.com>
905
906 PR binutils/21446
907 * doc/binutils.texi (-M): Document AArch64 options.
908
7d02540a
TC
9092018-05-15 Tamar Christina <tamar.christina@arm.com>
910
911 PR binutils/21446
912 * doc/binutils.texi (-M): Document AArch64 options.
913 * NEWS: Document notes and warnings.
914
679ca975
AM
9152018-05-15 Alan Modra <amodra@gmail.com>
916
917 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
918 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
919 and *uclinux* into *linux*.
920 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
921 strip-13 test, exclude arm-vxworks and arm-windiss.
922
637b1970
JD
9232018-05-10 John Darrington <john@darrington.wattle.id.au>
924
925 * readelf.c (get_machine_name): EM_S12Z - handle new case.
926
60cb2c8a
AM
9272018-05-09 Alan Modra <amodra@gmail.com>
928
929 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
930
84f9f8c3
AM
9312018-05-09 Sebastian Rasmussen <sebras@gmail.com>
932
933 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
934
886d5428
AM
9352018-05-08 Alan Modra <amodra@gmail.com>
936
937 PR 23141
938 * objcopy.c (is_strip_section): Strip groups without a valid
939 signature symbol.
940
ce4ec1a9
AM
9412018-05-07 Alan Modra <amodra@gmail.com>
942
943 PR 23142
944 * objcopy.c (group_signature): Don't accept groups that use a
945 symbol table other than the one we've read.
946
fe944acf
FT
9472018-04-30 Francois H. Theron <francois.theron@netronome.com>
948
949 * readelf.c: Very basic support for EM_NFP and its section types.
950 * testsuite/binutils-all/nfp: New directory.
951 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
952 tests.
953 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
954 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
955 * testsuite/binutils-all/nfp/test1.d: New file.
956 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
957 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
958 * NEWS: Mention the new support.
959
6d9dabbb
MR
9602018-04-27 Maciej W. Rozycki <macro@mips.com>
961
962 * testsuite/lib/binutils-common.exp (match_target): New procedure.
963 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
964 of `istarget' for matching with `target', `not-target', `skip'
965 and `not-skip' options.
966
0df8ad28
NC
9672018-04-26 Nick Clifton <nickc@redhat.com>
968
969 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
970 32-bit absolute reloc for the HPPA target.
971 * testsuite/binutils-all/note-5.d: New test.
972 * testsuite/binutils-all/note-5.s: Source file for new test.
973 * testsuite/binutils-all/objcopy.exp: Run new test.
974
f1ac0afe
CL
9752018-04-25 Christophe Lyon <christophe.lyon@st.com>
976
977 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
978 * testsuite/binutils-all/elfedit-3.d: Likewise.
979 * testsuite/binutils-all/objcopy.exp: Likewise.
980 * testsuite/binutils-all/strip-3.d: Likewise.
981 * testsuite/lib/binutils-common.exp: Likewise.
982
18a20338
CL
9832018-04-25 Christophe Lyon <christophe.lyon@st.com>
984 Mickaël Guêné <mickael.guene@st.com>
985
986 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
987 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
988
2ac93be7
AM
9892018-04-25 Alan Modra <amodra@gmail.com>
990
991 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
992 arm-coff support.
993 * testsuite/binutils-all/objcopy.exp: Likewise.
994 * testsuite/lib/binutils-common.exp: Likewise.
995
a7504f87
NC
9962018-04-18 Nick Clifton <nickc@redhat.com>
997
998 PR 23062
999 * dwarf.c (read_and_display_attr_value): Replace assertions with
1000 test and warning message.
1001
c65c21e1
AM
10022018-04-18 Alan Modra <amodra@gmail.com>
1003
1004 * testsuite/lib/binutils-common.exp: Remove support for assorted
1005 aout targets.
1006
6aea08d9
NC
10072018-04-17 Nick Clifton <nickc@redhat.com>
1008
c4a91159 1009 PR 23063
56d8f8a9
NC
1010 * readelf.c (print_symbol): If the width is zero, return straight
1011 away.
1012
6aea08d9
NC
1013 PR 23064
1014 * dwarf.c (process_cu_tu_index): Test for a potential buffer
1015 overrun before copying signature pointer.
1016
f954747f
AM
10172018-04-17 Alan Modra <amodra@gmail.com>
1018
1019 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
1020
d7867d17
AM
10212018-04-16 Alan Modra <amodra@gmail.com>
1022
1023 * readelf.c (get_machine_name): Correct typo.
1024
ddb00039
AM
10252018-04-16 Alan Modra <amodra@gmail.com>
1026
1027 * configure.ac: Remove arm-epoc-pe support.
1028 * dlltool.c: Likewise.
1029 * configure: Regenerate.
1030
c9098af4
AM
10312018-04-16 Alan Modra <amodra@gmail.com>
1032
1033 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
1034 sparc-coff support.
1035
dc12032b
AM
10362018-04-16 Alan Modra <amodra@gmail.com>
1037
1038 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
1039 support.
1040 * testsuite/binutils-all/copy-3.d: Likewise.
1041 * testsuite/binutils-all/objcopy.exp: Likewise.
1042 * testsuite/lib/binutils-common.exp: Likewise.
1043
211dc24b
AM
10442018-04-16 Alan Modra <amodra@gmail.com>
1045
1046 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
1047
a9a4b302
AM
10482018-04-16 Alan Modra <amodra@gmail.com>
1049
1050 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
1051
04cb01fd
AM
10522018-04-16 Alan Modra <amodra@gmail.com>
1053
1054 * testsuite/binutils-all/objdump.exp: Remove we32k support.
1055
c2bf1eec
AM
10562018-04-16 Alan Modra <amodra@gmail.com>
1057
1058 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
1059 * testsuite/binutils-all/objdump.exp: Remove m88k support.
1060
6793974d
AM
10612018-04-16 Alan Modra <amodra@gmail.com>
1062
1063 * readelf.c: Remove i370 support.
1064 * testsuite/binutils-all/objdump.exp: Likewise.
1065
e82aa794
AM
10662018-04-16 Alan Modra <amodra@gmail.com>
1067
1068 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
1069 * testsuite/lib/binutils-common.exp: Likewise.
1070
fe0bf0fd
AM
10712018-04-16 Alan Modra <amodra@gmail.com>
1072
1073 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
1074
fdef3943
AM
10752018-04-16 Alan Modra <amodra@gmail.com>
1076
1077 * Makefile.am: Remove IEEE 695 support.
1078 * budbg.h: Likewise.
1079 * doc/binutils.texi: Likewise.
1080 * makefile.vms: Likewise.
1081 * objcopy.c: Likewise.
1082 * objdump.c: Likewise.
1083 * rddbg.c: Likewise.
1084 * ieee.c: Delete.
1085 * Makefile.in: Regenerate.
1086 * po/POTFILES.in: Regenerate.
1087
5972ac73
AM
10882018-04-16 Alan Modra <amodra@gmail.com>
1089
1090 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
1091 * testsuite/binutils-all/nm.exp: Likewise.
1092
b4b594e3
AM
10932018-04-16 Alan Modra <amodra@gmail.com>
1094
1095 * .gitignore: Remove netware support.
1096 * Makefile.am: Likewise.
1097 * configure.ac: Likewise.
1098 * doc/Makefile.am: Likewise.
1099 * doc/binutils.texi: Likewise.
1100 * testsuite/binutils-all/nm.exp: Likewise.
1101 * nlmconv.c: Delete.
1102 * nlmconv.h: Delete.
1103 * nlmheader.y: Delete.
1104 * Makefile.in: Regenerate.
1105 * configure: Regenerate.
1106 * doc/Makefile.in: Regenerate.
1107 * po/POTFILES.in: Regenerate.
1108
fceadf09
AM
11092018-04-16 Alan Modra <amodra@gmail.com>
1110
1111 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1112
fb70ec17
AM
11132018-04-14 Alan Modra <amodra@gmail.com>
1114
1115 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1116
86c6c6df
NC
11172018-04-12 Nick Clifton <nickc@redhat.com>
1118
1119 PR 23050
1120 * readelf.c (process_dynamic_section): Correct dynamic string
1121 table size calculation.
1122
a8eb42a8
AM
11232018-04-11 Alan Modra <amodra@gmail.com>
1124
1125 * ieee.c: Remove i960 support.
1126 * od-macho.c: Remove i860 support.
1127 * readelf.c: Remove i860 and i960 support.
1128 * testsuite/binutils-all/objcopy.exp: Likewise.
1129 * testsuite/binutils-all/objdump.exp: Likewise.
1130 * testsuite/lib/binutils-common.exp: Likewise.
1131
c43b2c54
MR
11322018-04-11 Maciej W. Rozycki <macro@mips.com>
1133
1134 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1135 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1136
d4ae1932
AM
11372018-04-10 Alan Modra <amodra@gmail.com>
1138
1139 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1140 reloc=11 for pru and reloc=50 for nds32.
1141 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1142
d52e3d06
MR
11432018-04-09 Maciej W. Rozycki <macro@mips.com>
1144
1145 * testsuite/binutils-all/strip-15.d: New test.
1146 * testsuite/binutils-all/strip-15rel.s: New test source.
1147 * testsuite/binutils-all/strip-15rela.s: New test source.
1148 * testsuite/binutils-all/strip-15mips64.s: New test source.
1149 * testsuite/binutils-all/objcopy.exp: Run the new test.
1150
3f97ba9f
MR
11512018-04-09 Maciej W. Rozycki <macro@mips.com>
1152
1153 * testsuite/binutils-all/strip-14.d: New test.
1154 * testsuite/binutils-all/strip-14rel.s: New test source.
1155 * testsuite/binutils-all/strip-14rela.s: New test source.
1156 * testsuite/binutils-all/strip-14mips64.s: New test source.
1157 * testsuite/binutils-all/objcopy.exp: Run the new test.
1158
2008a0db
TT
11592018-04-06 Tom Tromey <tom@tromey.com>
1160
1161 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1162 constants from DWARF 5.
1163
3cba8b6c
L
11642018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1165
1166 PR gas/22318
1167 * configure: Regenerated.
1168
2d8c1a23
MR
11692018-04-05 Maciej W. Rozycki <macro@mips.com>
1170
1171 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1172 than `.dc.w' in second relocation.
1173
65bd2045
MR
11742018-04-05 Maciej W. Rozycki <macro@mips.com>
1175
1176 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1177 relocation type 0x8f' error message.
1178
2f8ceb38
MR
11792018-04-05 Maciej W. Rozycki <macro@mips.com>
1180
1181 * testsuite/binutils-all/strip-13.s: Rename to...
1182 * testsuite/binutils-all/strip-13rela.s: ... this.
1183 * testsuite/binutils-all/strip-13rel.s: New test source.
1184 * testsuite/binutils-all/strip-13mips64.s: New test source.
1185 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1186 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1187 `m68hc11-*' to `not-target' list.
1188 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1189 `strip-13'.
1190
aad7be45
MR
11912018-04-05 Maciej W. Rozycki <macro@mips.com>
1192
1193 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1194 241 (0xf1) for the relocation number and RELA addend.
1195 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1196 `not-target' list.
1197
89f60df2
JDA
11982018-04-04 John David Anglin <danglin@gcc.gnu.org>
1199
1200 * MAINTAINERS: Update my e-mail address.
1201
f1ca0d6d
NC
12022018-04-04 Nick Clifton <nickc@redhat.com>
1203
1204 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1205
8fd75781
NC
12062018-03-23 Nick Clifton <nickc@redhat.com>
1207
1208 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1209 symbols.
1210 (print_gnu_build_attribute_description): If no file start symbol
1211 could be found, look for one two bytes into the file.
1212 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1213 start symbol to two bytes into the file.
1214 * testsuite/binutils-all/note-4-32.s: Likewise.
1215
b1202ffa
L
12162018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1217
1218 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1219 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1220
7e100140
NC
12212018-03-20 Nick Clifton <nickc@redhat.com>
1222
1223 * po/es.po: Updated Spanish translation.
1224 * po/ru.po: Updated Russian translation.
1225
e45ad123
NC
12262018-03-13 Nick Clifton <nickc@redhat.com>
1227
1228 PR 22957
1229 * stabs.c (pop_binincl): Fail if the file index is off the end of
1230 the stack.
1231
81db3241
NC
12322018-03-13 Nick Clifton <nickc@redhat.com>
1233
1234 PR 22955
1235 * stabs.c (parse_number): Add p_end parameter and use it to check
1236 the validity of the pp parameter. Add checks to prevent walking
1237 off the end of the string buffer.
1238 (parse_stab_string): Likewise.
1239 (parse_stab_type): Likewise.
1240 (parse_stab_type_number): Likewise.
1241 (parse_stab_range_type): Likewise.
1242 (parse_stab_sun_builtin_type): Likewise.
1243 (parse_stab_sun_floating_type): Likewise.
1244 (parse_stab_enum_type): Likewise.
1245 (parse_stab_struct_type): Likewise.
1246 (parse_stab_baseclasses): Likewise.
1247 (parse_stab_struct_fields): Likewise.
1248 (parse_stab_cpp_abbrev): Likewise.
1249 (parse_stab_one_struct_field): Likewise.
1250 (parse_stab_members): Likewise.
1251 (parse_stab_tilde_field): Likewise.
1252 (parse_stab_array_type): Likewise.
e45ad123 1253
81db3241
NC
1254 * parse_stab: Compute the end of the string and then pass it on to
1255 individual parser functions.
1256
6d4f21f6
PP
12572018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1258
1259 PR binutils/22923
1260 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1261 overflow.
1262
52fe4420
AM
12632018-03-07 Alan Modra <amodra@gmail.com>
1264
1265 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1266 * configure: Regenerate.
1267
0e70b27b
L
12682018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 PR binutils/22911
1271 * objdump.c (is_significant_symbol_name): Return TRUE for all
1272 .plt* sections.
1273 (find_symbol_for_address): Replace linear search with binary
1274 search on dynamic relocations.
1275
d11ae95e
NC
12762018-03-01 Nick Clifton <nickc@redhat.com>
1277
1278 PR 22905
1279 * dwarf.c (display_debug_ranges): Check that the offset loaded
1280 from the range_entry structure is valid.
1281
e184813f
AM
12822018-03-01 Alan Modra <amodra@gmail.com>
1283
1284 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1285 * configure: Regenerate.
1286
bc7c0509
NC
12872018-02-27 Nick Clifton <nickc@redhat.com>
1288
1289 * po/pt.po: New Portuguese translation.
1290 * configure.ac (ALL_LINGUAS): Add pt.
1291 * configure: Regenerate.
1292
f3185997
NC
12932018-02-27 Nick Clifton <nickc@redhat.com>
1294
1295 PR 22875
1296 * objcopy.c (copy_object): Check the error status after marking
1297 symbols used in relocations.
1298 * testsuite/binutils-all/strip-13.s: New test source file.
1299 * testsuite/binutils-all/strip-13.s: New test driver file.
1300 * testsuite/binutils-all/objcopy.exp: Run the new test.
1301
2c1c9679
AM
13022018-02-26 Alan Modra <amodra@gmail.com>
1303
1304 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1305 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1306
6e05870c
AM
13072018-02-23 Alan Modra <amodra@gmail.com>
1308
1309 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1310 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1311
b0ab9c45
RH
13122018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1313
1314 * doc/binutils.texi (objcopy): Add missing closing square
1315 parenthesis to listing of objcopy's command line options.
1316
e535d0dd
MK
13172018-02-19 Matthias Klose <doko@debian.org>
1318
1319 * strings.c (long_options): Include-all-whitespace does not take
f9853190 1320 an extra agument.
e535d0dd 1321
6e5e9d58
AM
13222018-02-13 Alan Modra <amodra@gmail.com>
1323
1324 PR 22836
1325 * testsuite/binutils-all/group-7.s,
1326 * testsuite/binutils-all/group-7a.d,
1327 * testsuite/binutils-all/group-7b.d,
1328 * testsuite/binutils-all/group-7c.d: New tests.
1329 * testsuite/binutils-all/objcopy.exp: Run them.
1330
8de3a6e2
NC
13312018-02-08 Nick Clifton <nickc@redhat.com>
1332
1333 PR 22802
1334 * dwarf.c (load_separate_debug_file): Return early if the user is
1335 not interested in debug links.
1336
68807c3c
NC
13372018-02-06 Nick Clifton <nickc@redhat.com>
1338
1339 PR 22793
1340 * readelf.c (find_section): Replace assertion with test and return
1341 of NULL.
1342 (find_section_by_address): Add test of section header table
1343 existance.
1344 (find_section_by_type): Likewise.
1345 (find_section_in_set): Likewise.
1346
2d6dda71
MR
13472018-02-05 Maciej W. Rozycki <macro@mips.com>
1348
1349 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1350 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1351 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1352 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1353
78c88364
MR
13542018-02-05 Maciej W. Rozycki <macro@mips.com>
1355
1356 * testsuite/config/default.exp (binutils_run): Document
1357 `binutils_run_status'.
1358 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1359 and set it.
1360 (run_dump_test): Add `error', `error_output', `warning' and
1361 `warning_output' options. Update documentation accordingly.
1362
5bb0830d
AB
13632018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1364
1365 * dwarf.c (dwarf_regnames_riscv): New register name table.
1366 (init_dwarf_regnames_riscv): New function.
1367 (init_dwarf_regnames): Add call to initialise RiscV register
1368 names.
1369 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1370 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1371 names.
1372
f2023ce7
AM
13732018-02-01 Alan Modra <amodra@gmail.com>
1374
1375 PR 22769
1376 * objdump.c (load_specific_debug_section): Check for overflow
1377 when adding one to section size for a string section terminator.
1378
fcabedd5
NC
13792018-01-30 Nick Clifton <nickc@redhat.com>
1380
1381 PR 22734
1382 * doc/binutils.texi (nm): Update description to point out that
1383 zero-initialized values can also be shown as type B, b, S or s
1384 since they can be stored in the BSS section.
1385
f49db8be
AM
13862018-01-30 Alan Modra <amodra@gmail.com>
1387
1388 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1389 "artificially large" end address.
1390
a8d6d6ac
NC
13912018-01-28 Nick Clifton <nickc@redhat.com>
1392
1393 * README-how-to-make-a-release: Add note about checking gpg key
1394 and the results of gnupload.
1395
9a5db26e
NC
13962018-01-27 Nick Clifton <nickc@redhat.com>
1397
1398 * README-how-to-make-a-release: Add details on how to actually
1399 make the release.
1400
94c2436b
NC
14012018-01-26 Nick Clifton <nickc@redhat.com>
1402
1403 * README-how-to-make-a-release: Add more details on updating
1404 version numbers.
1405
1ea332d6
MR
14062018-01-22 Maciej W. Rozycki <macro@mips.com>
1407
1408 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1409 option description.
1410
d65ce302
MR
14112018-01-22 Maciej W. Rozycki <macro@mips.com>
1412
1413 * MAINTAINERS: Update my company e-mail address.
1414
f433138f
NC
14152018-01-22 Nick Clifton <nickc@redhat.com>
1416
1417 * po/sv.po: Updated Swedish translation.
1418
7ab82037
NC
14192018-01-18 Nick Clifton <nickc@redhat.com>
1420
1421 * po/bg.po: Updated Bulgarian translation.
1422
0dd86f32
JB
14232018-01-16 Joel Brobecker <brobecker@adacore.com>
1424
1425 * README-how-to-make-a-release: Add reminder to update the
1426 branch name in gdbadmin's crontab on sourceware.
1427
a960d29f
JB
14282018-01-16 Joel Brobecker <brobecker@adacore.com>
1429
1430 * README-how-to-make-a-release: Remove trailing spaces.
1431
f6efed01
NC
14322018-01-16 Nick Clifton <nickc@redhat.com>
1433
1434 * po/fr.po: Updated French translation.
1435
616dcb87
NC
14362018-01-15 Nick Clifton <nickc@redhat.com>
1437
1438 * po/uk.po: Updated Ukranian translation.
1439
3957a496
NC
14402018-01-13 Nick Clifton <nickc@redhat.com>
1441
19e2900b 1442 * README-how-to-make-a-release: Update notes.
3957a496
NC
1443 * po/binutils.pot: Regenerated.
1444
769c7ea5
NC
14452018-01-13 Nick Clifton <nickc@redhat.com>
1446
1447 * configure: Regenerate.
1448
9176ac5b
NC
14492018-01-13 Nick Clifton <nickc@redhat.com>
1450
faf766e3 1451 2.30 branch created.
9176ac5b
NC
1452 * NEWS: Add marker for 2.30.
1453
98ab9e96
NC
14542018-01-12 Nick Clifton <nickc@redhat.com>
1455
1456 * README-how-to-make-a-release: Add notes on how to make the
1457 branch and prelease snapshot.
1458 * BRANCHES: Add binutils-2_29-branch.
1459
bf41f30d
NC
14602018-01-10 Nick Clifton <nickc@redhat.com>
1461
1462 * MAINTAINERS: Note that it is now the configure.ac file and not
1463 the configure.in file that needs to be kept in sync with gcc.
1464 Add a note about sending patches for libiberty to gcc.
1465
f13974bd
NC
14662018-01-03 Nick Clifton <nickc@redhat.com>
1467
1468 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1469 constants.
1470
6f156d7a
NC
14712018-01-03 Nick Clifton <nickc@redhat.com>
1472
1473 * objcopy.c (objcopy_internal_note): New structure.
1474 (gap_exists): New function.
1475 (is_open_note): New function.
1476 (is_func_note): New function.
1477 (is_64bit): New function.
1478 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1479 if there are relocations against the notes.
1480 * readelf.c (get_note_type): Use short names for build attribute
1481 notes.
1482 (print_symbol_for_build_attribute): Rename to
1483 get_symbol_for_build_attribute. Returns the found symbol rather
1484 than printing it.
1485 (print_gnu_build_attribute_description): Maintain address ranges
1486 for function notes as well as global notes. Handle v3 notes.
1487 (print_gnu_build_attribute_name): Use more space for printing the
1488 name in wide mode.
1489 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1490 Eliminate symbol references in order to remove the need for
1491 relocations.
1492 * testsuite/binutils-all/note-2-64.s: Likewise.
1493 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1494 symbol.
1495 * testsuite/binutils-all/note-3-64.s: Likewise.
1496 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1497 output.
1498 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1499 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1500 * testsuite/binutils-all/note-2-32.d: Likewise.
1501 * testsuite/binutils-all/note-2-64.d: Likewise.
1502 * testsuite/binutils-all/note-3-32.d: Likewise.
1503 * testsuite/binutils-all/note-3-64.d: Likewise.
1504 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1505 * testsuite/binutils-all/note-4-32.s: New test.
1506 * testsuite/binutils-all/note-4-64.d: New test result file.
1507 * testsuite/binutils-all/note-4-32.d: New test result file.
1508
219d1afa
AM
15092018-01-03 Alan Modra <amodra@gmail.com>
1510
1511 Update year range in copyright notice of all files.
1512
1e563868 1513For older changes see ChangeLog-2017
3499769a 1514\f
1e563868 1515Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1516
1517Copying and distribution of this file, with or without modification,
1518are permitted in any medium without royalty provided the copyright
1519notice and this notice are preserved.
1520
1521Local Variables:
1522mode: change-log
1523left-margin: 8
1524fill-column: 74
1525version-control: never
1526End:
This page took 0.249138 seconds and 4 git commands to generate.