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