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