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