gdb/riscv: Update test to handle targets without an fpu
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
7ca166c9
AM
12018-12-08 Alan Modra <amodra@gmail.com>
2
3 * strings.c (unget_part_char): New function.
4 (print_strings): Use unget_part_char. Formatting.
5 * testsuite/binutils-all/strings.exp (test_multibyte): Don't
6 use square brackets in fail message. Expect "String1\nString2".
7
c2f5dc30
AM
82018-12-07 Alan Modra <amodra@gmail.com>
9
10 * nm.c (display_rel_file): Use xrealloc to increase minisyms
11 for synthetic symbols.
12
af03af8f
NC
132018-12-07 Nick Clifton <nickc@redhat.com>
14
15 * addr2line.c (demangle_flags): New static variable.
16 (long_options): Add --recurse-limit and --no-recurse-limit.
17 (translate_address): Pass demangle_flags to bfd_demangle.
18 (main): Handle --recurse-limit and --no-recurse-limit options.
19 * cxxfilt.c: (long_options): Add --recurse-limit and
20 --no-recurse-limit.
21 (main): Handle new options.
22 * nm.c (demangle_flags): New static variable.
23 (long_options): Add --recurse-limit and --no-recurse-limit.
24 (main): Handle new options.
25 * objdump.c (demangle_flags): New static variable.
26 (usage): Add --recurse-limit and --no-recurse-limit.
27 (long_options): Likewise.
28 (objdump_print_symname): Pass demangle_flags to bfd_demangle.
29 (disassemble_section): Likewise.
30 (dump_dymbols): Likewise.
31 (main): Handle new options.
32 * prdbg.c (demangle_flags): New static variable.
33 (tg_variable): Pass demangle_flags to demangler.
34 (tg_start_function): Likewise.
35 * stabs.c (demangle_flags): New static variable.
36 (stab_demangle_template): Pass demangle_flags to demangler.
37 (stab_demangle_v3_argtypes): Likewise.
38 (stab_demangle_v3_arg): Likewise.
39 * doc/binutuls.texi: Document new command line options.
40 * NEWS: Mention the new feature.
41 * testsuite/config/default.exp (CXXFILT): Define if not already
42 defined.
43 (CXXFILTFLAGS): Likewise.
44 * testsuite/binutils-all/cxxfilt.exp: New file. Runs a few
45 simple tests of the cxxfilt program.
46
8acbe8ff
NC
472018-12-03 Nick Clifton <nickc@redhat.com>
48
49 PR 23941
50 * testsuite/binutils-all/i386/compressed-1a.d: Update expected output.
51 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
52
4770fb94
AM
532018-12-01 Alan Modra <amodra@gmail.com>
54
55 PR 23946
56 * readelf.c (slurp_ia64_unwind_table): Bounds check symbol index
57 on reloc.
58 (slurp_hppa_unwind_table): Likewise.
59
726bd37d
AM
602018-12-01 Alan Modra <amodra@gmail.com>
61
62 PR 23945
63 * readelf.c (slurp_ia64_unwind_table): Don't call elf_ia64_reloc_type
64 needlessly.
65 (slurp_hppa_unwind_table): Use same range checks and error messages
66 as slurp_ia64_unwind_table.
67
8936f768
NC
682018-11-29 Nick Clifton <nickc@redhat.com>
69
70 PR 23931
71 * objdump.c (dump_relocs_in_section): When checking for an
72 unreasonable amount of relocs in a bfd, allow for the fact that
73 the internal representation of a reloc may be bigger than the
74 external representation.
75
4207142d
MW
762018-11-27 Mark Wielaard <mark@klomp.org>
77
78 PR binutils/23919
79 * readelf.c (dump_sections_as_strings): Remove bogus addralign check.
80 (dump_sections_as_bytes): Likewise.
81 (load_specific_debug_sections): Likewise.
82 * testsuite/binutils-all/dw2-3.rS: Adjust alignment.
83 * testsuite/binutils-all/dw2-3.rt: Likewise.
84
f92f9e87
L
852018-11-20 H.J. Lu <hongjiu.lu@intel.com>
86
87 PR binutils/23898
88 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
89 Prune gaps in build notes.
90
97b3f392
FT
912018-11-13 Francois H. Theron <francois.theron@netronome.com>
92
93 * testsuite/binutils-all/nfp/test1.d: Test for swapped operand crc[].
94
95
5d762de0
HAQ
962018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com>
97
98 * configure: Regenerate.
99
71f5e3f7
NC
1002018-11-09 Mathias <m4tze@exitno.de>
101
102 * strings.c (print_strings): Check for multibyte encodings.
103 * binutils-all/strings-1.bin: New file. Test binary for string decoding.
104 * testsuite/binutils-all/strings.exp: New file. Test the strings program.
105 * testsuite/config/default.exp (STRINGS): Define if not provided
106 by the environment.
107 (STRINGSFLAGS): Likewise.
108
d3def5d7
MY
1092018-11-07 Masatake Yamato <yamato@redhat.com>
110
111 * objdump.c (long_options): Have the --disassemble option take an
112 optional argument.
113 (usage): Add description for the `symbol' argument to the
114 --disassemble option.
115 (disasm_sym): New file private variable.
116 (struct objdump_disasm_info): New field `symbol'.
117 (disassemble_section): Introduce `do_print' local variable
118 to control whether objdump displays the result of disassembling
119 for a symbol or not.
120 (main): Set `symbol' file private variable if the option argument
121 for the --disassemble option is given.
122 * doc/binutils.texi (objdump): Add description for the option
123 argument.
124 * NEWS: Mention the new feature.
125 * testsuite/binutils-all/objdump.exp: Add tests of the -d and
126 --disassemble=<symbol> options.
127 * testsuite/binutils-all/bintest.s: Add more symbols and code.
128 * testsuite/binutils-all/readelf.s: Update expected output.
129 * testsuite/binutils-all/readelf.ss-64: Likewise.
130 * testsuite/binutils-all/readelf.ss-mips: Likewise.
131 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
132
0661ae2e
NC
1332018-11-07 Nick Clifton <nickc@redhat.com>
134
135 * po/pt.po: Updated Portuguese translation.
136
fc7b364a
RB
1372018-11-06 Roman Bolshakov <r.bolshakov@yadro.com>
138 Saagar Jha <saagar@saagarjha.com>
139
140 PR 23728
141 * od-macho.c (printf_version): New.
142 (dump_load_command): Use it to print version. Print sdk version. Print
143 version info for watchOS and tvOS. Print LC_NOTE, LC_BUILD_VERSION.
144 (dump_buld_version): New.
145 (bfd_mach_o_platform_name): New
146 (bfd_mach_o_tool_name): New
147
8d3c78e4 1482018-11-07 Yoshinori Sato <ysato@users.sourceforge.jp>
fc7b364a 149
8d3c78e4
YS
150 * testsuite/lib/binutils-common.exp: Special section name
151 use only rx-*-elf.
152
8a6b075b
L
1532018-11-06 H.J. Lu <hongjiu.lu@intel.com>
154
155 * doc/binutils.texi: Document --enable-x86-feature and
156 --disable-x86-feature options for elfedit.
157 * elfedit.c: Include "config.h" and <sys/mman.h>.
158 (enable_x86_features): New.
159 (disable_x86_features): Likewise.
160 (update_gnu_property): Likewise.
161 (elf_x86_feature): Likewise.
162 (process_file): Call update_gnu_property on ET_EXEC or ET_DYN
163 file.
164 (command_line_switch): Add OPTION_ENABLE_X86_FEATURE and
165 OPTION_DISABLE_X86_FEATURE.
166 (options): Add--enable-x86-feature and --disable-x86-feature.
167 (usage): Likewise.
168 (main): Handle OPTION_ENABLE_X86_FEATURE and
169 OPTION_DISABLE_X86_FEATURE.
170
675accbd
L
1712018-11-03 H.J. Lu <hongjiu.lu@intel.com>
172
173 * elfedit.c (update_elf_header): Move EI_MAG? check to ...
174 (get_file_header): Here.
175
34156b23
L
1762018-11-02 H.J. Lu <hongjiu.lu@intel.com>
177
178 * configure.ac (AC_FUNC_MMAP): New.
179 * config.in: Regenerated.
180 * configure: Likewise.
181
285e3f99
AM
1822018-11-02 Alan Modra <amodra@gmail.com>
183
184 * readelf.c (process_section_headers): Don't warn on a zero
185 sh_info or sh_link for any reloc section in an executable or
186 shared library. Do warn for .rel.dyn/.rela.dyn in ET_REL.
187
33ea299c
TP
1882018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
189
190 * testsuite/config/default.exp: Define LD, LDFLAGS and
191 ld_elf_shared_opt.
192 * testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
193 from ld-lib.exp.
194 (run_dump_test): Set ld to $LD.
195
f63085d1
NC
1962018-10-18 Nick Clifton <nickc@redhat.com>
197
198 * doc/binutils.texi (readelf): Document alternatives to the
199 --unwind option if it is not supported for the target
200 architecture.
201
feceaa59
AM
2022018-10-16 Alan Modra <amodra@gmail.com>
203
204 PR 23780
205 * readelf.c (display_raw_attribute): Correct assertion.
206
bf2dd8d7
AM
2072018-10-15 Alan Modra <amodra@gmail.com>
208
209 PR 23534
210 * addr2line.c (main): Exit with fatal error if bfd_init
211 returns an unexpected value.
212 * ar.c (main): Likewise.
213 * dlltool.c (identify_dll_for_implib): Likewise.
214 * nm.c (main): Likewise.
215 * objcopy.c (main): Likewise.
216 * objdump.c (main): Likewise.
217 * size.c (main): Likewise.
218 * strings.c (main): Likewise.
219 * windmc.c (main): Likewise.
220 * windres.c (main): Likewise.
221
de564eb5
NC
2222018-10-11 Jordan Rupprecht <rupprecht@google.com>
223 Nick Clifton <nickc@redhat.com>
224
225 * objcopy.c (copy_main): Issue a fata error if the
226 --keep-global-symbol(s) and the --globalize-symbol(s) options are
227 used together.
228 * doc/binutils.texi: Document that the two options are
229 incompatible.
230 * testsuite/binutils-all/copy-5.d: New test.
231 * testsuite/binutils-all/objcopy.exp: Run the new test.
232
43f6cd05
AM
2332018-10-10 Helge Deller <deller@gmx.de>
234 Alan Modra <amodra@gmail.com>
235
236 * readelf.c (hppa_process_unwind): Don't use eh_addr_size to
237 calculate number of entries.
238 (slurp_hppa_unwind_table): Don't use eh_addr_size here either.
239
8ab159a9
AM
2402018-10-10 Alan Modra <amodra@gmail.com>
241
242 * objdump.c (dump_dwarf): Set s12z eh_addr_size to 4.
243
25cbdcbb
AS
2442018-10-08 Andreas Schwab <schwab@suse.de>
245
246 * readelf.c (is_32bit_pcrel_reloc): Handle R_RISCV_32_PCREL.
247
8e90d6d2
NC
2482018-10-03 Nick Clifton <nickc@redhat.com>
249
250 * po/pt.po: Updated Portuguese translation.
527b9e87 251 * po/fr.po: Updated French translation.
8e90d6d2 252
dfc616fa
AM
2532018-09-22 Alan Modra <amodra@gmail.com>
254
255 * readelf.c (apply_relocations): Don't return FALSE for warnings.
256
fbaf61ad
NC
2572018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
258
259 * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number
260 from 215 to 255 for NDS32.
261
d839b914
L
2622018-09-17 H.J. Lu <hongjiu.lu@intel.com>
263
264 * objcopy.c (strip_specific_buffer): New.
265 (strip_unneeded_buffer): Likewise.
266 (keep_specific_buffer): Likewise.
267 (localize_specific_buffer): Likewise.
268 (globalize_specific_buffer): Likewise.
269 (keepglobal_specific_buffer): Likewise.
270 (weaken_specific_buffer): Likewise.
271 (add_specific_symbols): Add an argument to return pointer to
272 allocated buffer.
273 (copy_main): Update add_specific_symbols to update pointers to
274 allocated buffer. Free pointers to allocated buffer before
275 return.
276
c12d9fa2
AM
2772018-09-17 Alan Modra <amodra@gmail.com>
278
279 * objcopy.c (handle_remove_section_option): Don't require a dot
280 after .rela and .rel to handle a possible relocation section.
281 * testsuite/binutils-all/remove-relocs-07.s,
282 * testsuite/binutils-all/remove-relocs-07.d,
283 * testsuite/binutils-all/remove-relocs-08.d: New tests.
284 * testsuite/binutils-all/remove-relocs-01.d,
285 * testsuite/binutils-all/remove-relocs-04.d,
286 * testsuite/binutils-all/remove-relocs-05.d,
287 * testsuite/binutils-all/remove-relocs-06.d: Exclude mips64-openbsd.
288
0b1352e0
AM
2892018-09-17 Alan Modra <amodra@gmail.com>
290
291 * testsuite/lib/binutils-common.exp (is_som_format): New proc.
292 (run_dump_test): Correct target test for alternate .comm syntax.
293 (get_standard_section_names): Handle som format.
294 * testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
295 Correct target test for alternate .comm syntax.
296
8c9604b6
AM
2972018-09-17 Alan Modra <amodra@gmail.com>
298
299 * testsuite/binutils-all/strip-13mips64.s: Add section flags
300 for reloc section.
301 * testsuite/binutils-all/strip-13rel.s: Likewise.
302 * testsuite/binutils-all/strip-13rela.s: Likewise.
303 * testsuite/binutils-all/strip-14mips64.s: Likewise.
304 * testsuite/binutils-all/strip-14rel.s: Likewise.
305 * testsuite/binutils-all/strip-14rela.s: Likewise.
306 * testsuite/binutils-all/strip-15mips64.s: Likewise.
307 * testsuite/binutils-all/strip-15rel.s: Likewise.
308 * testsuite/binutils-all/strip-15rela.s: Likewise.
309
a0a8a934
NC
3102018-09-17 Nick Clifton <nickc@redhat.com>
311
312 * testsuite/binutils-all/compress.exp: Rename second "objcopy
313 zlib-gnu compress debug sections 3" test to "objcopy zlib-gabi
314 compress debug sections 3" and use gabi object files instead
315 of gnu object files.
316 * testsuite/binutils-all/objcopy.exp: Add suffix to the names
317 of the "ELF group" tests.
318 * testsuite/binutils-all/readelf.exp (proc readelf_find_size):
319 Add an iteration parameter and include it in the name of the
320 test. Update callers to include an iteration count.
321
8ffb70eb
AM
3222018-09-15 Alan Modra <amodra@gmail.com>
323
324 * testsuite/binutils-all/add-symbol.d: Add "section_subst: no".
325 * testsuite/binutils-all/elfedit.exp: Don't set tempfile or copyfile.
326 * testsuite/binutils-all/symbols-1.d,
327 * testsuite/binutils-all/symbols-2.d,
328 * testsuite/binutils-all/symbols-3.d,
329 * testsuite/binutils-all/symbols-4.d: Quote '*' and '!'.
330 * testsuite/binutils-all/add-empty-section.d,
331 * testsuite/binutils-all/add-section.d,
332 * testsuite/binutils-all/elfedit.exp,
333 * testsuite/binutils-all/note-1.d,
334 * testsuite/binutils-all/pr23633.d: Add $subdir after $srcdir.
335 * testsuite/config/default.exp (AS, ASFLAGS): Define.
336 * testsuite/config/hppa.sed: Handle all common symbols.
337 * testsuite/lib/binutils-common.exp (run_dump_test): New proc,
338 merged from three other versions.
339 (slurp_options, file_contents, set_file_contents): Likewise.
340 (big_or_little_endian, get_standard_section_names): Likewise.
341 * testsuite/lib/utils-lib.exp (run_dump_test): Delete.
342 (slurp_options, proc file_contents): Delete.
343 (get_standard_section_names): Delete.
344
e8d88459
AM
3452018-09-15 Alan Modra <amodra@gmail.com>
346
347 * testsuite/binutils-all/copy-2.d,
348 * testsuite/binutils-all/copy-3.d,
349 * testsuite/binutils-all/copy-4.d,
350 * testsuite/binutils-all/elfedit-1.d,
351 * testsuite/binutils-all/note-1.d,
352 * testsuite/binutils-all/note-2-64.d,
353 * testsuite/binutils-all/strip-11.d,
354 * testsuite/binutils-all/strip-13.d,
355 * testsuite/binutils-all/strip-14.d,
356 * testsuite/binutils-all/testranges.d,
357 * testsuite/binutils-all/x86-64/pr23494a-x32.d,
358 * testsuite/binutils-all/x86-64/pr23494a.d,
359 * testsuite/binutils-all/x86-64/pr23494b-x32.d,
360 * testsuite/binutils-all/x86-64/pr23494b.d,
361 * testsuite/binutils-all/x86-64/pr23494c-x32.d,
362 * testsuite/binutils-all/x86-64/pr23494c.d,
363 * testsuite/binutils-all/x86-64/pr23494d-x32.d,
364 * testsuite/binutils-all/x86-64/pr23494d.d,
365 * testsuite/binutils-all/x86-64/pr23494e-x32.d,
366 * testsuite/binutils-all/x86-64/pr23494e.d,
367 * testsuite/lib/utils-lib.exp (run_dump_test): Replace not-target
368 and not-skip with notarget and noskip.
369
04ade4bc
AM
3702018-09-15 Alan Modra <amodra@gmail.com>
371
372 * testsuite/binutils-all/group-7a.d,
373 * testsuite/binutils-all/group-7b.d,
374 * testsuite/binutils-all/group-7c.d,
375 * testsuite/binutils-all/symbols-1.d,
376 * testsuite/binutils-all/symbols-2.d,
377 * testsuite/binutils-all/symbols-3.d,
378 * testsuite/binutils-all/symbols-4.d: Remove DUMPPROG.
379
1fcd7e87
AM
3802018-09-14 Alan Modra <amodra@gmail.com>
381
382 PR binutils/23633
383 * testsuite/binutils-all/pr23633.d: Don't fail when assembler
384 generates sections other than .text.
385
319dbdfb
L
3862018-09-13 H.J. Lu <hongjiu.lu@intel.com>
387
388 PR binutils/23633
389 * testsuite/binutils-all/objcopy.exp: Run pr23633.
390 * testsuite/binutils-all/pr23633.d: New file.
391 * testsuite/binutils-all/pr23633.list: Likewise.
392 * testsuite/binutils-all/pr23633.s: Likewise.
393
508d0c9b
NC
3942018-09-13 Nick Clifton <nickc@redhat.com>
395
396 PR 23633
397 * objcopy.c (add_specific_symbols): Do not free the buffer at the
398 end of the function.
399
f9853190
AM
4002018-09-10 Alan Modra <amodra@gmail.com>
401
402 PR binutils/23611
403 * objcopy.c (handle_remove_section_option): Consider .rela and
404 .rel sections for stripping directly as well as attached to the
405 associated section they relocate.
406 * doc/binutils.texi (remove-relocations): Specify that this
407 option removes non-dynamic relocation sections.
408 * testsuite/binutils-all/objcopy.exp
409 (objcopy_remove_relocations_from_executable): New test.
410
20a4d0bd
NC
4112018-09-03 Nick Clifton <nickc@redhat.com>
412
413 * po/ja.po: Updated Japanese translation.
414
0f60cce3
L
4152018-08-31 H.J. Lu <hongjiu.lu@intel.com>
416
417 * testsuite/binutils-all/readelf.s-64: Adjusted for
418 .note.gnu.property section.
419 * testsuite/binutils-all/strip-3.d: Also strip
420 .note.gnu.property section.
421
6c0d3bde
L
4222018-08-31 H.J. Lu <hongjiu.lu@intel.com>
423
424 * testsuite/binutils-all/i386/compressed-1b.d: Pass
425 -mx86-used-note=no to assembler.
426 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
427 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
428 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
429 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
430 to assembler and update expected output from "readelf -n".
431 * testsuite/binutils-all/i386/ibt.d: Likewise.
432 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
433 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
434 * testsuite/binutils-all/i386/shstk.d: Likewise.
435 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
436 * testsuite/binutils-all/x86-64/empty.d: Likewise.
437 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
438 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
439 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
440 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
441 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
442 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
443 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
444 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
445 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
446 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
447 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
448 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
449 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
450 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
451 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
452 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
453
385e5b90
L
4542018-08-30 H.J. Lu <hongjiu.lu@intel.com>
455
456 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
457 SHT_PREINIT_ARRAY as relocatable sections.
458
4c971803
CX
4592018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
460
461 * MAINTAINERS: Add myself as a MIPS port maintainer.
462
9108bc33
CX
4632018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
464
465 * NEWS: Mention Loongson 2K1000 proccessor support.
466 * readelf.c (get_machine_flags): Handle gs264e.
467
bd782c07
CX
4682018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
469
470 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
471 * readelf.c (get_machine_flags): Handle gs464e.
472
ac8cb70f
CX
4732018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
474
475 * NEWS: Mention Loongson 3A1000 proccessor support.
476 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
477 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
478
a693765e
CX
4792018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
480
481 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
482
bdc6c06e
CX
4832018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
484
485 * readelf.c (print_mips_ases): Add Loongson EXT extension.
486
716c08de
CX
4872018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
488
489 * readelf.c (print_mips_ases): Add CAM extension.
490
90c745dc
L
4912018-08-27 H.J. Lu <hongjiu.lu@intel.com>
492
493 * readelf.c (decode_x86_isa): Print <None> if bitmask only
494 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
495 (decode_x86_feature_1): Likewise.
496 (decode_x86_feature_2): Likewise.
497 (print_gnu_property_note): Don't mask out the
498 GNU_PROPERTY_X86_UINT32_VALID bit.
499 * testsuite/binutils-all/i386/pr21231b.d: Updated.
500 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
501
65b3d26e
L
5022018-08-27 H.J. Lu <hongjiu.lu@intel.com>
503
504 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
505 (decode_x86_isa): Likewise.
506 (decode_x86_feature_2): Likewise.
507
7a815dd5
L
5082018-08-25 H.J. Lu <hongjiu.lu@intel.com>
509
510 PR ld/23499
511 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
512 for corrupt symbol version info.
513
a9eafb08
L
5142018-08-24 H.J. Lu <hongjiu.lu@intel.com>
515
516 * readelf.c (decode_x86_compat_isa): New function.
517 (decode_x86_feature_2): Likewise.
518 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
519 (decode_x86_feature): Renamed to ...
520 (decode_x86_feature_1): This. Remove the type argument.
521 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
522 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
523 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
524 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
525 and X86_FEATURE_1_AND.
526 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
527 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
528 values.
529 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
530 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
531 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
532 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
533 * testsuite/binutils-all/i386/pr21231b.d: Updated.
534 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
535 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
536 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
537 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
538 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
539 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
540 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
541 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
542 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
543
aa7bca9b
L
5442018-08-24 H.J. Lu <hongjiu.lu@intel.com>
545
546 * readelf.c (print_gnu_property_note): Check the
547 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
548
14732552
AM
5492018-08-23 Alan Modra <amodra@gmail.com>
550
551 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
552 field contains unrecognised or reserved values. Handle
553 localentry:1 value.
554
7dd36a6f
L
5552018-08-23 H.J. Lu <hongjiu.lu@intel.com>
556
557 PR ld/23536
558 * Makefile.am (development.exp): New target.
559 (EXTRA_DEJAGNU_SITE_CONFIG): New.
560 (DISTCLEANFILES): Add development.exp.
561 * Makefile.in: Regenerated.
562 * testsuite/binutils-all/objcopy.exp (strip_test): Call
563 prune_warnings to prune BFD output.
564 (strip_test_with_saving_a_symbol): Likewise.
565 (objcopy_test_without_global_symbol): Likewise.
566 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
567 New proc.
568 (prune_warnings): Likewise.
569
44c2eb66
L
5702018-08-23 H.J. Lu <hongjiu.lu@intel.com>
571
572 * README-how-to-make-a-release: Document setting "experimental"
573 to false.
574
e8a64888
AM
5752018-08-22 Alan Modra <amodra@gmail.com>
576
577 * readelf.c (process_file_header): Assign updated values from
578 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
579 during printing of header. Correct e_shstrndx range check.
580 Remove unnecessary casts and use %u rather than %ld for
581 unsigned int header fields. Don't print a random %lx when
582 reporting an unknown EI_VERSION.
583
06d743b7
NC
5842018-08-21 Nick Clifton <nickc@redhat.com>
585
586 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
587 maintainer.
588
66b09c7e
S
5892018-08-21 L. Simon <l.simon@samsung.com>
590
591 PR 23531
592 * readelf.c (hppa_process_unwind): Only dump the unwind table if
593 the data was successfully read in.
594
506b86a4
AM
5952018-08-18 Alan Modra <amodra@gmail.com>
596
597 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
598 input file for readelf.out.
599 (is_rela): New proc.
600 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
601 from first result of is_elf64 test.
602 (reloc_format): Set using is_rela.
603 (strip-13): Pass RELOC and ELF64 to assembler.
604 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
605 * testsuite/binutils-all/strip-13.d: Run for more targets.
606 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
607 addend to zero.
608 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
609 Don't add _NONE reloc.
610 * testsuite/binutils-all/strip-13rela.s: Likewise.
611
9c973a29
L
6122018-08-10 H.J. Lu <hongjiu.lu@intel.com>
613
614 PR binutils/23494
615 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
616 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
617 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
618
11459a79
L
6192018-08-10 H.J. Lu <hongjiu.lu@intel.com>
620
621 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
622 targets.
623 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
624 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
625 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
626 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
627 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
628 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
629 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
630
6404ab99
L
6312018-08-08 H.J. Lu <hongjiu.lu@intel.com>
632
633 PR binutils/23494
634 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
635 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
636 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
637 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
638 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
639 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
640 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
641 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
642 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
643 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
644
f384a1f0
KB
6452018-08-08 Kevin Buettner <kevinb@redhat.com>
646
f9853190
AM
647 * dwarf.c (decode_location_expresion): Add case for
648 DW_OP_GNU_variable_value.
f384a1f0 649
db1e1b45 6502018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
651
652 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
653
4aae6e5a
NC
6542018-08-03 Nick Clifton <nickc@redhat.com>
655
656 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
657 identical function notes.
658
e2561448
NC
6592018-08-01 Nick Clifton <nickc@redhat.com>
660
661 * README-how-to-make-a-release: Add note about regenerating the
662 info files prior to the release.
663
2409af1e
AJ
6642018-07-30 Andrew Jenner <andrew@codesourcery.com>
665
666 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
667
d0ba5758
AJ
6682018-07-30 Andrew Jenner <andrew@codesourcery.com>
669
670 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
671
b8891f8d
AJ
6722018-07-30 Andrew Jenner <andrew@codesourcery.com>
673
674 * readelf.c: Include elf/csky.h.
675 (guess_is_rela): Handle EM_CSKY.
676 (dump_relocations): Likewise.
677 (get_machine_name): Likewise.
678 (is_32bit_abs_reloc): Likewise.
679
e3d39609
NC
6802018-07-25 Nick Clifton <nickc@redhat.com>
681
682 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
683 exit.
684 (parse_coff_enum_type): Free names and vals arrays upon early
685 exit.
686 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
687 strings and stabs arrays upon early exit.
688 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
689 early exit.
690 (get_64bit_section_headers): Likewise.
691 (get_32bit_elf_symbols): Generate an error if multiple symbol
692 table index sections are associated with the same symbol section.
693 (get_64bit_elf_symbols): Likewise.
694 (process_dynamic_section): Generate an error if there are multiple
695 dynamic symbol table sections, multiple dynamic string tables or
696 multiple dynamic symbol information sections.
697
1d97232a
NC
6982018-07-24 Nick Clifton <nickc@redhat.com>
699
700 * po/sv.po: Updated Swedish translation.
701
7b8d9e8c
AM
7022018-07-24 Alan Modra <amodra@gmail.com>
703
704 PR 23431
705 * dwarf.c (display_formatted_table): Replace "what" parameter
706 with "is_dir". Expand messages. Fix capitalisation.
707 * testsuite/binutils-all/dw5.W: Update expected output.
708
67ce483b
AM
7092018-07-24 Alan Modra <amodra@gmail.com>
710
711 PR 23430
712 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
713 to uses_64bit_indices.
714 * elfcomm.c (setup_archive): Update uses of above.
715 * readelf.c (process_archive): Likewise.
716 (get_section_type_name): Rename indicies to indices.
717 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
718 (process_section_groups): Likewise.
719
e2e31f10
MR
7202018-07-20 Maciej W. Rozycki <macro@mips.com>
721
722 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
723 ISA maintenance.
724
3391569f
NC
7252018-07-20 Nick Clifton <nickc@redhat.com>
726
727 * objcopy.c (add_specific_symbols): Free buffer on exit.
728 (add_redefine_syms_file): Close file handle on exit.
729 (copy_object): Close file handle on early exit.
730 Free buffer on early exit.
731 Free gaps buffers once they are no longer needed.
732 * dwarf.c (display_debug_frames): Free allocated memory on exit.
733 (load_separate_debug_info): Free allocate memory on early exit.
734
8095d2f7
CX
7352018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
736 Maciej W. Rozycki <macro@mips.com>
737
738 * readelf.c (print_mips_ases): Add MMI extension.
739
79f5b65e
DD
7402018-07-19 DJ Delorie <dj@redhat.com>
741
742 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
743
442a6ce8
NC
7442018-07-19 Nick Clifton <nickc@redhat.com>
745
746 * dwarf.c (read_cie): Free allocated memory before returning with
747 a failure result.
748
3fd21718
PFC
7492018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
750
751 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
752 description.
753
ad96220c
NC
7542018-07-16 Nick Clifton <nickc@redhat.com>
755
756 * README-how-to-make-a-release: Add note to check for new top
757 level files and add them to the src-release.sh script.
758
6cb624f8
NC
7592018-07-14 Nick Clifton <nickc@redhat.com>
760
761 * README-how-to-make-a-release: Updated with corrections based on
762 the 2.31 release experience.
763
55cc53e9
FT
7642018-07-12 Francois H. Theron <francois.theron@netronome.com>
765
766 * readelf.c (process_section_headers): Don't print section type
767 twice for --section-details.
768
be570f06
AM
7692018-07-10 Alan Modra <amodra@gmail.com>
770
771 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
772 zero for xgate.
773
d20e98ab
NC
7742018-07-06 Nick Clifton <nickc@redhat.com>
775
776 * readelf.c (same_section): New function.
777 (print_gnu_build_attribute_description): Do not complain about
778 gaps that cross a section boundary.
779
d8dab054
NC
7802018-07-05 Nick Clifton <nickc@redhat.com>
781
782 * po/bg.po: Updated Bulgarian translation.
783
a05a5b64
TP
7842018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
785
786 * NEWS: Use command-line consistently when used in a compount word.
787 * doc/binutils.texi: Likewise and fix trailing whitespace on same
788 line.
789
30aa1306
NC
7902018-06-26 Nick Clifton <nickc@redhat.com>
791
792 * po/sv.po: Updated Swedish translation.
793 * po/uk.po: Updated Ukranian translation.
794
eca4b721
NC
7952018-06-26 Nick Clifton <nickc@redhat.com>
796
797 * doc/binutils.texi: Fix spelling mistakes.
798 * README--how-to-make-a-release: Likewise.
799
1021d1cb
TT
8002018-06-25 Tom Tromey <tom@tromey.com>
801
802 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
803 Bump version number.
804
71300e2c
NC
8052018-06-24 Nick Clifton <nickc@redhat.com>
806
807 * README-how-to-make-a-release: Update with experiences from
808 making 2.31 branch.
809 * po/binutils.pot: Regenerate.
810 * configure: Regenerate.
811
719d8288
NC
8122018-06-24 Nick Clifton <nickc@redhat.com>
813
814 2.31 branch created.
815 * NEWS: Add marker for 2.31.
816
d388f643
AM
8172018-06-21 Alan Modra <amodra@gmail.com>
818
819 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
820 * doc/Makefile.in: Regenerate.
821
d0ac1c44
SM
8222018-06-19 Simon Marchi <simon.marchi@ericsson.com>
823
824 * configure.ac: Remove AC_PREREQ.
825 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
826 info-in-builddir no-texinfo.tex.
827 * Makefile.in: Re-generate.
828 * aclocal.m4: Re-generate.
829 * config.in: Re-generate.
830 * configure: Re-generate.
831 * doc/Makefile.in: Re-generate.
832
3a075e56
AS
8332018-06-19 Andreas Schwab <schwab@suse.de>
834
835 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
836 (is_8bit_abs_reloc): New function.
837 (is_6bit_abs_reloc): New function.
838 (is_6bit_inplace_sub_reloc): New function.
839 (apply_relocations): Use them. Handle 6-bit relocations.
840
6f20c942
FS
8412018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
842
843 * readelf.c (print_mips_ases): Add GINV extension.
844
1f6f5dba
L
8452018-06-14 H.J. Lu <hongjiu.lu@intel.com>
846
847 PR binutils/23267
848 * readelf.c (get_symbol_version_string): Check if the first
849 symbol version is base version.
850
730c3174
SE
8512018-06-13 Scott Egerton <scott.egerton@imgtec.com>
852 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
853
854 * readelf.c (print_mips_ases): Add CRC.
855
7a486e6d
NC
8562018-06-13 Nick Clifton <nickc@redhat.com>
857
858 * doc/binutils.texi (objdump): Add missing closing square
859 parenthesis to listing of objcopy's command line options.
860
5a485b38
NC
8612018-06-11 Nick Clifton <nickc@redhat.com>
862
863 * po/es.po: Updated Spanish translation.
864
55e99962
L
8652018-06-01 H.J. Lu <hongjiu.lu@intel.com>
866
867 * configure: Regenerated.
868
0034eed0
AM
8692018-05-31 Alan Modra <amodra@gmail.com>
870
871 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
872 set CC_FOR_TARGET. Run test non-native.
873 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
874 Likewise.
875 (test_follow_debuglink): Run test non-native.
876
1869e86f
AB
8772018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
878
879 PR 23107
880 * ar.c (display_offsets): New variable.
881 (usage): Add description of 'O' operator.
882 (decode_option): Handle 'O' operator.
883 (print_descr): Pass display_offsets to print_arelt_descr.
884 * arsup.c: Update call to printy_arelt_descr.
885 * objdump.c: Likewise.
886 * bucomm.c (print_arelt_descr): If offsets parameter is true then
887 display offset of archive element within the archive.
888 * bucomm.h: Update prototype for print_arelt_descr.
889 * doc/binutils.texi: Update description of ar command.
890 * NEWS: Mention the new feature.
891 * testsuite/binutils-all/ar.exp: Add text of new feature.
892
bb3b5316
AM
8932018-05-28 Alan Modra <amodra@gmail.com>
894
895 PR 23235
896 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
897 unsupported rather than fail on compile errors.
898 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
899 Likewise. Save and restore CFLAGS_FOR_TARGET.
900
7f999549
JW
9012018-05-18 Kito Cheng <kito.cheng@gmail.com>
902
903 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
904
7b4ae824
JD
9052018-05-18 John Darrington <john@darrington.wattle.id.au>
906
907 * readelf.c: Add support for s12z architecture.
908 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
909 targets.
910
f9830ec1
TC
9112018-05-15 Tamar Christina <tamar.christina@arm.com>
912
913 PR binutils/21446
914 * doc/binutils.texi (-M): Document AArch64 options.
915
7d02540a
TC
9162018-05-15 Tamar Christina <tamar.christina@arm.com>
917
918 PR binutils/21446
919 * doc/binutils.texi (-M): Document AArch64 options.
920 * NEWS: Document notes and warnings.
921
679ca975
AM
9222018-05-15 Alan Modra <amodra@gmail.com>
923
924 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
925 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
926 and *uclinux* into *linux*.
927 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
928 strip-13 test, exclude arm-vxworks and arm-windiss.
929
637b1970
JD
9302018-05-10 John Darrington <john@darrington.wattle.id.au>
931
932 * readelf.c (get_machine_name): EM_S12Z - handle new case.
933
60cb2c8a
AM
9342018-05-09 Alan Modra <amodra@gmail.com>
935
936 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
937
84f9f8c3
AM
9382018-05-09 Sebastian Rasmussen <sebras@gmail.com>
939
940 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
941
886d5428
AM
9422018-05-08 Alan Modra <amodra@gmail.com>
943
944 PR 23141
945 * objcopy.c (is_strip_section): Strip groups without a valid
946 signature symbol.
947
ce4ec1a9
AM
9482018-05-07 Alan Modra <amodra@gmail.com>
949
950 PR 23142
951 * objcopy.c (group_signature): Don't accept groups that use a
952 symbol table other than the one we've read.
953
fe944acf
FT
9542018-04-30 Francois H. Theron <francois.theron@netronome.com>
955
956 * readelf.c: Very basic support for EM_NFP and its section types.
957 * testsuite/binutils-all/nfp: New directory.
958 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
959 tests.
960 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
961 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
962 * testsuite/binutils-all/nfp/test1.d: New file.
963 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
964 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
965 * NEWS: Mention the new support.
966
6d9dabbb
MR
9672018-04-27 Maciej W. Rozycki <macro@mips.com>
968
969 * testsuite/lib/binutils-common.exp (match_target): New procedure.
970 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
971 of `istarget' for matching with `target', `not-target', `skip'
972 and `not-skip' options.
973
0df8ad28
NC
9742018-04-26 Nick Clifton <nickc@redhat.com>
975
976 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
977 32-bit absolute reloc for the HPPA target.
978 * testsuite/binutils-all/note-5.d: New test.
979 * testsuite/binutils-all/note-5.s: Source file for new test.
980 * testsuite/binutils-all/objcopy.exp: Run new test.
981
f1ac0afe
CL
9822018-04-25 Christophe Lyon <christophe.lyon@st.com>
983
984 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
985 * testsuite/binutils-all/elfedit-3.d: Likewise.
986 * testsuite/binutils-all/objcopy.exp: Likewise.
987 * testsuite/binutils-all/strip-3.d: Likewise.
988 * testsuite/lib/binutils-common.exp: Likewise.
989
18a20338
CL
9902018-04-25 Christophe Lyon <christophe.lyon@st.com>
991 Mickaël Guêné <mickael.guene@st.com>
992
993 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
994 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
995
2ac93be7
AM
9962018-04-25 Alan Modra <amodra@gmail.com>
997
998 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
999 arm-coff support.
1000 * testsuite/binutils-all/objcopy.exp: Likewise.
1001 * testsuite/lib/binutils-common.exp: Likewise.
1002
a7504f87
NC
10032018-04-18 Nick Clifton <nickc@redhat.com>
1004
1005 PR 23062
1006 * dwarf.c (read_and_display_attr_value): Replace assertions with
1007 test and warning message.
1008
c65c21e1
AM
10092018-04-18 Alan Modra <amodra@gmail.com>
1010
1011 * testsuite/lib/binutils-common.exp: Remove support for assorted
1012 aout targets.
1013
6aea08d9
NC
10142018-04-17 Nick Clifton <nickc@redhat.com>
1015
c4a91159 1016 PR 23063
56d8f8a9
NC
1017 * readelf.c (print_symbol): If the width is zero, return straight
1018 away.
1019
6aea08d9
NC
1020 PR 23064
1021 * dwarf.c (process_cu_tu_index): Test for a potential buffer
1022 overrun before copying signature pointer.
1023
f954747f
AM
10242018-04-17 Alan Modra <amodra@gmail.com>
1025
1026 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
1027
d7867d17
AM
10282018-04-16 Alan Modra <amodra@gmail.com>
1029
1030 * readelf.c (get_machine_name): Correct typo.
1031
ddb00039
AM
10322018-04-16 Alan Modra <amodra@gmail.com>
1033
1034 * configure.ac: Remove arm-epoc-pe support.
1035 * dlltool.c: Likewise.
1036 * configure: Regenerate.
1037
c9098af4
AM
10382018-04-16 Alan Modra <amodra@gmail.com>
1039
1040 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
1041 sparc-coff support.
1042
dc12032b
AM
10432018-04-16 Alan Modra <amodra@gmail.com>
1044
1045 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
1046 support.
1047 * testsuite/binutils-all/copy-3.d: Likewise.
1048 * testsuite/binutils-all/objcopy.exp: Likewise.
1049 * testsuite/lib/binutils-common.exp: Likewise.
1050
211dc24b
AM
10512018-04-16 Alan Modra <amodra@gmail.com>
1052
1053 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
1054
a9a4b302
AM
10552018-04-16 Alan Modra <amodra@gmail.com>
1056
1057 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
1058
04cb01fd
AM
10592018-04-16 Alan Modra <amodra@gmail.com>
1060
1061 * testsuite/binutils-all/objdump.exp: Remove we32k support.
1062
c2bf1eec
AM
10632018-04-16 Alan Modra <amodra@gmail.com>
1064
1065 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
1066 * testsuite/binutils-all/objdump.exp: Remove m88k support.
1067
6793974d
AM
10682018-04-16 Alan Modra <amodra@gmail.com>
1069
1070 * readelf.c: Remove i370 support.
1071 * testsuite/binutils-all/objdump.exp: Likewise.
1072
e82aa794
AM
10732018-04-16 Alan Modra <amodra@gmail.com>
1074
1075 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
1076 * testsuite/lib/binutils-common.exp: Likewise.
1077
fe0bf0fd
AM
10782018-04-16 Alan Modra <amodra@gmail.com>
1079
1080 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
1081
fdef3943
AM
10822018-04-16 Alan Modra <amodra@gmail.com>
1083
1084 * Makefile.am: Remove IEEE 695 support.
1085 * budbg.h: Likewise.
1086 * doc/binutils.texi: Likewise.
1087 * makefile.vms: Likewise.
1088 * objcopy.c: Likewise.
1089 * objdump.c: Likewise.
1090 * rddbg.c: Likewise.
1091 * ieee.c: Delete.
1092 * Makefile.in: Regenerate.
1093 * po/POTFILES.in: Regenerate.
1094
5972ac73
AM
10952018-04-16 Alan Modra <amodra@gmail.com>
1096
1097 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
1098 * testsuite/binutils-all/nm.exp: Likewise.
1099
b4b594e3
AM
11002018-04-16 Alan Modra <amodra@gmail.com>
1101
1102 * .gitignore: Remove netware support.
1103 * Makefile.am: Likewise.
1104 * configure.ac: Likewise.
1105 * doc/Makefile.am: Likewise.
1106 * doc/binutils.texi: Likewise.
1107 * testsuite/binutils-all/nm.exp: Likewise.
1108 * nlmconv.c: Delete.
1109 * nlmconv.h: Delete.
1110 * nlmheader.y: Delete.
1111 * Makefile.in: Regenerate.
1112 * configure: Regenerate.
1113 * doc/Makefile.in: Regenerate.
1114 * po/POTFILES.in: Regenerate.
1115
fceadf09
AM
11162018-04-16 Alan Modra <amodra@gmail.com>
1117
1118 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
1119
fb70ec17
AM
11202018-04-14 Alan Modra <amodra@gmail.com>
1121
1122 * readelf.c (get_machine_name): Revert 2018-04-11 change.
1123
86c6c6df
NC
11242018-04-12 Nick Clifton <nickc@redhat.com>
1125
1126 PR 23050
1127 * readelf.c (process_dynamic_section): Correct dynamic string
1128 table size calculation.
1129
a8eb42a8
AM
11302018-04-11 Alan Modra <amodra@gmail.com>
1131
1132 * ieee.c: Remove i960 support.
1133 * od-macho.c: Remove i860 support.
1134 * readelf.c: Remove i860 and i960 support.
1135 * testsuite/binutils-all/objcopy.exp: Likewise.
1136 * testsuite/binutils-all/objdump.exp: Likewise.
1137 * testsuite/lib/binutils-common.exp: Likewise.
1138
c43b2c54
MR
11392018-04-11 Maciej W. Rozycki <macro@mips.com>
1140
1141 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
1142 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
1143
d4ae1932
AM
11442018-04-10 Alan Modra <amodra@gmail.com>
1145
1146 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
1147 reloc=11 for pru and reloc=50 for nds32.
1148 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
1149
d52e3d06
MR
11502018-04-09 Maciej W. Rozycki <macro@mips.com>
1151
1152 * testsuite/binutils-all/strip-15.d: New test.
1153 * testsuite/binutils-all/strip-15rel.s: New test source.
1154 * testsuite/binutils-all/strip-15rela.s: New test source.
1155 * testsuite/binutils-all/strip-15mips64.s: New test source.
1156 * testsuite/binutils-all/objcopy.exp: Run the new test.
1157
3f97ba9f
MR
11582018-04-09 Maciej W. Rozycki <macro@mips.com>
1159
1160 * testsuite/binutils-all/strip-14.d: New test.
1161 * testsuite/binutils-all/strip-14rel.s: New test source.
1162 * testsuite/binutils-all/strip-14rela.s: New test source.
1163 * testsuite/binutils-all/strip-14mips64.s: New test source.
1164 * testsuite/binutils-all/objcopy.exp: Run the new test.
1165
2008a0db
TT
11662018-04-06 Tom Tromey <tom@tromey.com>
1167
1168 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
1169 constants from DWARF 5.
1170
3cba8b6c
L
11712018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1172
1173 PR gas/22318
1174 * configure: Regenerated.
1175
2d8c1a23
MR
11762018-04-05 Maciej W. Rozycki <macro@mips.com>
1177
1178 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
1179 than `.dc.w' in second relocation.
1180
65bd2045
MR
11812018-04-05 Maciej W. Rozycki <macro@mips.com>
1182
1183 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
1184 relocation type 0x8f' error message.
1185
2f8ceb38
MR
11862018-04-05 Maciej W. Rozycki <macro@mips.com>
1187
1188 * testsuite/binutils-all/strip-13.s: Rename to...
1189 * testsuite/binutils-all/strip-13rela.s: ... this.
1190 * testsuite/binutils-all/strip-13rel.s: New test source.
1191 * testsuite/binutils-all/strip-13mips64.s: New test source.
1192 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
1193 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
1194 `m68hc11-*' to `not-target' list.
1195 * testsuite/binutils-all/objcopy.exp: Switch between sources for
1196 `strip-13'.
1197
aad7be45
MR
11982018-04-05 Maciej W. Rozycki <macro@mips.com>
1199
1200 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
1201 241 (0xf1) for the relocation number and RELA addend.
1202 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
1203 `not-target' list.
1204
89f60df2
JDA
12052018-04-04 John David Anglin <danglin@gcc.gnu.org>
1206
1207 * MAINTAINERS: Update my e-mail address.
1208
f1ca0d6d
NC
12092018-04-04 Nick Clifton <nickc@redhat.com>
1210
1211 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
1212
8fd75781
NC
12132018-03-23 Nick Clifton <nickc@redhat.com>
1214
1215 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
1216 symbols.
1217 (print_gnu_build_attribute_description): If no file start symbol
1218 could be found, look for one two bytes into the file.
1219 * testsuite/binutils-all/note-4-64.s: Set the address of the file
1220 start symbol to two bytes into the file.
1221 * testsuite/binutils-all/note-4-32.s: Likewise.
1222
b1202ffa
L
12232018-03-21 H.J. Lu <hongjiu.lu@intel.com>
1224
1225 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
1226 DF_1_WEAKFILTER and DF_1_NOCOMMON.
1227
7e100140
NC
12282018-03-20 Nick Clifton <nickc@redhat.com>
1229
1230 * po/es.po: Updated Spanish translation.
1231 * po/ru.po: Updated Russian translation.
1232
e45ad123
NC
12332018-03-13 Nick Clifton <nickc@redhat.com>
1234
1235 PR 22957
1236 * stabs.c (pop_binincl): Fail if the file index is off the end of
1237 the stack.
1238
81db3241
NC
12392018-03-13 Nick Clifton <nickc@redhat.com>
1240
1241 PR 22955
1242 * stabs.c (parse_number): Add p_end parameter and use it to check
1243 the validity of the pp parameter. Add checks to prevent walking
1244 off the end of the string buffer.
1245 (parse_stab_string): Likewise.
1246 (parse_stab_type): Likewise.
1247 (parse_stab_type_number): Likewise.
1248 (parse_stab_range_type): Likewise.
1249 (parse_stab_sun_builtin_type): Likewise.
1250 (parse_stab_sun_floating_type): Likewise.
1251 (parse_stab_enum_type): Likewise.
1252 (parse_stab_struct_type): Likewise.
1253 (parse_stab_baseclasses): Likewise.
1254 (parse_stab_struct_fields): Likewise.
1255 (parse_stab_cpp_abbrev): Likewise.
1256 (parse_stab_one_struct_field): Likewise.
1257 (parse_stab_members): Likewise.
1258 (parse_stab_tilde_field): Likewise.
1259 (parse_stab_array_type): Likewise.
e45ad123 1260
81db3241
NC
1261 * parse_stab: Compute the end of the string and then pass it on to
1262 individual parser functions.
1263
6d4f21f6
PP
12642018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
1265
1266 PR binutils/22923
1267 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
1268 overflow.
1269
52fe4420
AM
12702018-03-07 Alan Modra <amodra@gmail.com>
1271
1272 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
1273 * configure: Regenerate.
1274
0e70b27b
L
12752018-03-05 H.J. Lu <hongjiu.lu@intel.com>
1276
1277 PR binutils/22911
1278 * objdump.c (is_significant_symbol_name): Return TRUE for all
1279 .plt* sections.
1280 (find_symbol_for_address): Replace linear search with binary
1281 search on dynamic relocations.
1282
d11ae95e
NC
12832018-03-01 Nick Clifton <nickc@redhat.com>
1284
1285 PR 22905
1286 * dwarf.c (display_debug_ranges): Check that the offset loaded
1287 from the range_entry structure is valid.
1288
e184813f
AM
12892018-03-01 Alan Modra <amodra@gmail.com>
1290
1291 * configure.ac (ALL_LINGUAS): Add sr. Sort.
1292 * configure: Regenerate.
1293
bc7c0509
NC
12942018-02-27 Nick Clifton <nickc@redhat.com>
1295
1296 * po/pt.po: New Portuguese translation.
1297 * configure.ac (ALL_LINGUAS): Add pt.
1298 * configure: Regenerate.
1299
f3185997
NC
13002018-02-27 Nick Clifton <nickc@redhat.com>
1301
1302 PR 22875
1303 * objcopy.c (copy_object): Check the error status after marking
1304 symbols used in relocations.
1305 * testsuite/binutils-all/strip-13.s: New test source file.
1306 * testsuite/binutils-all/strip-13.s: New test driver file.
1307 * testsuite/binutils-all/objcopy.exp: Run the new test.
1308
2c1c9679
AM
13092018-02-26 Alan Modra <amodra@gmail.com>
1310
1311 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1312 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1313
6e05870c
AM
13142018-02-23 Alan Modra <amodra@gmail.com>
1315
1316 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
1317 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
1318
b0ab9c45
RH
13192018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
1320
1321 * doc/binutils.texi (objcopy): Add missing closing square
1322 parenthesis to listing of objcopy's command line options.
1323
e535d0dd
MK
13242018-02-19 Matthias Klose <doko@debian.org>
1325
1326 * strings.c (long_options): Include-all-whitespace does not take
f9853190 1327 an extra agument.
e535d0dd 1328
6e5e9d58
AM
13292018-02-13 Alan Modra <amodra@gmail.com>
1330
1331 PR 22836
1332 * testsuite/binutils-all/group-7.s,
1333 * testsuite/binutils-all/group-7a.d,
1334 * testsuite/binutils-all/group-7b.d,
1335 * testsuite/binutils-all/group-7c.d: New tests.
1336 * testsuite/binutils-all/objcopy.exp: Run them.
1337
8de3a6e2
NC
13382018-02-08 Nick Clifton <nickc@redhat.com>
1339
1340 PR 22802
1341 * dwarf.c (load_separate_debug_file): Return early if the user is
1342 not interested in debug links.
1343
68807c3c
NC
13442018-02-06 Nick Clifton <nickc@redhat.com>
1345
1346 PR 22793
1347 * readelf.c (find_section): Replace assertion with test and return
1348 of NULL.
1349 (find_section_by_address): Add test of section header table
1350 existance.
1351 (find_section_by_type): Likewise.
1352 (find_section_in_set): Likewise.
1353
2d6dda71
MR
13542018-02-05 Maciej W. Rozycki <macro@mips.com>
1355
1356 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
1357 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
1358 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
1359 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
1360
78c88364
MR
13612018-02-05 Maciej W. Rozycki <macro@mips.com>
1362
1363 * testsuite/config/default.exp (binutils_run): Document
1364 `binutils_run_status'.
1365 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
1366 and set it.
1367 (run_dump_test): Add `error', `error_output', `warning' and
1368 `warning_output' options. Update documentation accordingly.
1369
5bb0830d
AB
13702018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1371
1372 * dwarf.c (dwarf_regnames_riscv): New register name table.
1373 (init_dwarf_regnames_riscv): New function.
1374 (init_dwarf_regnames): Add call to initialise RiscV register
1375 names.
1376 * dwarf.h (init_dwarf_regnames_riscv): Declare.
1377 * objdump.c (dump_dwarf): Add call to initialise RiscV register
1378 names.
1379
f2023ce7
AM
13802018-02-01 Alan Modra <amodra@gmail.com>
1381
1382 PR 22769
1383 * objdump.c (load_specific_debug_section): Check for overflow
1384 when adding one to section size for a string section terminator.
1385
fcabedd5
NC
13862018-01-30 Nick Clifton <nickc@redhat.com>
1387
1388 PR 22734
1389 * doc/binutils.texi (nm): Update description to point out that
1390 zero-initialized values can also be shown as type B, b, S or s
1391 since they can be stored in the BSS section.
1392
f49db8be
AM
13932018-01-30 Alan Modra <amodra@gmail.com>
1394
1395 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
1396 "artificially large" end address.
1397
a8d6d6ac
NC
13982018-01-28 Nick Clifton <nickc@redhat.com>
1399
1400 * README-how-to-make-a-release: Add note about checking gpg key
1401 and the results of gnupload.
1402
9a5db26e
NC
14032018-01-27 Nick Clifton <nickc@redhat.com>
1404
1405 * README-how-to-make-a-release: Add details on how to actually
1406 make the release.
1407
94c2436b
NC
14082018-01-26 Nick Clifton <nickc@redhat.com>
1409
1410 * README-how-to-make-a-release: Add more details on updating
1411 version numbers.
1412
1ea332d6
MR
14132018-01-22 Maciej W. Rozycki <macro@mips.com>
1414
1415 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
1416 option description.
1417
d65ce302
MR
14182018-01-22 Maciej W. Rozycki <macro@mips.com>
1419
1420 * MAINTAINERS: Update my company e-mail address.
1421
f433138f
NC
14222018-01-22 Nick Clifton <nickc@redhat.com>
1423
1424 * po/sv.po: Updated Swedish translation.
1425
7ab82037
NC
14262018-01-18 Nick Clifton <nickc@redhat.com>
1427
1428 * po/bg.po: Updated Bulgarian translation.
1429
0dd86f32
JB
14302018-01-16 Joel Brobecker <brobecker@adacore.com>
1431
1432 * README-how-to-make-a-release: Add reminder to update the
1433 branch name in gdbadmin's crontab on sourceware.
1434
a960d29f
JB
14352018-01-16 Joel Brobecker <brobecker@adacore.com>
1436
1437 * README-how-to-make-a-release: Remove trailing spaces.
1438
f6efed01
NC
14392018-01-16 Nick Clifton <nickc@redhat.com>
1440
1441 * po/fr.po: Updated French translation.
1442
616dcb87
NC
14432018-01-15 Nick Clifton <nickc@redhat.com>
1444
1445 * po/uk.po: Updated Ukranian translation.
1446
3957a496
NC
14472018-01-13 Nick Clifton <nickc@redhat.com>
1448
19e2900b 1449 * README-how-to-make-a-release: Update notes.
3957a496
NC
1450 * po/binutils.pot: Regenerated.
1451
769c7ea5
NC
14522018-01-13 Nick Clifton <nickc@redhat.com>
1453
1454 * configure: Regenerate.
1455
9176ac5b
NC
14562018-01-13 Nick Clifton <nickc@redhat.com>
1457
faf766e3 1458 2.30 branch created.
9176ac5b
NC
1459 * NEWS: Add marker for 2.30.
1460
98ab9e96
NC
14612018-01-12 Nick Clifton <nickc@redhat.com>
1462
1463 * README-how-to-make-a-release: Add notes on how to make the
1464 branch and prelease snapshot.
1465 * BRANCHES: Add binutils-2_29-branch.
1466
bf41f30d
NC
14672018-01-10 Nick Clifton <nickc@redhat.com>
1468
1469 * MAINTAINERS: Note that it is now the configure.ac file and not
1470 the configure.in file that needs to be kept in sync with gcc.
1471 Add a note about sending patches for libiberty to gcc.
1472
f13974bd
NC
14732018-01-03 Nick Clifton <nickc@redhat.com>
1474
1475 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1476 constants.
1477
6f156d7a
NC
14782018-01-03 Nick Clifton <nickc@redhat.com>
1479
1480 * objcopy.c (objcopy_internal_note): New structure.
1481 (gap_exists): New function.
1482 (is_open_note): New function.
1483 (is_func_note): New function.
1484 (is_64bit): New function.
1485 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1486 if there are relocations against the notes.
1487 * readelf.c (get_note_type): Use short names for build attribute
1488 notes.
1489 (print_symbol_for_build_attribute): Rename to
1490 get_symbol_for_build_attribute. Returns the found symbol rather
1491 than printing it.
1492 (print_gnu_build_attribute_description): Maintain address ranges
1493 for function notes as well as global notes. Handle v3 notes.
1494 (print_gnu_build_attribute_name): Use more space for printing the
1495 name in wide mode.
1496 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1497 Eliminate symbol references in order to remove the need for
1498 relocations.
1499 * testsuite/binutils-all/note-2-64.s: Likewise.
1500 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1501 symbol.
1502 * testsuite/binutils-all/note-3-64.s: Likewise.
1503 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1504 output.
1505 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1506 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1507 * testsuite/binutils-all/note-2-32.d: Likewise.
1508 * testsuite/binutils-all/note-2-64.d: Likewise.
1509 * testsuite/binutils-all/note-3-32.d: Likewise.
1510 * testsuite/binutils-all/note-3-64.d: Likewise.
1511 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1512 * testsuite/binutils-all/note-4-32.s: New test.
1513 * testsuite/binutils-all/note-4-64.d: New test result file.
1514 * testsuite/binutils-all/note-4-32.d: New test result file.
1515
219d1afa
AM
15162018-01-03 Alan Modra <amodra@gmail.com>
1517
1518 Update year range in copyright notice of all files.
1519
1e563868 1520For older changes see ChangeLog-2017
3499769a 1521\f
1e563868 1522Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1523
1524Copying and distribution of this file, with or without modification,
1525are permitted in any medium without royalty provided the copyright
1526notice and this notice are preserved.
1527
1528Local Variables:
1529mode: change-log
1530left-margin: 8
1531fill-column: 74
1532version-control: never
1533End:
This page took 0.210219 seconds and 4 git commands to generate.