Extend the assembler so that it can automatically generate GNU Build attribute notes...
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
0df8ad28
NC
12018-04-26 Nick Clifton <nickc@redhat.com>
2
3 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
4 32-bit absolute reloc for the HPPA target.
5 * testsuite/binutils-all/note-5.d: New test.
6 * testsuite/binutils-all/note-5.s: Source file for new test.
7 * testsuite/binutils-all/objcopy.exp: Run new test.
8
f1ac0afe
CL
92018-04-25 Christophe Lyon <christophe.lyon@st.com>
10
11 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
12 * testsuite/binutils-all/elfedit-3.d: Likewise.
13 * testsuite/binutils-all/objcopy.exp: Likewise.
14 * testsuite/binutils-all/strip-3.d: Likewise.
15 * testsuite/lib/binutils-common.exp: Likewise.
16
18a20338
CL
172018-04-25 Christophe Lyon <christophe.lyon@st.com>
18 Mickaël Guêné <mickael.guene@st.com>
19
20 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
21 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
22
2ac93be7
AM
232018-04-25 Alan Modra <amodra@gmail.com>
24
25 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
26 arm-coff support.
27 * testsuite/binutils-all/objcopy.exp: Likewise.
28 * testsuite/lib/binutils-common.exp: Likewise.
29
a7504f87
NC
302018-04-18 Nick Clifton <nickc@redhat.com>
31
32 PR 23062
33 * dwarf.c (read_and_display_attr_value): Replace assertions with
34 test and warning message.
35
c65c21e1
AM
362018-04-18 Alan Modra <amodra@gmail.com>
37
38 * testsuite/lib/binutils-common.exp: Remove support for assorted
39 aout targets.
40
6aea08d9
NC
412018-04-17 Nick Clifton <nickc@redhat.com>
42
c4a91159 43 PR 23063
56d8f8a9
NC
44 * readelf.c (print_symbol): If the width is zero, return straight
45 away.
46
6aea08d9
NC
47 PR 23064
48 * dwarf.c (process_cu_tu_index): Test for a potential buffer
49 overrun before copying signature pointer.
50
f954747f
AM
512018-04-17 Alan Modra <amodra@gmail.com>
52
53 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
54
d7867d17
AM
552018-04-16 Alan Modra <amodra@gmail.com>
56
57 * readelf.c (get_machine_name): Correct typo.
58
ddb00039
AM
592018-04-16 Alan Modra <amodra@gmail.com>
60
61 * configure.ac: Remove arm-epoc-pe support.
62 * dlltool.c: Likewise.
63 * configure: Regenerate.
64
c9098af4
AM
652018-04-16 Alan Modra <amodra@gmail.com>
66
67 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
68 sparc-coff support.
69
dc12032b
AM
702018-04-16 Alan Modra <amodra@gmail.com>
71
72 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
73 support.
74 * testsuite/binutils-all/copy-3.d: Likewise.
75 * testsuite/binutils-all/objcopy.exp: Likewise.
76 * testsuite/lib/binutils-common.exp: Likewise.
77
211dc24b
AM
782018-04-16 Alan Modra <amodra@gmail.com>
79
80 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
81
a9a4b302
AM
822018-04-16 Alan Modra <amodra@gmail.com>
83
84 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
85
04cb01fd
AM
862018-04-16 Alan Modra <amodra@gmail.com>
87
88 * testsuite/binutils-all/objdump.exp: Remove we32k support.
89
c2bf1eec
AM
902018-04-16 Alan Modra <amodra@gmail.com>
91
92 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
93 * testsuite/binutils-all/objdump.exp: Remove m88k support.
94
6793974d
AM
952018-04-16 Alan Modra <amodra@gmail.com>
96
97 * readelf.c: Remove i370 support.
98 * testsuite/binutils-all/objdump.exp: Likewise.
99
e82aa794
AM
1002018-04-16 Alan Modra <amodra@gmail.com>
101
102 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
103 * testsuite/lib/binutils-common.exp: Likewise.
104
fe0bf0fd
AM
1052018-04-16 Alan Modra <amodra@gmail.com>
106
107 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
108
fdef3943
AM
1092018-04-16 Alan Modra <amodra@gmail.com>
110
111 * Makefile.am: Remove IEEE 695 support.
112 * budbg.h: Likewise.
113 * doc/binutils.texi: Likewise.
114 * makefile.vms: Likewise.
115 * objcopy.c: Likewise.
116 * objdump.c: Likewise.
117 * rddbg.c: Likewise.
118 * ieee.c: Delete.
119 * Makefile.in: Regenerate.
120 * po/POTFILES.in: Regenerate.
121
5972ac73
AM
1222018-04-16 Alan Modra <amodra@gmail.com>
123
124 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
125 * testsuite/binutils-all/nm.exp: Likewise.
126
b4b594e3
AM
1272018-04-16 Alan Modra <amodra@gmail.com>
128
129 * .gitignore: Remove netware support.
130 * Makefile.am: Likewise.
131 * configure.ac: Likewise.
132 * doc/Makefile.am: Likewise.
133 * doc/binutils.texi: Likewise.
134 * testsuite/binutils-all/nm.exp: Likewise.
135 * nlmconv.c: Delete.
136 * nlmconv.h: Delete.
137 * nlmheader.y: Delete.
138 * Makefile.in: Regenerate.
139 * configure: Regenerate.
140 * doc/Makefile.in: Regenerate.
141 * po/POTFILES.in: Regenerate.
142
fceadf09
AM
1432018-04-16 Alan Modra <amodra@gmail.com>
144
145 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
146
fb70ec17
AM
1472018-04-14 Alan Modra <amodra@gmail.com>
148
149 * readelf.c (get_machine_name): Revert 2018-04-11 change.
150
86c6c6df
NC
1512018-04-12 Nick Clifton <nickc@redhat.com>
152
153 PR 23050
154 * readelf.c (process_dynamic_section): Correct dynamic string
155 table size calculation.
156
a8eb42a8
AM
1572018-04-11 Alan Modra <amodra@gmail.com>
158
159 * ieee.c: Remove i960 support.
160 * od-macho.c: Remove i860 support.
161 * readelf.c: Remove i860 and i960 support.
162 * testsuite/binutils-all/objcopy.exp: Likewise.
163 * testsuite/binutils-all/objdump.exp: Likewise.
164 * testsuite/lib/binutils-common.exp: Likewise.
165
c43b2c54
MR
1662018-04-11 Maciej W. Rozycki <macro@mips.com>
167
168 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
169 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
170
d4ae1932
AM
1712018-04-10 Alan Modra <amodra@gmail.com>
172
173 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
174 reloc=11 for pru and reloc=50 for nds32.
175 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
176
d52e3d06
MR
1772018-04-09 Maciej W. Rozycki <macro@mips.com>
178
179 * testsuite/binutils-all/strip-15.d: New test.
180 * testsuite/binutils-all/strip-15rel.s: New test source.
181 * testsuite/binutils-all/strip-15rela.s: New test source.
182 * testsuite/binutils-all/strip-15mips64.s: New test source.
183 * testsuite/binutils-all/objcopy.exp: Run the new test.
184
3f97ba9f
MR
1852018-04-09 Maciej W. Rozycki <macro@mips.com>
186
187 * testsuite/binutils-all/strip-14.d: New test.
188 * testsuite/binutils-all/strip-14rel.s: New test source.
189 * testsuite/binutils-all/strip-14rela.s: New test source.
190 * testsuite/binutils-all/strip-14mips64.s: New test source.
191 * testsuite/binutils-all/objcopy.exp: Run the new test.
192
2008a0db
TT
1932018-04-06 Tom Tromey <tom@tromey.com>
194
195 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
196 constants from DWARF 5.
197
3cba8b6c
L
1982018-04-05 H.J. Lu <hongjiu.lu@intel.com>
199
200 PR gas/22318
201 * configure: Regenerated.
202
2d8c1a23
MR
2032018-04-05 Maciej W. Rozycki <macro@mips.com>
204
205 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
206 than `.dc.w' in second relocation.
207
65bd2045
MR
2082018-04-05 Maciej W. Rozycki <macro@mips.com>
209
210 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
211 relocation type 0x8f' error message.
212
2f8ceb38
MR
2132018-04-05 Maciej W. Rozycki <macro@mips.com>
214
215 * testsuite/binutils-all/strip-13.s: Rename to...
216 * testsuite/binutils-all/strip-13rela.s: ... this.
217 * testsuite/binutils-all/strip-13rel.s: New test source.
218 * testsuite/binutils-all/strip-13mips64.s: New test source.
219 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
220 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
221 `m68hc11-*' to `not-target' list.
222 * testsuite/binutils-all/objcopy.exp: Switch between sources for
223 `strip-13'.
224
aad7be45
MR
2252018-04-05 Maciej W. Rozycki <macro@mips.com>
226
227 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
228 241 (0xf1) for the relocation number and RELA addend.
229 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
230 `not-target' list.
231
89f60df2
JDA
2322018-04-04 John David Anglin <danglin@gcc.gnu.org>
233
234 * MAINTAINERS: Update my e-mail address.
235
f1ca0d6d
NC
2362018-04-04 Nick Clifton <nickc@redhat.com>
237
238 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
239
8fd75781
NC
2402018-03-23 Nick Clifton <nickc@redhat.com>
241
242 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
243 symbols.
244 (print_gnu_build_attribute_description): If no file start symbol
245 could be found, look for one two bytes into the file.
246 * testsuite/binutils-all/note-4-64.s: Set the address of the file
247 start symbol to two bytes into the file.
248 * testsuite/binutils-all/note-4-32.s: Likewise.
249
b1202ffa
L
2502018-03-21 H.J. Lu <hongjiu.lu@intel.com>
251
252 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
253 DF_1_WEAKFILTER and DF_1_NOCOMMON.
254
7e100140
NC
2552018-03-20 Nick Clifton <nickc@redhat.com>
256
257 * po/es.po: Updated Spanish translation.
258 * po/ru.po: Updated Russian translation.
259
e45ad123
NC
2602018-03-13 Nick Clifton <nickc@redhat.com>
261
262 PR 22957
263 * stabs.c (pop_binincl): Fail if the file index is off the end of
264 the stack.
265
81db3241
NC
2662018-03-13 Nick Clifton <nickc@redhat.com>
267
268 PR 22955
269 * stabs.c (parse_number): Add p_end parameter and use it to check
270 the validity of the pp parameter. Add checks to prevent walking
271 off the end of the string buffer.
272 (parse_stab_string): Likewise.
273 (parse_stab_type): Likewise.
274 (parse_stab_type_number): Likewise.
275 (parse_stab_range_type): Likewise.
276 (parse_stab_sun_builtin_type): Likewise.
277 (parse_stab_sun_floating_type): Likewise.
278 (parse_stab_enum_type): Likewise.
279 (parse_stab_struct_type): Likewise.
280 (parse_stab_baseclasses): Likewise.
281 (parse_stab_struct_fields): Likewise.
282 (parse_stab_cpp_abbrev): Likewise.
283 (parse_stab_one_struct_field): Likewise.
284 (parse_stab_members): Likewise.
285 (parse_stab_tilde_field): Likewise.
286 (parse_stab_array_type): Likewise.
e45ad123 287
81db3241
NC
288 * parse_stab: Compute the end of the string and then pass it on to
289 individual parser functions.
290
6d4f21f6
PP
2912018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
292
293 PR binutils/22923
294 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
295 overflow.
296
52fe4420
AM
2972018-03-07 Alan Modra <amodra@gmail.com>
298
299 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
300 * configure: Regenerate.
301
0e70b27b
L
3022018-03-05 H.J. Lu <hongjiu.lu@intel.com>
303
304 PR binutils/22911
305 * objdump.c (is_significant_symbol_name): Return TRUE for all
306 .plt* sections.
307 (find_symbol_for_address): Replace linear search with binary
308 search on dynamic relocations.
309
d11ae95e
NC
3102018-03-01 Nick Clifton <nickc@redhat.com>
311
312 PR 22905
313 * dwarf.c (display_debug_ranges): Check that the offset loaded
314 from the range_entry structure is valid.
315
e184813f
AM
3162018-03-01 Alan Modra <amodra@gmail.com>
317
318 * configure.ac (ALL_LINGUAS): Add sr. Sort.
319 * configure: Regenerate.
320
bc7c0509
NC
3212018-02-27 Nick Clifton <nickc@redhat.com>
322
323 * po/pt.po: New Portuguese translation.
324 * configure.ac (ALL_LINGUAS): Add pt.
325 * configure: Regenerate.
326
f3185997
NC
3272018-02-27 Nick Clifton <nickc@redhat.com>
328
329 PR 22875
330 * objcopy.c (copy_object): Check the error status after marking
331 symbols used in relocations.
332 * testsuite/binutils-all/strip-13.s: New test source file.
333 * testsuite/binutils-all/strip-13.s: New test driver file.
334 * testsuite/binutils-all/objcopy.exp: Run the new test.
335
2c1c9679
AM
3362018-02-26 Alan Modra <amodra@gmail.com>
337
338 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
339 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
340
6e05870c
AM
3412018-02-23 Alan Modra <amodra@gmail.com>
342
343 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
344 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
345
b0ab9c45
RH
3462018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
347
348 * doc/binutils.texi (objcopy): Add missing closing square
349 parenthesis to listing of objcopy's command line options.
350
e535d0dd
MK
3512018-02-19 Matthias Klose <doko@debian.org>
352
353 * strings.c (long_options): Include-all-whitespace does not take
354 an extra agument.
355
6e5e9d58
AM
3562018-02-13 Alan Modra <amodra@gmail.com>
357
358 PR 22836
359 * testsuite/binutils-all/group-7.s,
360 * testsuite/binutils-all/group-7a.d,
361 * testsuite/binutils-all/group-7b.d,
362 * testsuite/binutils-all/group-7c.d: New tests.
363 * testsuite/binutils-all/objcopy.exp: Run them.
364
8de3a6e2
NC
3652018-02-08 Nick Clifton <nickc@redhat.com>
366
367 PR 22802
368 * dwarf.c (load_separate_debug_file): Return early if the user is
369 not interested in debug links.
370
68807c3c
NC
3712018-02-06 Nick Clifton <nickc@redhat.com>
372
373 PR 22793
374 * readelf.c (find_section): Replace assertion with test and return
375 of NULL.
376 (find_section_by_address): Add test of section header table
377 existance.
378 (find_section_by_type): Likewise.
379 (find_section_in_set): Likewise.
380
2d6dda71
MR
3812018-02-05 Maciej W. Rozycki <macro@mips.com>
382
383 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
384 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
385 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
386 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
387
78c88364
MR
3882018-02-05 Maciej W. Rozycki <macro@mips.com>
389
390 * testsuite/config/default.exp (binutils_run): Document
391 `binutils_run_status'.
392 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
393 and set it.
394 (run_dump_test): Add `error', `error_output', `warning' and
395 `warning_output' options. Update documentation accordingly.
396
5bb0830d
AB
3972018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
398
399 * dwarf.c (dwarf_regnames_riscv): New register name table.
400 (init_dwarf_regnames_riscv): New function.
401 (init_dwarf_regnames): Add call to initialise RiscV register
402 names.
403 * dwarf.h (init_dwarf_regnames_riscv): Declare.
404 * objdump.c (dump_dwarf): Add call to initialise RiscV register
405 names.
406
f2023ce7
AM
4072018-02-01 Alan Modra <amodra@gmail.com>
408
409 PR 22769
410 * objdump.c (load_specific_debug_section): Check for overflow
411 when adding one to section size for a string section terminator.
412
fcabedd5
NC
4132018-01-30 Nick Clifton <nickc@redhat.com>
414
415 PR 22734
416 * doc/binutils.texi (nm): Update description to point out that
417 zero-initialized values can also be shown as type B, b, S or s
418 since they can be stored in the BSS section.
419
f49db8be
AM
4202018-01-30 Alan Modra <amodra@gmail.com>
421
422 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
423 "artificially large" end address.
424
a8d6d6ac
NC
4252018-01-28 Nick Clifton <nickc@redhat.com>
426
427 * README-how-to-make-a-release: Add note about checking gpg key
428 and the results of gnupload.
429
9a5db26e
NC
4302018-01-27 Nick Clifton <nickc@redhat.com>
431
432 * README-how-to-make-a-release: Add details on how to actually
433 make the release.
434
94c2436b
NC
4352018-01-26 Nick Clifton <nickc@redhat.com>
436
437 * README-how-to-make-a-release: Add more details on updating
438 version numbers.
439
1ea332d6
MR
4402018-01-22 Maciej W. Rozycki <macro@mips.com>
441
442 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
443 option description.
444
d65ce302
MR
4452018-01-22 Maciej W. Rozycki <macro@mips.com>
446
447 * MAINTAINERS: Update my company e-mail address.
448
f433138f
NC
4492018-01-22 Nick Clifton <nickc@redhat.com>
450
451 * po/sv.po: Updated Swedish translation.
452
7ab82037
NC
4532018-01-18 Nick Clifton <nickc@redhat.com>
454
455 * po/bg.po: Updated Bulgarian translation.
456
0dd86f32
JB
4572018-01-16 Joel Brobecker <brobecker@adacore.com>
458
459 * README-how-to-make-a-release: Add reminder to update the
460 branch name in gdbadmin's crontab on sourceware.
461
a960d29f
JB
4622018-01-16 Joel Brobecker <brobecker@adacore.com>
463
464 * README-how-to-make-a-release: Remove trailing spaces.
465
f6efed01
NC
4662018-01-16 Nick Clifton <nickc@redhat.com>
467
468 * po/fr.po: Updated French translation.
469
616dcb87
NC
4702018-01-15 Nick Clifton <nickc@redhat.com>
471
472 * po/uk.po: Updated Ukranian translation.
473
3957a496
NC
4742018-01-13 Nick Clifton <nickc@redhat.com>
475
19e2900b 476 * README-how-to-make-a-release: Update notes.
3957a496
NC
477 * po/binutils.pot: Regenerated.
478
769c7ea5
NC
4792018-01-13 Nick Clifton <nickc@redhat.com>
480
481 * configure: Regenerate.
482
9176ac5b
NC
4832018-01-13 Nick Clifton <nickc@redhat.com>
484
faf766e3 485 2.30 branch created.
9176ac5b
NC
486 * NEWS: Add marker for 2.30.
487
98ab9e96
NC
4882018-01-12 Nick Clifton <nickc@redhat.com>
489
490 * README-how-to-make-a-release: Add notes on how to make the
491 branch and prelease snapshot.
492 * BRANCHES: Add binutils-2_29-branch.
493
bf41f30d
NC
4942018-01-10 Nick Clifton <nickc@redhat.com>
495
496 * MAINTAINERS: Note that it is now the configure.ac file and not
497 the configure.in file that needs to be kept in sync with gcc.
498 Add a note about sending patches for libiberty to gcc.
499
f13974bd
NC
5002018-01-03 Nick Clifton <nickc@redhat.com>
501
502 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
503 constants.
504
6f156d7a
NC
5052018-01-03 Nick Clifton <nickc@redhat.com>
506
507 * objcopy.c (objcopy_internal_note): New structure.
508 (gap_exists): New function.
509 (is_open_note): New function.
510 (is_func_note): New function.
511 (is_64bit): New function.
512 (merge_gnu_build_notes): Handle v3 notes. Do not merge
513 if there are relocations against the notes.
514 * readelf.c (get_note_type): Use short names for build attribute
515 notes.
516 (print_symbol_for_build_attribute): Rename to
517 get_symbol_for_build_attribute. Returns the found symbol rather
518 than printing it.
519 (print_gnu_build_attribute_description): Maintain address ranges
520 for function notes as well as global notes. Handle v3 notes.
521 (print_gnu_build_attribute_name): Use more space for printing the
522 name in wide mode.
523 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
524 Eliminate symbol references in order to remove the need for
525 relocations.
526 * testsuite/binutils-all/note-2-64.s: Likewise.
527 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
528 symbol.
529 * testsuite/binutils-all/note-3-64.s: Likewise.
530 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
531 output.
532 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
533 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
534 * testsuite/binutils-all/note-2-32.d: Likewise.
535 * testsuite/binutils-all/note-2-64.d: Likewise.
536 * testsuite/binutils-all/note-3-32.d: Likewise.
537 * testsuite/binutils-all/note-3-64.d: Likewise.
538 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
539 * testsuite/binutils-all/note-4-32.s: New test.
540 * testsuite/binutils-all/note-4-64.d: New test result file.
541 * testsuite/binutils-all/note-4-32.d: New test result file.
542
219d1afa
AM
5432018-01-03 Alan Modra <amodra@gmail.com>
544
545 Update year range in copyright notice of all files.
546
1e563868 547For older changes see ChangeLog-2017
3499769a 548\f
1e563868 549Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
550
551Copying and distribution of this file, with or without modification,
552are permitted in any medium without royalty provided the copyright
553notice and this notice are preserved.
554
555Local Variables:
556mode: change-log
557left-margin: 8
558fill-column: 74
559version-control: never
560End:
This page took 0.156105 seconds and 4 git commands to generate.