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