]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Fix a seg-fault in readelf when parsing corrupt HPPA unwind tables.
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
66b09c7e
S
12018-08-21 L. Simon <l.simon@samsung.com>
2
3 PR 23531
4 * readelf.c (hppa_process_unwind): Only dump the unwind table if
5 the data was successfully read in.
6
506b86a4
AM
72018-08-18 Alan Modra <amodra@gmail.com>
8
9 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
10 input file for readelf.out.
11 (is_rela): New proc.
12 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
13 from first result of is_elf64 test.
14 (reloc_format): Set using is_rela.
15 (strip-13): Pass RELOC and ELF64 to assembler.
16 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
17 * testsuite/binutils-all/strip-13.d: Run for more targets.
18 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
19 addend to zero.
20 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
21 Don't add _NONE reloc.
22 * testsuite/binutils-all/strip-13rela.s: Likewise.
23
9c973a29
L
242018-08-10 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR binutils/23494
27 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
28 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
29 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
30
11459a79
L
312018-08-10 H.J. Lu <hongjiu.lu@intel.com>
32
33 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
34 targets.
35 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
36 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
37 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
38 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
39 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
40 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
41 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
42
6404ab99
L
432018-08-08 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR binutils/23494
46 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
47 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
48 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
49 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
50 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
51 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
52 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
53 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
54 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
55 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
56
f384a1f0
KB
572018-08-08 Kevin Buettner <kevinb@redhat.com>
58
59 * dwarf.c (decode_location_expresion): Add case for
60 DW_OP_GNU_variable_value.
61
db1e1b45 622018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
63
64 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
65
4aae6e5a
NC
662018-08-03 Nick Clifton <nickc@redhat.com>
67
68 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
69 identical function notes.
70
e2561448
NC
712018-08-01 Nick Clifton <nickc@redhat.com>
72
73 * README-how-to-make-a-release: Add note about regenerating the
74 info files prior to the release.
75
2409af1e
AJ
762018-07-30 Andrew Jenner <andrew@codesourcery.com>
77
78 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
79
d0ba5758
AJ
802018-07-30 Andrew Jenner <andrew@codesourcery.com>
81
82 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
83
b8891f8d
AJ
842018-07-30 Andrew Jenner <andrew@codesourcery.com>
85
86 * readelf.c: Include elf/csky.h.
87 (guess_is_rela): Handle EM_CSKY.
88 (dump_relocations): Likewise.
89 (get_machine_name): Likewise.
90 (is_32bit_abs_reloc): Likewise.
91
e3d39609
NC
922018-07-25 Nick Clifton <nickc@redhat.com>
93
94 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
95 exit.
96 (parse_coff_enum_type): Free names and vals arrays upon early
97 exit.
98 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
99 strings and stabs arrays upon early exit.
100 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
101 early exit.
102 (get_64bit_section_headers): Likewise.
103 (get_32bit_elf_symbols): Generate an error if multiple symbol
104 table index sections are associated with the same symbol section.
105 (get_64bit_elf_symbols): Likewise.
106 (process_dynamic_section): Generate an error if there are multiple
107 dynamic symbol table sections, multiple dynamic string tables or
108 multiple dynamic symbol information sections.
109
1d97232a
NC
1102018-07-24 Nick Clifton <nickc@redhat.com>
111
112 * po/sv.po: Updated Swedish translation.
113
7b8d9e8c
AM
1142018-07-24 Alan Modra <amodra@gmail.com>
115
116 PR 23431
117 * dwarf.c (display_formatted_table): Replace "what" parameter
118 with "is_dir". Expand messages. Fix capitalisation.
119 * testsuite/binutils-all/dw5.W: Update expected output.
120
67ce483b
AM
1212018-07-24 Alan Modra <amodra@gmail.com>
122
123 PR 23430
124 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
125 to uses_64bit_indices.
126 * elfcomm.c (setup_archive): Update uses of above.
127 * readelf.c (process_archive): Likewise.
128 (get_section_type_name): Rename indicies to indices.
129 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
130 (process_section_groups): Likewise.
131
e2e31f10
MR
1322018-07-20 Maciej W. Rozycki <macro@mips.com>
133
134 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
135 ISA maintenance.
136
3391569f
NC
1372018-07-20 Nick Clifton <nickc@redhat.com>
138
139 * objcopy.c (add_specific_symbols): Free buffer on exit.
140 (add_redefine_syms_file): Close file handle on exit.
141 (copy_object): Close file handle on early exit.
142 Free buffer on early exit.
143 Free gaps buffers once they are no longer needed.
144 * dwarf.c (display_debug_frames): Free allocated memory on exit.
145 (load_separate_debug_info): Free allocate memory on early exit.
146
8095d2f7
CX
1472018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
148 Maciej W. Rozycki <macro@mips.com>
149
150 * readelf.c (print_mips_ases): Add MMI extension.
151
79f5b65e
DD
1522018-07-19 DJ Delorie <dj@redhat.com>
153
154 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
155
442a6ce8
NC
1562018-07-19 Nick Clifton <nickc@redhat.com>
157
158 * dwarf.c (read_cie): Free allocated memory before returning with
159 a failure result.
160
3fd21718
PFC
1612018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
162
163 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
164 description.
165
ad96220c
NC
1662018-07-16 Nick Clifton <nickc@redhat.com>
167
168 * README-how-to-make-a-release: Add note to check for new top
169 level files and add them to the src-release.sh script.
170
6cb624f8
NC
1712018-07-14 Nick Clifton <nickc@redhat.com>
172
173 * README-how-to-make-a-release: Updated with corrections based on
174 the 2.31 release experience.
175
55cc53e9
FT
1762018-07-12 Francois H. Theron <francois.theron@netronome.com>
177
178 * readelf.c (process_section_headers): Don't print section type
179 twice for --section-details.
180
be570f06
AM
1812018-07-10 Alan Modra <amodra@gmail.com>
182
183 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
184 zero for xgate.
185
d20e98ab
NC
1862018-07-06 Nick Clifton <nickc@redhat.com>
187
188 * readelf.c (same_section): New function.
189 (print_gnu_build_attribute_description): Do not complain about
190 gaps that cross a section boundary.
191
d8dab054
NC
1922018-07-05 Nick Clifton <nickc@redhat.com>
193
194 * po/bg.po: Updated Bulgarian translation.
195
a05a5b64
TP
1962018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
197
198 * NEWS: Use command-line consistently when used in a compount word.
199 * doc/binutils.texi: Likewise and fix trailing whitespace on same
200 line.
201
30aa1306
NC
2022018-06-26 Nick Clifton <nickc@redhat.com>
203
204 * po/sv.po: Updated Swedish translation.
205 * po/uk.po: Updated Ukranian translation.
206
eca4b721
NC
2072018-06-26 Nick Clifton <nickc@redhat.com>
208
209 * doc/binutils.texi: Fix spelling mistakes.
210 * README--how-to-make-a-release: Likewise.
211
1021d1cb
TT
2122018-06-25 Tom Tromey <tom@tromey.com>
213
214 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
215 Bump version number.
216
71300e2c
NC
2172018-06-24 Nick Clifton <nickc@redhat.com>
218
219 * README-how-to-make-a-release: Update with experiences from
220 making 2.31 branch.
221 * po/binutils.pot: Regenerate.
222 * configure: Regenerate.
223
719d8288
NC
2242018-06-24 Nick Clifton <nickc@redhat.com>
225
226 2.31 branch created.
227 * NEWS: Add marker for 2.31.
228
d388f643
AM
2292018-06-21 Alan Modra <amodra@gmail.com>
230
231 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
232 * doc/Makefile.in: Regenerate.
233
d0ac1c44
SM
2342018-06-19 Simon Marchi <simon.marchi@ericsson.com>
235
236 * configure.ac: Remove AC_PREREQ.
237 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
238 info-in-builddir no-texinfo.tex.
239 * Makefile.in: Re-generate.
240 * aclocal.m4: Re-generate.
241 * config.in: Re-generate.
242 * configure: Re-generate.
243 * doc/Makefile.in: Re-generate.
244
3a075e56
AS
2452018-06-19 Andreas Schwab <schwab@suse.de>
246
247 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
248 (is_8bit_abs_reloc): New function.
249 (is_6bit_abs_reloc): New function.
250 (is_6bit_inplace_sub_reloc): New function.
251 (apply_relocations): Use them. Handle 6-bit relocations.
252
6f20c942
FS
2532018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
254
255 * readelf.c (print_mips_ases): Add GINV extension.
256
1f6f5dba
L
2572018-06-14 H.J. Lu <hongjiu.lu@intel.com>
258
259 PR binutils/23267
260 * readelf.c (get_symbol_version_string): Check if the first
261 symbol version is base version.
262
730c3174
SE
2632018-06-13 Scott Egerton <scott.egerton@imgtec.com>
264 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
265
266 * readelf.c (print_mips_ases): Add CRC.
267
7a486e6d
NC
2682018-06-13 Nick Clifton <nickc@redhat.com>
269
270 * doc/binutils.texi (objdump): Add missing closing square
271 parenthesis to listing of objcopy's command line options.
272
5a485b38
NC
2732018-06-11 Nick Clifton <nickc@redhat.com>
274
275 * po/es.po: Updated Spanish translation.
276
55e99962
L
2772018-06-01 H.J. Lu <hongjiu.lu@intel.com>
278
279 * configure: Regenerated.
280
0034eed0
AM
2812018-05-31 Alan Modra <amodra@gmail.com>
282
283 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
284 set CC_FOR_TARGET. Run test non-native.
285 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
286 Likewise.
287 (test_follow_debuglink): Run test non-native.
288
1869e86f
AB
2892018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
290
291 PR 23107
292 * ar.c (display_offsets): New variable.
293 (usage): Add description of 'O' operator.
294 (decode_option): Handle 'O' operator.
295 (print_descr): Pass display_offsets to print_arelt_descr.
296 * arsup.c: Update call to printy_arelt_descr.
297 * objdump.c: Likewise.
298 * bucomm.c (print_arelt_descr): If offsets parameter is true then
299 display offset of archive element within the archive.
300 * bucomm.h: Update prototype for print_arelt_descr.
301 * doc/binutils.texi: Update description of ar command.
302 * NEWS: Mention the new feature.
303 * testsuite/binutils-all/ar.exp: Add text of new feature.
304
bb3b5316
AM
3052018-05-28 Alan Modra <amodra@gmail.com>
306
307 PR 23235
308 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
309 unsupported rather than fail on compile errors.
310 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
311 Likewise. Save and restore CFLAGS_FOR_TARGET.
312
7f999549
JW
3132018-05-18 Kito Cheng <kito.cheng@gmail.com>
314
315 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
316
7b4ae824
JD
3172018-05-18 John Darrington <john@darrington.wattle.id.au>
318
319 * readelf.c: Add support for s12z architecture.
320 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
321 targets.
322
f9830ec1
TC
3232018-05-15 Tamar Christina <tamar.christina@arm.com>
324
325 PR binutils/21446
326 * doc/binutils.texi (-M): Document AArch64 options.
327
7d02540a
TC
3282018-05-15 Tamar Christina <tamar.christina@arm.com>
329
330 PR binutils/21446
331 * doc/binutils.texi (-M): Document AArch64 options.
332 * NEWS: Document notes and warnings.
333
679ca975
AM
3342018-05-15 Alan Modra <amodra@gmail.com>
335
336 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
337 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
338 and *uclinux* into *linux*.
339 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
340 strip-13 test, exclude arm-vxworks and arm-windiss.
341
637b1970
JD
3422018-05-10 John Darrington <john@darrington.wattle.id.au>
343
344 * readelf.c (get_machine_name): EM_S12Z - handle new case.
345
60cb2c8a
AM
3462018-05-09 Alan Modra <amodra@gmail.com>
347
348 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
349
84f9f8c3
AM
3502018-05-09 Sebastian Rasmussen <sebras@gmail.com>
351
352 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
353
886d5428
AM
3542018-05-08 Alan Modra <amodra@gmail.com>
355
356 PR 23141
357 * objcopy.c (is_strip_section): Strip groups without a valid
358 signature symbol.
359
ce4ec1a9
AM
3602018-05-07 Alan Modra <amodra@gmail.com>
361
362 PR 23142
363 * objcopy.c (group_signature): Don't accept groups that use a
364 symbol table other than the one we've read.
365
fe944acf
FT
3662018-04-30 Francois H. Theron <francois.theron@netronome.com>
367
368 * readelf.c: Very basic support for EM_NFP and its section types.
369 * testsuite/binutils-all/nfp: New directory.
370 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
371 tests.
372 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
373 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
374 * testsuite/binutils-all/nfp/test1.d: New file.
375 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
376 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
377 * NEWS: Mention the new support.
378
6d9dabbb
MR
3792018-04-27 Maciej W. Rozycki <macro@mips.com>
380
381 * testsuite/lib/binutils-common.exp (match_target): New procedure.
382 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
383 of `istarget' for matching with `target', `not-target', `skip'
384 and `not-skip' options.
385
0df8ad28
NC
3862018-04-26 Nick Clifton <nickc@redhat.com>
387
388 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
389 32-bit absolute reloc for the HPPA target.
390 * testsuite/binutils-all/note-5.d: New test.
391 * testsuite/binutils-all/note-5.s: Source file for new test.
392 * testsuite/binutils-all/objcopy.exp: Run new test.
393
f1ac0afe
CL
3942018-04-25 Christophe Lyon <christophe.lyon@st.com>
395
396 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
397 * testsuite/binutils-all/elfedit-3.d: Likewise.
398 * testsuite/binutils-all/objcopy.exp: Likewise.
399 * testsuite/binutils-all/strip-3.d: Likewise.
400 * testsuite/lib/binutils-common.exp: Likewise.
401
18a20338
CL
4022018-04-25 Christophe Lyon <christophe.lyon@st.com>
403 Mickaël Guêné <mickael.guene@st.com>
404
405 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
406 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
407
2ac93be7
AM
4082018-04-25 Alan Modra <amodra@gmail.com>
409
410 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
411 arm-coff support.
412 * testsuite/binutils-all/objcopy.exp: Likewise.
413 * testsuite/lib/binutils-common.exp: Likewise.
414
a7504f87
NC
4152018-04-18 Nick Clifton <nickc@redhat.com>
416
417 PR 23062
418 * dwarf.c (read_and_display_attr_value): Replace assertions with
419 test and warning message.
420
c65c21e1
AM
4212018-04-18 Alan Modra <amodra@gmail.com>
422
423 * testsuite/lib/binutils-common.exp: Remove support for assorted
424 aout targets.
425
6aea08d9
NC
4262018-04-17 Nick Clifton <nickc@redhat.com>
427
c4a91159 428 PR 23063
56d8f8a9
NC
429 * readelf.c (print_symbol): If the width is zero, return straight
430 away.
431
6aea08d9
NC
432 PR 23064
433 * dwarf.c (process_cu_tu_index): Test for a potential buffer
434 overrun before copying signature pointer.
435
f954747f
AM
4362018-04-17 Alan Modra <amodra@gmail.com>
437
438 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
439
d7867d17
AM
4402018-04-16 Alan Modra <amodra@gmail.com>
441
442 * readelf.c (get_machine_name): Correct typo.
443
ddb00039
AM
4442018-04-16 Alan Modra <amodra@gmail.com>
445
446 * configure.ac: Remove arm-epoc-pe support.
447 * dlltool.c: Likewise.
448 * configure: Regenerate.
449
c9098af4
AM
4502018-04-16 Alan Modra <amodra@gmail.com>
451
452 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
453 sparc-coff support.
454
dc12032b
AM
4552018-04-16 Alan Modra <amodra@gmail.com>
456
457 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
458 support.
459 * testsuite/binutils-all/copy-3.d: Likewise.
460 * testsuite/binutils-all/objcopy.exp: Likewise.
461 * testsuite/lib/binutils-common.exp: Likewise.
462
211dc24b
AM
4632018-04-16 Alan Modra <amodra@gmail.com>
464
465 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
466
a9a4b302
AM
4672018-04-16 Alan Modra <amodra@gmail.com>
468
469 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
470
04cb01fd
AM
4712018-04-16 Alan Modra <amodra@gmail.com>
472
473 * testsuite/binutils-all/objdump.exp: Remove we32k support.
474
c2bf1eec
AM
4752018-04-16 Alan Modra <amodra@gmail.com>
476
477 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
478 * testsuite/binutils-all/objdump.exp: Remove m88k support.
479
6793974d
AM
4802018-04-16 Alan Modra <amodra@gmail.com>
481
482 * readelf.c: Remove i370 support.
483 * testsuite/binutils-all/objdump.exp: Likewise.
484
e82aa794
AM
4852018-04-16 Alan Modra <amodra@gmail.com>
486
487 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
488 * testsuite/lib/binutils-common.exp: Likewise.
489
fe0bf0fd
AM
4902018-04-16 Alan Modra <amodra@gmail.com>
491
492 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
493
fdef3943
AM
4942018-04-16 Alan Modra <amodra@gmail.com>
495
496 * Makefile.am: Remove IEEE 695 support.
497 * budbg.h: Likewise.
498 * doc/binutils.texi: Likewise.
499 * makefile.vms: Likewise.
500 * objcopy.c: Likewise.
501 * objdump.c: Likewise.
502 * rddbg.c: Likewise.
503 * ieee.c: Delete.
504 * Makefile.in: Regenerate.
505 * po/POTFILES.in: Regenerate.
506
5972ac73
AM
5072018-04-16 Alan Modra <amodra@gmail.com>
508
509 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
510 * testsuite/binutils-all/nm.exp: Likewise.
511
b4b594e3
AM
5122018-04-16 Alan Modra <amodra@gmail.com>
513
514 * .gitignore: Remove netware support.
515 * Makefile.am: Likewise.
516 * configure.ac: Likewise.
517 * doc/Makefile.am: Likewise.
518 * doc/binutils.texi: Likewise.
519 * testsuite/binutils-all/nm.exp: Likewise.
520 * nlmconv.c: Delete.
521 * nlmconv.h: Delete.
522 * nlmheader.y: Delete.
523 * Makefile.in: Regenerate.
524 * configure: Regenerate.
525 * doc/Makefile.in: Regenerate.
526 * po/POTFILES.in: Regenerate.
527
fceadf09
AM
5282018-04-16 Alan Modra <amodra@gmail.com>
529
530 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
531
fb70ec17
AM
5322018-04-14 Alan Modra <amodra@gmail.com>
533
534 * readelf.c (get_machine_name): Revert 2018-04-11 change.
535
86c6c6df
NC
5362018-04-12 Nick Clifton <nickc@redhat.com>
537
538 PR 23050
539 * readelf.c (process_dynamic_section): Correct dynamic string
540 table size calculation.
541
a8eb42a8
AM
5422018-04-11 Alan Modra <amodra@gmail.com>
543
544 * ieee.c: Remove i960 support.
545 * od-macho.c: Remove i860 support.
546 * readelf.c: Remove i860 and i960 support.
547 * testsuite/binutils-all/objcopy.exp: Likewise.
548 * testsuite/binutils-all/objdump.exp: Likewise.
549 * testsuite/lib/binutils-common.exp: Likewise.
550
c43b2c54
MR
5512018-04-11 Maciej W. Rozycki <macro@mips.com>
552
553 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
554 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
555
d4ae1932
AM
5562018-04-10 Alan Modra <amodra@gmail.com>
557
558 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
559 reloc=11 for pru and reloc=50 for nds32.
560 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
561
d52e3d06
MR
5622018-04-09 Maciej W. Rozycki <macro@mips.com>
563
564 * testsuite/binutils-all/strip-15.d: New test.
565 * testsuite/binutils-all/strip-15rel.s: New test source.
566 * testsuite/binutils-all/strip-15rela.s: New test source.
567 * testsuite/binutils-all/strip-15mips64.s: New test source.
568 * testsuite/binutils-all/objcopy.exp: Run the new test.
569
3f97ba9f
MR
5702018-04-09 Maciej W. Rozycki <macro@mips.com>
571
572 * testsuite/binutils-all/strip-14.d: New test.
573 * testsuite/binutils-all/strip-14rel.s: New test source.
574 * testsuite/binutils-all/strip-14rela.s: New test source.
575 * testsuite/binutils-all/strip-14mips64.s: New test source.
576 * testsuite/binutils-all/objcopy.exp: Run the new test.
577
2008a0db
TT
5782018-04-06 Tom Tromey <tom@tromey.com>
579
580 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
581 constants from DWARF 5.
582
3cba8b6c
L
5832018-04-05 H.J. Lu <hongjiu.lu@intel.com>
584
585 PR gas/22318
586 * configure: Regenerated.
587
2d8c1a23
MR
5882018-04-05 Maciej W. Rozycki <macro@mips.com>
589
590 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
591 than `.dc.w' in second relocation.
592
65bd2045
MR
5932018-04-05 Maciej W. Rozycki <macro@mips.com>
594
595 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
596 relocation type 0x8f' error message.
597
2f8ceb38
MR
5982018-04-05 Maciej W. Rozycki <macro@mips.com>
599
600 * testsuite/binutils-all/strip-13.s: Rename to...
601 * testsuite/binutils-all/strip-13rela.s: ... this.
602 * testsuite/binutils-all/strip-13rel.s: New test source.
603 * testsuite/binutils-all/strip-13mips64.s: New test source.
604 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
605 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
606 `m68hc11-*' to `not-target' list.
607 * testsuite/binutils-all/objcopy.exp: Switch between sources for
608 `strip-13'.
609
aad7be45
MR
6102018-04-05 Maciej W. Rozycki <macro@mips.com>
611
612 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
613 241 (0xf1) for the relocation number and RELA addend.
614 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
615 `not-target' list.
616
89f60df2
JDA
6172018-04-04 John David Anglin <danglin@gcc.gnu.org>
618
619 * MAINTAINERS: Update my e-mail address.
620
f1ca0d6d
NC
6212018-04-04 Nick Clifton <nickc@redhat.com>
622
623 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
624
8fd75781
NC
6252018-03-23 Nick Clifton <nickc@redhat.com>
626
627 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
628 symbols.
629 (print_gnu_build_attribute_description): If no file start symbol
630 could be found, look for one two bytes into the file.
631 * testsuite/binutils-all/note-4-64.s: Set the address of the file
632 start symbol to two bytes into the file.
633 * testsuite/binutils-all/note-4-32.s: Likewise.
634
b1202ffa
L
6352018-03-21 H.J. Lu <hongjiu.lu@intel.com>
636
637 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
638 DF_1_WEAKFILTER and DF_1_NOCOMMON.
639
7e100140
NC
6402018-03-20 Nick Clifton <nickc@redhat.com>
641
642 * po/es.po: Updated Spanish translation.
643 * po/ru.po: Updated Russian translation.
644
e45ad123
NC
6452018-03-13 Nick Clifton <nickc@redhat.com>
646
647 PR 22957
648 * stabs.c (pop_binincl): Fail if the file index is off the end of
649 the stack.
650
81db3241
NC
6512018-03-13 Nick Clifton <nickc@redhat.com>
652
653 PR 22955
654 * stabs.c (parse_number): Add p_end parameter and use it to check
655 the validity of the pp parameter. Add checks to prevent walking
656 off the end of the string buffer.
657 (parse_stab_string): Likewise.
658 (parse_stab_type): Likewise.
659 (parse_stab_type_number): Likewise.
660 (parse_stab_range_type): Likewise.
661 (parse_stab_sun_builtin_type): Likewise.
662 (parse_stab_sun_floating_type): Likewise.
663 (parse_stab_enum_type): Likewise.
664 (parse_stab_struct_type): Likewise.
665 (parse_stab_baseclasses): Likewise.
666 (parse_stab_struct_fields): Likewise.
667 (parse_stab_cpp_abbrev): Likewise.
668 (parse_stab_one_struct_field): Likewise.
669 (parse_stab_members): Likewise.
670 (parse_stab_tilde_field): Likewise.
671 (parse_stab_array_type): Likewise.
e45ad123 672
81db3241
NC
673 * parse_stab: Compute the end of the string and then pass it on to
674 individual parser functions.
675
6d4f21f6
PP
6762018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
677
678 PR binutils/22923
679 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
680 overflow.
681
52fe4420
AM
6822018-03-07 Alan Modra <amodra@gmail.com>
683
684 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
685 * configure: Regenerate.
686
0e70b27b
L
6872018-03-05 H.J. Lu <hongjiu.lu@intel.com>
688
689 PR binutils/22911
690 * objdump.c (is_significant_symbol_name): Return TRUE for all
691 .plt* sections.
692 (find_symbol_for_address): Replace linear search with binary
693 search on dynamic relocations.
694
d11ae95e
NC
6952018-03-01 Nick Clifton <nickc@redhat.com>
696
697 PR 22905
698 * dwarf.c (display_debug_ranges): Check that the offset loaded
699 from the range_entry structure is valid.
700
e184813f
AM
7012018-03-01 Alan Modra <amodra@gmail.com>
702
703 * configure.ac (ALL_LINGUAS): Add sr. Sort.
704 * configure: Regenerate.
705
bc7c0509
NC
7062018-02-27 Nick Clifton <nickc@redhat.com>
707
708 * po/pt.po: New Portuguese translation.
709 * configure.ac (ALL_LINGUAS): Add pt.
710 * configure: Regenerate.
711
f3185997
NC
7122018-02-27 Nick Clifton <nickc@redhat.com>
713
714 PR 22875
715 * objcopy.c (copy_object): Check the error status after marking
716 symbols used in relocations.
717 * testsuite/binutils-all/strip-13.s: New test source file.
718 * testsuite/binutils-all/strip-13.s: New test driver file.
719 * testsuite/binutils-all/objcopy.exp: Run the new test.
720
2c1c9679
AM
7212018-02-26 Alan Modra <amodra@gmail.com>
722
723 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
724 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
725
6e05870c
AM
7262018-02-23 Alan Modra <amodra@gmail.com>
727
728 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
729 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
730
b0ab9c45
RH
7312018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
732
733 * doc/binutils.texi (objcopy): Add missing closing square
734 parenthesis to listing of objcopy's command line options.
735
e535d0dd
MK
7362018-02-19 Matthias Klose <doko@debian.org>
737
738 * strings.c (long_options): Include-all-whitespace does not take
739 an extra agument.
740
6e5e9d58
AM
7412018-02-13 Alan Modra <amodra@gmail.com>
742
743 PR 22836
744 * testsuite/binutils-all/group-7.s,
745 * testsuite/binutils-all/group-7a.d,
746 * testsuite/binutils-all/group-7b.d,
747 * testsuite/binutils-all/group-7c.d: New tests.
748 * testsuite/binutils-all/objcopy.exp: Run them.
749
8de3a6e2
NC
7502018-02-08 Nick Clifton <nickc@redhat.com>
751
752 PR 22802
753 * dwarf.c (load_separate_debug_file): Return early if the user is
754 not interested in debug links.
755
68807c3c
NC
7562018-02-06 Nick Clifton <nickc@redhat.com>
757
758 PR 22793
759 * readelf.c (find_section): Replace assertion with test and return
760 of NULL.
761 (find_section_by_address): Add test of section header table
762 existance.
763 (find_section_by_type): Likewise.
764 (find_section_in_set): Likewise.
765
2d6dda71
MR
7662018-02-05 Maciej W. Rozycki <macro@mips.com>
767
768 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
769 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
770 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
771 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
772
78c88364
MR
7732018-02-05 Maciej W. Rozycki <macro@mips.com>
774
775 * testsuite/config/default.exp (binutils_run): Document
776 `binutils_run_status'.
777 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
778 and set it.
779 (run_dump_test): Add `error', `error_output', `warning' and
780 `warning_output' options. Update documentation accordingly.
781
5bb0830d
AB
7822018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * dwarf.c (dwarf_regnames_riscv): New register name table.
785 (init_dwarf_regnames_riscv): New function.
786 (init_dwarf_regnames): Add call to initialise RiscV register
787 names.
788 * dwarf.h (init_dwarf_regnames_riscv): Declare.
789 * objdump.c (dump_dwarf): Add call to initialise RiscV register
790 names.
791
f2023ce7
AM
7922018-02-01 Alan Modra <amodra@gmail.com>
793
794 PR 22769
795 * objdump.c (load_specific_debug_section): Check for overflow
796 when adding one to section size for a string section terminator.
797
fcabedd5
NC
7982018-01-30 Nick Clifton <nickc@redhat.com>
799
800 PR 22734
801 * doc/binutils.texi (nm): Update description to point out that
802 zero-initialized values can also be shown as type B, b, S or s
803 since they can be stored in the BSS section.
804
f49db8be
AM
8052018-01-30 Alan Modra <amodra@gmail.com>
806
807 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
808 "artificially large" end address.
809
a8d6d6ac
NC
8102018-01-28 Nick Clifton <nickc@redhat.com>
811
812 * README-how-to-make-a-release: Add note about checking gpg key
813 and the results of gnupload.
814
9a5db26e
NC
8152018-01-27 Nick Clifton <nickc@redhat.com>
816
817 * README-how-to-make-a-release: Add details on how to actually
818 make the release.
819
94c2436b
NC
8202018-01-26 Nick Clifton <nickc@redhat.com>
821
822 * README-how-to-make-a-release: Add more details on updating
823 version numbers.
824
1ea332d6
MR
8252018-01-22 Maciej W. Rozycki <macro@mips.com>
826
827 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
828 option description.
829
d65ce302
MR
8302018-01-22 Maciej W. Rozycki <macro@mips.com>
831
832 * MAINTAINERS: Update my company e-mail address.
833
f433138f
NC
8342018-01-22 Nick Clifton <nickc@redhat.com>
835
836 * po/sv.po: Updated Swedish translation.
837
7ab82037
NC
8382018-01-18 Nick Clifton <nickc@redhat.com>
839
840 * po/bg.po: Updated Bulgarian translation.
841
0dd86f32
JB
8422018-01-16 Joel Brobecker <brobecker@adacore.com>
843
844 * README-how-to-make-a-release: Add reminder to update the
845 branch name in gdbadmin's crontab on sourceware.
846
a960d29f
JB
8472018-01-16 Joel Brobecker <brobecker@adacore.com>
848
849 * README-how-to-make-a-release: Remove trailing spaces.
850
f6efed01
NC
8512018-01-16 Nick Clifton <nickc@redhat.com>
852
853 * po/fr.po: Updated French translation.
854
616dcb87
NC
8552018-01-15 Nick Clifton <nickc@redhat.com>
856
857 * po/uk.po: Updated Ukranian translation.
858
3957a496
NC
8592018-01-13 Nick Clifton <nickc@redhat.com>
860
19e2900b 861 * README-how-to-make-a-release: Update notes.
3957a496
NC
862 * po/binutils.pot: Regenerated.
863
769c7ea5
NC
8642018-01-13 Nick Clifton <nickc@redhat.com>
865
866 * configure: Regenerate.
867
9176ac5b
NC
8682018-01-13 Nick Clifton <nickc@redhat.com>
869
faf766e3 870 2.30 branch created.
9176ac5b
NC
871 * NEWS: Add marker for 2.30.
872
98ab9e96
NC
8732018-01-12 Nick Clifton <nickc@redhat.com>
874
875 * README-how-to-make-a-release: Add notes on how to make the
876 branch and prelease snapshot.
877 * BRANCHES: Add binutils-2_29-branch.
878
bf41f30d
NC
8792018-01-10 Nick Clifton <nickc@redhat.com>
880
881 * MAINTAINERS: Note that it is now the configure.ac file and not
882 the configure.in file that needs to be kept in sync with gcc.
883 Add a note about sending patches for libiberty to gcc.
884
f13974bd
NC
8852018-01-03 Nick Clifton <nickc@redhat.com>
886
887 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
888 constants.
889
6f156d7a
NC
8902018-01-03 Nick Clifton <nickc@redhat.com>
891
892 * objcopy.c (objcopy_internal_note): New structure.
893 (gap_exists): New function.
894 (is_open_note): New function.
895 (is_func_note): New function.
896 (is_64bit): New function.
897 (merge_gnu_build_notes): Handle v3 notes. Do not merge
898 if there are relocations against the notes.
899 * readelf.c (get_note_type): Use short names for build attribute
900 notes.
901 (print_symbol_for_build_attribute): Rename to
902 get_symbol_for_build_attribute. Returns the found symbol rather
903 than printing it.
904 (print_gnu_build_attribute_description): Maintain address ranges
905 for function notes as well as global notes. Handle v3 notes.
906 (print_gnu_build_attribute_name): Use more space for printing the
907 name in wide mode.
908 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
909 Eliminate symbol references in order to remove the need for
910 relocations.
911 * testsuite/binutils-all/note-2-64.s: Likewise.
912 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
913 symbol.
914 * testsuite/binutils-all/note-3-64.s: Likewise.
915 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
916 output.
917 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
918 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
919 * testsuite/binutils-all/note-2-32.d: Likewise.
920 * testsuite/binutils-all/note-2-64.d: Likewise.
921 * testsuite/binutils-all/note-3-32.d: Likewise.
922 * testsuite/binutils-all/note-3-64.d: Likewise.
923 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
924 * testsuite/binutils-all/note-4-32.s: New test.
925 * testsuite/binutils-all/note-4-64.d: New test result file.
926 * testsuite/binutils-all/note-4-32.d: New test result file.
927
219d1afa
AM
9282018-01-03 Alan Modra <amodra@gmail.com>
929
930 Update year range in copyright notice of all files.
931
1e563868 932For older changes see ChangeLog-2017
3499769a 933\f
1e563868 934Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
935
936Copying and distribution of this file, with or without modification,
937are permitted in any medium without royalty provided the copyright
938notice and this notice are preserved.
939
940Local Variables:
941mode: change-log
942left-margin: 8
943fill-column: 74
944version-control: never
945End: