4ce690d67809dc77f978d3b0b59d78b6953adaf7
[external/binutils.git] / binutils / ChangeLog
1 2018-04-14  Alan Modra  <amodra@gmail.com>
2
3         * readelf.c (get_machine_name): Revert 2018-04-11 change.
4
5 2018-04-12  Nick Clifton  <nickc@redhat.com>
6
7         PR 23050
8         * readelf.c (process_dynamic_section): Correct dynamic string
9         table size calculation.
10
11 2018-04-11  Alan Modra  <amodra@gmail.com>
12
13         * ieee.c: Remove i960 support.
14         * od-macho.c: Remove i860 support.
15         * readelf.c: Remove i860 and i960 support.
16         * testsuite/binutils-all/objcopy.exp: Likewise.
17         * testsuite/binutils-all/objdump.exp: Likewise.
18         * testsuite/lib/binutils-common.exp: Likewise.
19
20 2018-04-11  Maciej W. Rozycki  <macro@mips.com>
21
22         * testsuite/lib/binutils-common.exp (is_elf_format): Also return
23         1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
24
25 2018-04-10  Alan Modra  <amodra@gmail.com>
26
27         * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
28         reloc=11 for pru and reloc=50 for nds32.
29         * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
30
31 2018-04-09  Maciej W. Rozycki  <macro@mips.com>
32
33         * testsuite/binutils-all/strip-15.d: New test.
34         * testsuite/binutils-all/strip-15rel.s: New test source.
35         * testsuite/binutils-all/strip-15rela.s: New test source.
36         * testsuite/binutils-all/strip-15mips64.s: New test source.
37         * testsuite/binutils-all/objcopy.exp: Run the new test.
38
39 2018-04-09  Maciej W. Rozycki  <macro@mips.com>
40
41         * testsuite/binutils-all/strip-14.d: New test.
42         * testsuite/binutils-all/strip-14rel.s: New test source.
43         * testsuite/binutils-all/strip-14rela.s: New test source.
44         * testsuite/binutils-all/strip-14mips64.s: New test source.
45         * testsuite/binutils-all/objcopy.exp: Run the new test.
46
47 2018-04-06  Tom Tromey  <tom@tromey.com>
48
49         * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
50         constants from DWARF 5.
51
52 2018-04-05  H.J. Lu  <hongjiu.lu@intel.com>
53
54         PR gas/22318
55         * configure: Regenerated.
56
57 2018-04-05  Maciej W. Rozycki  <macro@mips.com>
58
59         * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
60         than `.dc.w' in second relocation.
61
62 2018-04-05  Maciej W. Rozycki  <macro@mips.com>
63
64         * testsuite/binutils-all/strip-13.d: Also expect `unsupported
65         relocation type 0x8f' error message.
66
67 2018-04-05  Maciej W. Rozycki  <macro@mips.com>
68
69         * testsuite/binutils-all/strip-13.s: Rename to...
70         * testsuite/binutils-all/strip-13rela.s: ... this.
71         * testsuite/binutils-all/strip-13rel.s: New test source.
72         * testsuite/binutils-all/strip-13mips64.s: New test source.
73         * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
74         `dlx-*' and `xgate-*' from `not-target' list.  Add `m6811-*' and
75         `m68hc11-*' to `not-target' list.
76         * testsuite/binutils-all/objcopy.exp: Switch between sources for
77         `strip-13'.
78
79 2018-04-05  Maciej W. Rozycki  <macro@mips.com>
80
81         * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
82         241 (0xf1) for the relocation number and RELA addend.
83         * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
84         `not-target' list.
85
86 2018-04-04  John David Anglin  <danglin@gcc.gnu.org>
87
88         * MAINTAINERS: Update my e-mail address.
89
90 2018-04-04  Nick Clifton  <nickc@redhat.com>
91
92         * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
93
94 2018-03-23  Nick Clifton  <nickc@redhat.com>
95
96         * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
97         symbols.
98         (print_gnu_build_attribute_description): If no file start symbol
99         could be found, look for one two bytes into the file.
100         * testsuite/binutils-all/note-4-64.s: Set the address of the file
101         start symbol to two bytes into the file.
102         * testsuite/binutils-all/note-4-32.s: Likewise.
103
104 2018-03-21  H.J. Lu  <hongjiu.lu@intel.com>
105
106         * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
107         DF_1_WEAKFILTER and DF_1_NOCOMMON.
108
109 2018-03-20  Nick Clifton  <nickc@redhat.com>
110
111         * po/es.po: Updated Spanish translation.
112         * po/ru.po: Updated Russian translation.
113
114 2018-03-13  Nick Clifton  <nickc@redhat.com>
115
116         PR 22957
117         * stabs.c (pop_binincl): Fail if the file index is off the end of
118         the stack.
119
120 2018-03-13  Nick Clifton  <nickc@redhat.com>
121
122         PR 22955
123         * stabs.c (parse_number): Add p_end parameter and use it to check
124         the validity of the pp parameter.  Add checks to prevent walking
125         off the end of the string buffer.
126         (parse_stab_string): Likewise.
127         (parse_stab_type): Likewise.
128         (parse_stab_type_number): Likewise.
129         (parse_stab_range_type): Likewise.
130         (parse_stab_sun_builtin_type): Likewise.
131         (parse_stab_sun_floating_type): Likewise.
132         (parse_stab_enum_type): Likewise.
133         (parse_stab_struct_type): Likewise.
134         (parse_stab_baseclasses): Likewise.
135         (parse_stab_struct_fields): Likewise.
136         (parse_stab_cpp_abbrev): Likewise.
137         (parse_stab_one_struct_field): Likewise.
138         (parse_stab_members): Likewise.
139         (parse_stab_tilde_field): Likewise.
140         (parse_stab_array_type): Likewise.
141
142         * parse_stab: Compute the end of the string and then pass it on to
143         individual parser functions.
144
145 2018-03-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
146
147         PR binutils/22923
148         * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
149         overflow.
150
151 2018-03-07  Alan Modra  <amodra@gmail.com>
152
153         * configure.ac: Add objdump_private_desc_xcoff for rs6000.
154         * configure: Regenerate.
155
156 2018-03-05  H.J. Lu  <hongjiu.lu@intel.com>
157
158         PR binutils/22911
159         * objdump.c (is_significant_symbol_name): Return TRUE for all
160         .plt* sections.
161         (find_symbol_for_address): Replace linear search with binary
162         search on dynamic relocations.
163
164 2018-03-01  Nick Clifton  <nickc@redhat.com>
165
166         PR 22905
167         * dwarf.c (display_debug_ranges): Check that the offset loaded
168         from the range_entry structure is valid.
169
170 2018-03-01  Alan Modra  <amodra@gmail.com>
171
172         * configure.ac (ALL_LINGUAS): Add sr.  Sort.
173         * configure: Regenerate.
174
175 2018-02-27  Nick Clifton  <nickc@redhat.com>
176
177         * po/pt.po: New Portuguese translation.
178         * configure.ac (ALL_LINGUAS): Add pt.
179         * configure: Regenerate.
180
181 2018-02-27  Nick Clifton  <nickc@redhat.com>
182
183         PR 22875
184         * objcopy.c (copy_object): Check the error status after marking
185         symbols used in relocations.
186         * testsuite/binutils-all/strip-13.s: New test source file.
187         * testsuite/binutils-all/strip-13.s: New test driver file.
188         * testsuite/binutils-all/objcopy.exp: Run the new test.
189
190 2018-02-26  Alan Modra  <amodra@gmail.com>
191
192         * testsuite/binutils-all/mips/mips-reginfo-n32.d,
193         * testsuite/binutils-all/mips/mips-reginfo.d: Update.
194
195 2018-02-23  Alan Modra  <amodra@gmail.com>
196
197         * testsuite/binutils-all/mips/mips-reginfo-n32.d,
198         * testsuite/binutils-all/mips/mips-reginfo.d: Update.
199
200 2018-02-20  Ronald Hoogenboom  <hoogenboom30@zonnet.nl>
201
202         * doc/binutils.texi (objcopy): Add missing closing square
203         parenthesis to listing of objcopy's command line options.
204
205 2018-02-19  Matthias Klose  <doko@debian.org>
206
207         * strings.c (long_options): Include-all-whitespace does not take
208         an extra agument.
209
210 2018-02-13  Alan Modra  <amodra@gmail.com>
211
212         PR 22836
213         * testsuite/binutils-all/group-7.s,
214         * testsuite/binutils-all/group-7a.d,
215         * testsuite/binutils-all/group-7b.d,
216         * testsuite/binutils-all/group-7c.d: New tests.
217         * testsuite/binutils-all/objcopy.exp: Run them.
218
219 2018-02-08  Nick Clifton  <nickc@redhat.com>
220
221         PR 22802
222         * dwarf.c (load_separate_debug_file): Return early if the user is
223         not interested in debug links.
224
225 2018-02-06  Nick Clifton  <nickc@redhat.com>
226
227         PR 22793
228         * readelf.c (find_section): Replace assertion with test and return
229         of NULL.
230         (find_section_by_address): Add test of section header table
231         existance.
232         (find_section_by_type): Likewise.
233         (find_section_in_set): Likewise.
234
235 2018-02-05  Maciej W. Rozycki  <macro@mips.com>
236
237         * testsuite/binutils-all/mips/mips-reginfo.d: New test.
238         * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
239         * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
240         * testsuite/binutils-all/mips/mips.exp: Run the new tests.
241
242 2018-02-05  Maciej W. Rozycki  <macro@mips.com>
243
244         * testsuite/config/default.exp (binutils_run): Document
245         `binutils_run_status'.
246         * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
247         and set it.
248         (run_dump_test): Add `error', `error_output', `warning' and
249         `warning_output' options.  Update documentation accordingly.
250
251 2018-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
252
253         * dwarf.c (dwarf_regnames_riscv): New register name table.
254         (init_dwarf_regnames_riscv): New function.
255         (init_dwarf_regnames): Add call to initialise RiscV register
256         names.
257         * dwarf.h (init_dwarf_regnames_riscv): Declare.
258         * objdump.c (dump_dwarf): Add call to initialise RiscV register
259         names.
260
261 2018-02-01  Alan Modra  <amodra@gmail.com>
262
263         PR 22769
264         * objdump.c (load_specific_debug_section): Check for overflow
265         when adding one to section size for a string section terminator.
266
267 2018-01-30  Nick Clifton  <nickc@redhat.com>
268
269         PR 22734
270         * doc/binutils.texi (nm): Update description to point out that
271         zero-initialized values can also be shown as type B, b, S or s
272         since they can be stored in the BSS section.
273
274 2018-01-30  Alan Modra  <amodra@gmail.com>
275
276         * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
277         "artificially large" end address.
278
279 2018-01-28  Nick Clifton  <nickc@redhat.com>
280
281         * README-how-to-make-a-release: Add note about checking gpg key
282         and the results of gnupload.
283
284 2018-01-27  Nick Clifton  <nickc@redhat.com>
285
286         * README-how-to-make-a-release: Add details on how to actually
287         make the release.
288
289 2018-01-26  Nick Clifton  <nickc@redhat.com>
290
291         * README-how-to-make-a-release: Add more details on updating
292         version numbers.
293
294 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
295
296         * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
297         option description.
298
299 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
300
301         * MAINTAINERS: Update my company e-mail address.
302
303 2018-01-22  Nick Clifton  <nickc@redhat.com>
304
305         * po/sv.po: Updated Swedish translation.
306
307 2018-01-18  Nick Clifton  <nickc@redhat.com>
308
309         * po/bg.po: Updated Bulgarian translation.
310
311 2018-01-16  Joel Brobecker  <brobecker@adacore.com>
312
313         * README-how-to-make-a-release: Add reminder to update the
314         branch name in gdbadmin's crontab on sourceware.
315
316 2018-01-16  Joel Brobecker  <brobecker@adacore.com>
317
318         * README-how-to-make-a-release: Remove trailing spaces.
319
320 2018-01-16  Nick Clifton  <nickc@redhat.com>
321
322         * po/fr.po: Updated French translation.
323
324 2018-01-15  Nick Clifton  <nickc@redhat.com>
325
326         * po/uk.po: Updated Ukranian translation.
327
328 2018-01-13  Nick Clifton  <nickc@redhat.com>
329
330         * README-how-to-make-a-release: Update notes.
331         * po/binutils.pot: Regenerated.
332
333 2018-01-13  Nick Clifton  <nickc@redhat.com>
334
335         * configure: Regenerate.
336
337 2018-01-13  Nick Clifton  <nickc@redhat.com>
338
339         2.30 branch created.
340         * NEWS: Add marker for 2.30.
341
342 2018-01-12  Nick Clifton  <nickc@redhat.com>
343
344         * README-how-to-make-a-release: Add notes on how to make the
345         branch and prelease snapshot.
346         * BRANCHES: Add binutils-2_29-branch.
347
348 2018-01-10  Nick Clifton  <nickc@redhat.com>
349
350         * MAINTAINERS: Note that it is now the configure.ac file and not
351         the configure.in file that needs to be kept in sync with gcc.
352         Add a note about sending patches for libiberty to gcc.
353
354 2018-01-03  Nick Clifton  <nickc@redhat.com>
355
356         * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
357         constants.
358
359 2018-01-03  Nick Clifton  <nickc@redhat.com>
360
361         * objcopy.c (objcopy_internal_note): New structure.
362         (gap_exists): New function.
363         (is_open_note): New function.
364         (is_func_note): New function.
365         (is_64bit): New function.
366         (merge_gnu_build_notes): Handle v3 notes.  Do not merge
367         if there are relocations against the notes.
368         * readelf.c (get_note_type): Use short names for build attribute
369         notes.
370         (print_symbol_for_build_attribute): Rename to
371         get_symbol_for_build_attribute.  Returns the found symbol rather
372         than printing it.
373         (print_gnu_build_attribute_description): Maintain address ranges
374         for function notes as well as global notes.  Handle v3 notes.
375         (print_gnu_build_attribute_name): Use more space for printing the
376         name in wide mode.
377         * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
378         Eliminate symbol references in order to remove the need for
379         relocations.
380         * testsuite/binutils-all/note-2-64.s: Likewise.
381         * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
382         symbol.
383         * testsuite/binutils-all/note-3-64.s: Likewise.
384         * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
385         output.
386         * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
387         * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
388         * testsuite/binutils-all/note-2-32.d: Likewise.
389         * testsuite/binutils-all/note-2-64.d: Likewise.
390         * testsuite/binutils-all/note-3-32.d: Likewise.
391         * testsuite/binutils-all/note-3-64.d: Likewise.
392         * testsuite/binutils-all/note-4-64.s: New test.  Checks v3 notes.
393         * testsuite/binutils-all/note-4-32.s: New test.
394         * testsuite/binutils-all/note-4-64.d: New test result file.
395         * testsuite/binutils-all/note-4-32.d: New test result file.
396
397 2018-01-03  Alan Modra  <amodra@gmail.com>
398
399         Update year range in copyright notice of all files.
400
401 For older changes see ChangeLog-2017
402 \f
403 Copyright (C) 2018 Free Software Foundation, Inc.
404
405 Copying and distribution of this file, with or without modification,
406 are permitted in any medium without royalty provided the copyright
407 notice and this notice are preserved.
408
409 Local Variables:
410 mode: change-log
411 left-margin: 8
412 fill-column: 74
413 version-control: never
414 End: