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