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