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