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