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