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