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