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