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