Commit | Line | Data |
---|---|---|
d768f160 SJ |
1 | 2020-06-22 Saagar Jha <saagar@saagarjha.com> |
2 | ||
3 | * od-macho.c: Dump linkedit data for new load commands. | |
4 | ||
5fd104ad AM |
5 | 2020-06-19 Alan Modra <amodra@gmail.com> |
6 | ||
7 | * testsuite/config/default.exp (ld_elf_shared_opt): Don't set. | |
8 | * testsuite/lib/binutils-common.exp (check_relro_support): New proc. | |
9 | (run_dump_test): Use check_relro_support to decide whether to pass | |
10 | extra ld option "-z norelro". | |
11 | ||
fd17d1e6 AM |
12 | 2020-06-11 Alan Modra <amodra@gmail.com> |
13 | ||
14 | * readelf.c (process_mips_specific): Don't alloc memory for | |
15 | Elf_Internal_Options. | |
16 | ||
d0c4e780 AM |
17 | 2020-06-11 Alan Modra <amodra@gmail.com> |
18 | ||
19 | * readelf.c (process_mips_specific): Assert size of internal | |
20 | types match size of external types, and simplify allocation of | |
21 | internal buffer. Catch possible integer overflow when sanity | |
22 | checking option size. Don't assume options are a regular array. | |
23 | Sanity check reginfo option against option size. Use PRI macros | |
24 | when printing. | |
25 | ||
25065fcd RH |
26 | 2020-06-10 Ralf Habacker <ralf.habacker@freenet.de> |
27 | ||
28 | PR 26082 | |
29 | * mclex.c (yylex): Reject lines that reach end-of-file without a | |
30 | terminating newline character. | |
31 | ||
b37a7714 NC |
32 | 2020-06-08 Nick Clifton <nickc@redhat.com> |
33 | ||
34 | PR 26093 | |
35 | * doc/binutils.texi (strings): Fix typo. | |
36 | ||
c4b2f181 NC |
37 | 2020-06-08 Nick Clifton <nickc@redhat.com> |
38 | ||
39 | PR 26086 | |
40 | * dwarf.c (process_debug_info): Check that there is space in the | |
41 | debug_information array before filling in an entry. | |
42 | ||
1424c35d AM |
43 | 2020-06-06 Alan Modra <amodra@gmail.com> |
44 | ||
45 | * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10. | |
46 | ||
8affa48a JA |
47 | 2020-06-05 Joel Anderson <joelanderson333@gmail.com> |
48 | ||
49 | PR 26082 | |
50 | * mclex.c (yylex): Add test for an empty input stream. | |
51 | ||
8eca5c7d SC |
52 | 2020-06-04 Stephen Casner <casner@acm.org> |
53 | ||
54 | * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file | |
55 | for test using section pseudo-ops compatible with pdp11. | |
56 | * testsuite/binutils-all/objcopy.exp: Select alternate source. | |
57 | ||
b3db6d07 JM |
58 | 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com> |
59 | ||
60 | * objdump.c (disassemble_data): Set disasm_info.endian_code to | |
61 | disasm_info.endian after the latter is initialized to the | |
62 | endianness reported by BFD. | |
63 | ||
0a4f37af AM |
64 | 2020-06-04 Alan Modra <amodra@gmail.com> |
65 | ||
66 | * testsuite/binutils-all/i386/i386.exp: Remove global directive | |
67 | outside proc body. | |
68 | * testsuite/binutils-all/x86-64/objects.exp: Likewise. | |
69 | * testsuite/binutils-all/x86-64/x86-64.exp: Likewise. | |
70 | ||
913e0fd4 JA |
71 | 2020-06-03 Joel Anderson <joelanderson333@gmail.com> |
72 | ||
73 | * windmc.h (struct mc_node): Add id_typecast field. | |
74 | * mcparse.y (message): Initialise the id_typecast field. | |
75 | * windmc.c (write_dbg): Use the id_typecast field as a parameter | |
76 | when calling write_dbg_define. | |
77 | (write_header): Likewise. | |
78 | ||
4a322448 AM |
79 | 2020-06-03 Alan Modra <amodra@gmail.com> |
80 | ||
81 | PR 26069 | |
82 | * objcopy.c (copy_relocations_in_section): Free relpp on error. | |
83 | Don't accidentally free isection->orelocation. | |
84 | ||
0bee4d1c AM |
85 | 2020-06-02 Alan Modra <amodra@gmail.com> |
86 | ||
87 | * testsuite/binutils-all/ar.exp (obj): Set up object file name | |
88 | extension. Use throughout. Don't completely exclude non-ELF | |
89 | alpha targets. Run long_filenames test for tic30. Exclude thin | |
90 | archive tests for aix, ecoff and vms. | |
91 | * estsuite/binutils-all/objdump.exp (obj): Set up object file name | |
92 | extension. Use throughout. Don't exclude non-ELF alpha targets | |
93 | from "bintest.a". | |
94 | ||
ab7ad287 MF |
95 | 2020-05-28 Max Filippov <jcmvbkbc@gmail.com> |
96 | ||
97 | * MAINTAINERS (Xtensa): Add myself as maintainer. | |
98 | ||
3f3c3608 AM |
99 | 2020-05-23 Alan Modra <amodra@gmail.com> |
100 | ||
101 | * testsuite/binutils-all/ar.exp (many_files): New test. | |
102 | ||
9db70fc3 AM |
103 | 2020-05-21 Alan Modra <amodra@gmail.com> |
104 | ||
105 | * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout. | |
106 | * dlltool.c: Likewise. | |
107 | * elfcomm.c: Likewise. | |
108 | * rddbg.c: Likewise. | |
109 | * readelf.c: Likewise. | |
110 | * stabs.c: Likewise. | |
111 | * windmc.c: Likewise. | |
112 | * windres.c: Likewise. | |
113 | * wrstabs.c: Likewise. | |
114 | ||
c31ab5a0 AM |
115 | 2020-05-21 Alan Modra <amodra@gmail.com> |
116 | ||
117 | * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array | |
118 | access. | |
119 | ||
8f595e9b NC |
120 | 2020-05-20 Nelson Chu <nelson.chu@sifive.com> |
121 | ||
122 | * dwarf.c: Updated since DECLARE_CSR is changed. | |
123 | ||
8ac10c5b L |
124 | 2020-05-19 H.J. Lu <hjl.tools@gmail.com> |
125 | ||
126 | PR binutils/25809 | |
127 | * readelf.c (process_program_headers): Warn if the PT_DYNAMIC | |
128 | segment doesn't match the .dynamic section and checks are | |
129 | enabled. | |
130 | (struct filedata): Add dynamic_symtab_section and | |
131 | dynamic_strtab_section fields. | |
132 | (process_section_headers): Set dynamic_symtab_section to the | |
133 | .dynsym section. Set dynamic_strtab_section to the .dynstr | |
134 | section. | |
135 | (process_dynamic_section): Warn if the .dynsym section doesn't | |
136 | match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't | |
137 | DT_STRTAB and DT_STRSZ. But only if checks are enabled. | |
138 | ||
c177f377 AM |
139 | 2020-05-19 Alan Modra <amodra@gmail.com> |
140 | ||
141 | * ar.c (map_over_members, get_pos_bfd, delete_members, move_members), | |
142 | (replace_members): Use bfd_get_filename rather than accessing | |
143 | bfd->filename directly. | |
144 | * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise. | |
145 | * binemul.c (do_ar_emul_append): Likewise. | |
146 | * coffgrok.c (coff_grok): Likewise. | |
147 | ||
83d27139 SH |
148 | 2020-05-18 Stafford Horne <shorne@gmail.com> |
149 | ||
150 | * MAINTAINERS (OR1K): Add myself as maintainer. | |
151 | ||
d11a9fab AB |
152 | 2020-05-07 Andrew Burgess <andrew.burgess@embecosm.com> |
153 | ||
154 | * doc/binutils.texi: Mention 'entry address' in the set-start and | |
155 | adjust-start options descriptions. | |
156 | ||
546cb2d8 NC |
157 | 2020-05-05 Nick Clifton <nickc@redhat.com> |
158 | ||
159 | * dwarf.c (do_checks): New global variable. | |
160 | (display_formatted_table): Warn about an unexpected number of | |
161 | columns in the table, if checks are enabled. Do not complain | |
162 | about the lack of data following the number of entries in the | |
163 | table if the table is empty. | |
164 | (display_debug_lines_decoded): Only warn about an unexpected | |
165 | number of columns in a table if checks are enabled. | |
166 | * dwarf.h (do_checks): Add a prototype. | |
167 | * elfcomm.c (error): Remove weak attribute. | |
168 | (warn): Likewise. | |
169 | * readelf.c (do_checks): Delete. | |
170 | (warn): Delete. | |
171 | (process_section_headers): Only warn about empty sections if | |
172 | checks are enabled. | |
173 | ||
e052e2ba FS |
174 | 2020-05-04 Fangrui Song <maskray@google.com> |
175 | ||
176 | * objcopy.c (copy_object): Allow empty section. | |
177 | * testsuite/binutils-all/update-section.exp: Add test. | |
178 | ||
070b775f NC |
179 | 2020-05-04 Nick Clifton <nickc@redhat.com> |
180 | ||
181 | PR 25917 | |
182 | * dwarf.c (display_debug_lines_decoded): Warn if encountering a | |
183 | supicious number of entries for DWARF-5 format directory and file | |
184 | name tables. Do not display file name table header if the table | |
185 | is empty. Do not allocate space for empty tables. | |
186 | ||
9c7b8e9b AM |
187 | 2020-05-04 Alan Modra <amodra@gmail.com> |
188 | ||
189 | * readelf.c (process_nds32_specific): Check size of .nds32_e_flags | |
190 | section. Don't assume endian of host matches nds32 target. Free | |
191 | buffer. | |
192 | ||
60832332 AM |
193 | 2020-05-01 Alan Modra <amodra@gmail.com> |
194 | Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com> | |
195 | ||
196 | * objdump.c (disassemble_bytes): Don't scan for zeros when | |
197 | disassembling zeros. Translate "resuming at file offset" message. | |
198 | Formatting. Replace some signed variables with unsigned. | |
199 | ||
09c1e68a AC |
200 | 2020-04-30 Alex Coplan <alex.coplan@arm.com> |
201 | ||
202 | * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new | |
203 | disassembly. | |
204 | * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise. | |
205 | ||
8a8a1171 NC |
206 | 2020-04-30 Nick Clifton <nickc@redhat.com> |
207 | ||
208 | * testsuite/lib/binutils-common.exp (check_pie_support): New | |
209 | proc. | |
210 | ||
cb4c35cf AB |
211 | 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com> |
212 | ||
213 | * dwarf.c (display_debug_ranges): Ignore duplicate entries in | |
214 | range_entries for the same offset. | |
215 | ||
1b513401 NC |
216 | 2020-04-29 Nick Clifton <nickc@redhat.com> |
217 | ||
218 | * readelf.c (warn): New function - like elfcomm.c version but only | |
219 | produces output if warnings are enabled. | |
220 | (struct options): Add --lint and --enable-checks. | |
221 | (usage): Add entry for --lint. | |
222 | (parse_args): Handle -L. If checks are enabled but no dumps have | |
223 | been selected then enable all dumps. | |
224 | (process_section_headers): Replace long if-then-else sequence with | |
225 | a switch. Add warning messages for empty SHT_REL, SHT_RELA and | |
226 | SHT_PROGBITS sections. | |
227 | (process_file): Do not complain if the file is an archive and lint | |
228 | mode has been enabled. | |
229 | * elfcomm.c (error): Make the function weak. | |
230 | (warn): Likewise. | |
231 | * NEWS: Mention the new feature. | |
232 | * doc/binutils.texi: Document the new feature. | |
233 | * dwarf.h (report_leb_status): Add file name and line number | |
234 | parameters. Include them in the diagnostic output. | |
235 | (READ_ULEB): Pass file and line number to report_leb_status. | |
236 | (READ_SLEB): Likewise. | |
237 | * dwarf.c (read_and_print_leb128): Pass file and line number to | |
238 | report_leb_status. | |
239 | * testsuite/binutils-all/readelf.exp: Add test of new feature. | |
240 | * testsuite/binutils-all/zero-sec.s: New test source file. | |
241 | * testsuite/binutils-all/zero-sec.r: Expected output from new | |
242 | test. | |
243 | ||
c2e71e57 NC |
244 | 2020-04-29 Nick Clifton <nickc@redhat.com> |
245 | ||
246 | * po/sr.po: Updated Serbian translation. | |
247 | ||
90837ea7 AM |
248 | 2020-04-26 Alan Modra <amodra@gmail.com> |
249 | ||
250 | * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was | |
251 | read before dereferencing, and gracefully return. Remove | |
252 | gnu_hash_error variable. Free gnu hash arrays if number of | |
253 | syms found is zero. | |
254 | ||
2482f306 AM |
255 | 2020-04-24 Alan Modra <amodra@gmail.com> |
256 | ||
257 | * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains | |
258 | non-zero. | |
259 | (process_dynamic_section): Call get_num_dynamic_syms once rather | |
260 | than in segment loop. Break out of segment loop on a successful | |
261 | load of dynamic symbols. Formatting. | |
262 | (process_object): Return error status from process_dynamic_section. | |
263 | ||
27456742 AK |
264 | 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com> |
265 | ||
266 | * elf-bfd.h (elfcore_write_arc_v2): Add prototype. | |
267 | * elf.c (elfcore_grok_arc_v2): New function. | |
268 | (elfcore_grok_note): Call the new function to handle the corresponding | |
269 | note. | |
270 | (elfcore_write_arc_v2): New function. | |
271 | (elfcore_write_register_note): Call the new function to handle the | |
272 | corresponding pseudo-sections. | |
273 | ||
30ce8e47 MF |
274 | 2020-04-22 Max Filippov <jcmvbkbc@gmail.com> |
275 | ||
276 | PR ld/25861 | |
277 | * readelf.c (is_none_reloc): Recognize | |
278 | BFD_RELOC_XTENSA_PDIFF{8,16,32} and | |
279 | BFD_RELOC_XTENSA_NDIFF{8,16,32}. | |
280 | ||
33b5a830 NC |
281 | 2020-04-22 Nick Clifton <nickc@redhat.com> |
282 | ||
283 | * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer. | |
284 | ||
978c4450 AM |
285 | 2020-04-22 Alan Modra <amodra@gmail.com> |
286 | ||
287 | * readelf.c (archive_file_offset, archive_file_size, dynamic_addr), | |
288 | (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length), | |
289 | (num_dynamic_syms, nbuckets, nchains, buckets, chains), | |
290 | (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains), | |
291 | (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset), | |
292 | (dynamic_syminfo_nent, program_interpreter, dynamic_info), | |
293 | (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info), | |
294 | (dynamic_section, symtab_shndx_list, group_count, section_groups), | |
295 | (section_headers_groups): Move to struct filedata. Update use | |
296 | throughout file. | |
297 | ||
6431e409 AM |
298 | 2020-04-22 Alan Modra <amodra@gmail.com> |
299 | ||
300 | * readelf.c (struct dump_data): New, used.. | |
301 | (cmdline): ..here, and.. | |
302 | (struct filedata): ..here. Adjust all uses. | |
303 | (request_dump_bynumber, request_dump, parse_args): Pass in a | |
304 | struct dump_data* rather than Filedata*. Adjust callers. | |
305 | (main): Don't set cmdline.file_name. | |
306 | ||
a5e0be5c AM |
307 | 2020-04-20 Alan Modra <amodra@gmail.com> |
308 | ||
309 | * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets | |
310 | and nbuckets. | |
311 | ||
8ff66993 AM |
312 | 2020-04-20 Alan Modra <amodra@gmail.com> |
313 | ||
314 | * readelf.c (process_section_headers): Free dynamic symbols etc. | |
315 | earlier. | |
316 | ||
ceb9bf11 AM |
317 | 2020-04-20 Alan Modra <amodra@gmail.com> |
318 | ||
319 | * readelf.c (get_num_dynamic_syms): Formatting. Don't return | |
320 | on error without freeing. | |
321 | (process_dynamic_section): Don't recreate dynamic symbols from | |
322 | dynamic tag info when the dynamic symbols have already been | |
323 | read via section headers. | |
324 | ||
e409955d FS |
325 | 2020-04-17 Fredrik Strupe <fredrik@strupe.net> |
326 | ||
327 | * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that | |
328 | conditional VDUP instructions are disassembled correctly. | |
329 | * testsuite/binutils-all/arm/vdup-cond.s: New file used by | |
330 | vdup-cond.d. | |
331 | * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing | |
332 | that VDUP instructions (which are conditional in A32) can be | |
333 | disassembled in thumb mode. | |
334 | * testsuite/binutils-all/arm/vdup-cond.s: New file used by | |
335 | vdup-thumb.d. | |
336 | ||
ca3f923f AM |
337 | 2020-04-17 Alan Modra <amodra@gmail.com> |
338 | ||
339 | PR 25840 | |
340 | * debug.c (debug_class_type_samep): Don't segfault on NULL type. | |
341 | ||
937f6614 AM |
342 | 2020-04-16 Alan Modra <amodra@gmail.com> |
343 | ||
344 | * doc/binutils.texi: Mention --no-show-raw-insn in objdump | |
345 | --no-addresses description. | |
346 | ||
b1bc1394 AM |
347 | 2020-04-15 Alan Modra <amodra@gmail.com> |
348 | ||
349 | * objdump.c (no_addresses): New static var. | |
350 | (usage): Print help for --no-addresses. | |
351 | (long_options): Add --no-addresses entry. | |
352 | (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address. | |
353 | (disassemble_bytes): Don't print current line address, or reloc | |
354 | address. | |
355 | * doc/binutils.texi: Document objdump --no-addresses. | |
356 | ||
001890e1 AM |
357 | 2020-04-15 Alan Modra <amodra@gmail.com> |
358 | ||
359 | PR 25822 | |
360 | * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when | |
361 | reading buckets or chains fails. | |
362 | ||
b71d4fa7 AM |
363 | 2020-04-15 Alan Modra <amodra@gmail.com> |
364 | ||
365 | * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains | |
366 | etc. after freeing. | |
367 | ||
89246a0e AM |
368 | 2020-04-15 Alan Modra <amodra@gmail.com> |
369 | ||
370 | * readelf.c (get_group_flags): Translate text. | |
371 | (get_file_type, get_symbol_binding, get_symbol_type), | |
372 | (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer. | |
373 | ||
c98a4545 AM |
374 | 2020-04-15 Alan Modra <amodra@gmail.com> |
375 | ||
376 | PR 25821 | |
377 | * readelf.c (get_num_dynamic_syms): Typo fix. | |
378 | ||
645f43a8 AM |
379 | 2020-04-14 Alan Modra <amodra@gmail.com> |
380 | ||
381 | * readelf.c (process_mips_specific): Free eopt and iopt. Avoid | |
382 | possibility of overflow when checking number of conflicts. | |
383 | ||
10ca4b04 L |
384 | 2020-04-14 H.J. Lu <hongjiu.lu@intel.com> |
385 | ||
386 | PR binutils/25707 | |
387 | * readelf.c (nbuckets): New. | |
388 | (nchains): Likewise. | |
389 | (buckets): Likewise. | |
390 | (chains): Likewise. | |
391 | (ngnubuckets): Likewise. | |
392 | (gnubuckets): Likewise. | |
393 | (gnuchains): Likewise. | |
394 | (mipsxlat): Likewise. | |
395 | (ngnuchains): Likewise. | |
396 | (gnusymidx): Likewise. | |
397 | (VALID_SYMBOL_NAME): Likewise. | |
398 | (VALID_DYNAMIC_NAME): Use it. | |
399 | (get_dynamic_data): Moved before process_dynamic_section. | |
400 | (get_num_dynamic_syms): New function. | |
401 | (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH, | |
402 | DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol | |
403 | table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string | |
404 | table. | |
405 | (get_symbol_index_type): Don't print "bad section index" when | |
406 | there is no section header. | |
407 | (print_dynamic_symbol): Rewrite. | |
408 | (process_symbol_table): Call print_dynamic_symbol to dump dynamic | |
409 | symbol table. | |
410 | ||
bb897477 RO |
411 | 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
412 | ||
413 | * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't | |
414 | enable on *-*-solaris*. | |
415 | ||
00386881 NC |
416 | 2020-03-30 Nick Clifton <nickc@redhat.com> |
417 | ||
418 | PR binutils/25662 | |
419 | * objcopy.c (copy_object): When copying PE format files set the | |
420 | timestamp field in the pe_data structure if the preserve_dates | |
421 | flag is set. | |
422 | * testsuite/binutils-all/objcopy.exp (objcopy_test) Use | |
423 | --preserve-dates in place of the -p option, in order to make its | |
424 | effect more obvious. | |
425 | ||
0a6a8b59 AM |
426 | 2020-03-28 Alan Modra <amodra@gmail.com> |
427 | ||
428 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Only | |
429 | clear_xfail hppa*-*-*elf*. Revert mips xfails. | |
430 | ||
6a81c59b AM |
431 | 2020-03-28 Alan Modra <amodra@gmail.com> |
432 | ||
433 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails | |
434 | from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x | |
435 | but do xfail spu, mipstx39 and mips-sgi-irix for the executable | |
436 | test. Pass "-p" to objcopy for the executable test. | |
437 | ||
1fafefd5 JL |
438 | 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
439 | ||
440 | PR binutils/25662 | |
441 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to | |
442 | specify whether an object file or executable should be built and tested. | |
443 | Change test names to report whether an object file or executable is | |
444 | being tested. | |
445 | * testsuite/binutils-all/pr25662.ld: New test. | |
446 | * testsuite/binutils-all/pr25662.s: New test. | |
447 | ||
80e2a3b6 AM |
448 | 2020-03-27 Alan Modra <amodra@gmail.com> |
449 | ||
450 | * readelf.c (process_archive): Don't double free qualified_name. | |
451 | Don't break out of loop with "negative" archive_file_size, just | |
452 | set file offset to max. | |
453 | ||
4c836627 AM |
454 | 2020-03-25 Alan Modra <amodra@gmail.com> |
455 | ||
456 | * readelf.c (process_archive): Prevent endless loop. | |
457 | ||
1081065c L |
458 | 2020-03-24 H.J. Lu <hongjiu.lu@intel.com> |
459 | ||
460 | PR binutils/25708 | |
461 | * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name | |
462 | with bfd_get_symbol_version_string. | |
463 | (print_symbo): Pass TRUE to bfd_get_symbol_version_string. | |
464 | * objdump.c (objdump_print_symname): Likewise. | |
465 | ||
7e6e972f L |
466 | 2020-03-24 H.J. Lu <hongjiu.lu@intel.com> |
467 | ||
468 | PR binutils/25708 | |
469 | * nm.c (SYM_NAME): Removed. | |
470 | (print_symname): Add a pointer to struct extended_symbol_info | |
471 | argument. Call _bfd_elf_get_symbol_version_name to get symbol | |
472 | version. | |
473 | (print_symdef_entry): Pass NULL to print_symname. | |
474 | (print_symbol_info_bsd): Update call to print_symname. | |
475 | (print_symbol_info_sysv): Likewise. | |
476 | (print_symbol_info_posix): Likewise. | |
477 | ||
5a814d6d AM |
478 | 2020-03-24 Alan Modra <amodra@gmail.com> |
479 | ||
480 | * readelf.c (process_mips_specific): Free iconf on error path. | |
481 | ||
0636b245 NC |
482 | 2020-03-23 Nick Clifton <nickc@redhat.com> |
483 | ||
484 | PR 25714 | |
485 | * wrstabs.c (stab_pop_type): Replace assertion with error return. | |
486 | * write_stabs_in_sections_debugging_info: Likewise. | |
487 | * stab_enum_type: Likewise. | |
488 | * stab_modify_type: Likewise. | |
489 | * stab_struct_field: Likewise. | |
490 | * stab_end_struct_type: Likewise. | |
491 | * stab_start_class_type: Likewise. | |
492 | * stab_class_static_member: Likewise. | |
493 | * stab_class_baseclass: Likewise. | |
494 | * stab_class_start_method: Likewise. | |
495 | * stab_class_method_var: Likewise. | |
496 | * stab_class_end_method: Likewise. | |
497 | * stab_end_class_type: Likewise. | |
498 | * stab_typedef_type: Likewise. | |
499 | * stab_start_function: Likewise. | |
500 | * stab_end_block: Likewise. | |
501 | * stab_lineno: Likewise. | |
502 | ||
5844b465 NC |
503 | 2020-03-20 Nick Clifton <nickc@redhat.com> |
504 | ||
505 | * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT. | |
506 | (process_section_headers): Check the return value from | |
507 | get_compression_header. | |
508 | (dump_section_as_strings): Likewise. | |
509 | (dump_section_as_bytes): Likewise. | |
510 | (load_specific_debug_section): Likewise. | |
511 | ||
3d98c460 L |
512 | 2020-03-20 H.J. Lu <hongjiu.lu@intel.com> |
513 | ||
514 | * ar.c (main): Update bfd_plugin_set_program_name call. | |
515 | * nm.c (main): Likewise. | |
516 | ||
f3a08f77 NC |
517 | 2020-03-19 Nick Clifton <nickc@redhat.com> |
518 | ||
519 | PR 25676 | |
520 | * testsuite/binutils-all/dw4.s: New test source file. | |
521 | * testsuite/binutils-all/nm.exp: Run the new test. | |
522 | ||
ef3df110 L |
523 | 2020-03-19 H.J. Lu <hongjiu.lu@intel.com> |
524 | ||
525 | * readelf.c (process_symbol_table): Use unsigned long for si. | |
526 | ||
81a65eb3 AM |
527 | 2020-03-19 Alan Modra <amodra@gmail.com> |
528 | ||
529 | * elfcomm.c: Don't include bfd.h or bucomm.h. | |
530 | (program_name): Declare. | |
531 | (process_archive_index_and_symbols): Replace bfd_boolean with int, | |
532 | and substitute FALSE and TRUE. | |
533 | (setup_archive, setup_nested_archive): Likewise. | |
534 | * elfcomm.h: Likewise. | |
535 | ||
1cb7d8b1 AM |
536 | 2020-03-19 Alan Modra <amodra@gmail.com> |
537 | ||
538 | * readelf.c (process_archive): Always return via path freeing | |
539 | memory. Formatting. | |
540 | ||
b966f55f AM |
541 | 2020-03-19 Alan Modra <amodra@gmail.com> |
542 | ||
543 | * readelf.c (process_netbsd_elf_note): Validate descsz before | |
544 | accessing descdata. Formatting. | |
545 | ||
645ba681 AM |
546 | 2020-03-19 Alan Modra <amodra@gmail.com> |
547 | ||
548 | * elfcomm.c (setup_archive): Make file_size an off_t. Comment. | |
549 | * elfcomm.h (setup_archive): Update prototype. | |
550 | ||
28d13567 AM |
551 | 2020-03-16 Alan Modra <amodra@gmail.com> |
552 | ||
553 | * readelf.c (get_symbols): New function. | |
554 | (process_relocs, ia64_process_unwind, hppa_process_unwind), | |
555 | (arm_process_unwind, get_symbol_for_build_attribute): Use it. | |
556 | ||
60e63c3e AM |
557 | 2020-03-16 Alan Modra <amodra@gmail.com> |
558 | ||
559 | * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts. | |
560 | Detect shift overflows and check that terminating byte is found. | |
561 | Print an error on a bad uleb128. | |
562 | ||
1bd6175a AM |
563 | 2020-03-14 Alan Modra <amodra@gmail.com> |
564 | ||
565 | * readelf.c (process_file): Clean ba_cache. | |
566 | ||
780f96ae AM |
567 | 2020-03-14 Alan Modra <amodra@gmail.com> |
568 | ||
569 | * elfcomm.h (setup_archive): Update prototype. | |
570 | * elfcomm.c (setup_archive): Add file_size parameter and sanity | |
571 | check longnames_size. | |
572 | (setup_nested_archive): Get file size and pass to setup_archive. | |
573 | * elfedit.c (process_archive): Likewise. | |
574 | * readelf.c (process_archive): Pass filedata->file_size to | |
575 | setup_archive. | |
576 | ||
f761cb13 AM |
577 | 2020-03-14 Alan Modra <amodra@gmail.com> |
578 | ||
579 | * readelf.c (dump_section_as_strings): Free memory on error exit. | |
580 | (dump_section_as_bytes, process_notes_at): Likewise. | |
581 | (get_build_id): Free enote. | |
582 | ||
06d949ec KR |
583 | 2020-03-13 Kamil Rytarowski <n54@gmx.com> |
584 | ||
585 | * readelf.c (get_netbsd_elfcore_note_type): Add support for | |
586 | NT_NETBSDCORE_LWPSTATUS notes. | |
587 | ||
fd486f32 AM |
588 | 2020-03-13 Alan Modra <amodra@gmail.com> |
589 | ||
590 | * elfcomm.c (get_archive_member_name): Always return malloc'd | |
591 | string or NULL. | |
592 | * elfedit.c (process_archive): Tidy memory on all return paths. | |
593 | * readelf.c (process_archive): Likewise. | |
594 | (process_symbol_table): Likewise. | |
595 | (ba_cache): New, replacing .. | |
596 | (get_symbol_for_build_attribute): ..static vars here. Free | |
597 | strtab and symtab before loading new ones. Reject symtab without | |
598 | valid strtab in loop, breaking out of loop on valid symtab. | |
599 | (process_file): Free ba_cache symtab and strtab here, resetting | |
600 | ba_cache. | |
601 | ||
8fb879cd AM |
602 | 2020-03-12 Alan Modra <amodra@gmail.com> |
603 | ||
604 | * readelf.c (process_section_headers): Don't just set | |
605 | filedata->section_headers NULL, free it first. Similarly for | |
606 | dynamic_symbols, dynamic_strings, dynamic_syminfo and | |
607 | symtab_shndx_list. Zero associated counts too. | |
608 | (process_object): Free symtab_shndx_list. | |
609 | (process_file): Free various allocated filedata tables. | |
610 | ||
5496f3c6 NC |
611 | 2020-03-11 Nick Clifton <nickc@redhat.com> |
612 | ||
613 | PR 25611 | |
614 | PR 25614 | |
615 | * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and | |
616 | li_segment_size fields. | |
617 | * dwarf.c (read_debug_line_header): Record the address size and | |
618 | segment selector size values (if present) in the lineinfo | |
619 | structure. | |
620 | (display_formatted_table): Warn if the format count is empty but | |
621 | the table itself is not empty. | |
622 | Display the format count and entry count at the start of the table | |
623 | dump. | |
624 | (display_debug_lines_raw): Display the address size and segement | |
625 | selector size fields, if present. | |
626 | * testsuite/binutils-all/dw5.W: Update expected output. | |
627 | ||
9cc89dc0 AM |
628 | 2020-03-11 Alan Modra <amodra@gmail.com> |
629 | ||
630 | PR 25651 | |
631 | * objcopy.c (copy_object): Test "gaps" not gap_fill_set or | |
632 | pad_to_set on second block of code dealing with padding. | |
633 | Replace "c" with "num_sec" and don't recalculate number of | |
634 | sections on second block. Size arrays using sizeof (element) | |
635 | rather than sizeof (element type). | |
636 | ||
41da0822 AM |
637 | 2020-03-10 Alan Modra <amodra@gmail.com> |
638 | ||
639 | * objdump.c (disassemble_section): Don't call qsort unless | |
640 | sym count is at least two. | |
641 | (disassemble_data): Don't call memcpy with NULL src. | |
642 | ||
95099889 AM |
643 | 2020-03-09 Alan Modra <amodra@gmail.com> |
644 | ||
645 | PR 25645 | |
646 | * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb | |
647 | to get_data rather than multiplying. | |
648 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
649 | (process_version_sections): Correct order of size and nmemb args | |
650 | in get_data call. | |
651 | (process_mips_specific): Likewise. | |
652 | ||
a15de1f5 L |
653 | 2020-03-08 H.J. Lu <hongjiu.lu@intel.com> |
654 | ||
655 | * readelf.c (get_dynamic_data): Replace "memory chekers" with | |
656 | "memory checkers" in comments. | |
657 | ||
9979ab66 SM |
658 | 2020-03-06 Simon Marchi <simon.marchi@efficios.com> |
659 | ||
660 | PR 25491 | |
661 | * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES. | |
662 | * doc/Makefile.in: Re-generate. | |
663 | ||
a0dcf297 NC |
664 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
665 | ||
666 | * objcopy.c (check_new_section_flags): New function. Reject the | |
667 | SEC_COFF_SHARED flag if the target is not a COFF binary. | |
668 | (copy_object): Call check_new_section_flags. | |
669 | (setup_section): Likewise. | |
670 | * doc/binutils.texi (objcopy): Add a note that the 'share' section | |
671 | flag cannot be applied to ELF binaries. | |
672 | ||
a9b90127 AM |
673 | 2020-03-06 Alan Modra <amodra@gmail.com> |
674 | ||
675 | PR 25637 | |
676 | * objcopy.c (filter_symbols): Correct rem_leading_char logic. | |
677 | ||
d1faf7ca AM |
678 | 2020-03-05 Alan Modra <amodra@gmail.com> |
679 | ||
680 | PR 25629 | |
681 | * objcopy.c (filter_symbols): Don't segfault on NULL | |
682 | prefix_symbols_string. | |
683 | ||
eef64366 CE |
684 | 2020-03-04 Christian Eggers <ceggers@gmx.de> |
685 | ||
686 | * objcopy.c (copy_object): Convert from bytes to octets for | |
687 | --gap-fill and --pad-to. | |
688 | ||
5be2b2f5 NC |
689 | 2020-03-03 Nick Clifton <nickc@redhat.com> |
690 | ||
691 | PR 25625 | |
692 | * prdbg.c (pr_tag_type): Remove call to abort. | |
693 | ||
b312fea1 AM |
694 | 2020-03-02 Aaron Merey <amerey@redhat.com> |
695 | ||
696 | * binutils/testsuite/binutils-all/debuginfod.exp: Improve port | |
697 | selection. | |
698 | ||
ba3265d0 NC |
699 | 2020-03-02 Nick Clifton <nickc@redhat.com> |
700 | ||
701 | PR 25543 | |
702 | * readelf.c (dump_section_as_strings): Display new-line characters | |
703 | as \n and then insert a line break. | |
704 | * testsuite/binutils-all/pr25543.s: New test. | |
705 | * testsuite/binutils-all/pr25543.d: Test driver. | |
706 | * testsuite/binutils-all/readelf.exp: Run the new test. | |
707 | ||
736990c4 NC |
708 | 2020-02-27 Nick Clifton <nickc@redhat.com> |
709 | ||
710 | PR 25526 | |
711 | * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if | |
712 | get_data is unable to load the string table. | |
713 | ||
dc1e8a47 AM |
714 | 2020-02-26 Alan Modra <amodra@gmail.com> |
715 | ||
716 | * elfedit.c: Indent labels correctly. | |
717 | * readelf.c: Likewise. | |
718 | * resres.c: Likewise. | |
719 | ||
ecda9016 L |
720 | 2020-02-25 H.J. Lu <hongjiu.lu@intel.com> |
721 | ||
722 | PR binutils/25584 | |
723 | * ar.c (main): Pass 0 to bfd_plugin_set_program_name. | |
724 | * nm.c (main): Pass 1 to bfd_plugin_set_program_name. | |
725 | ||
83d4d556 NC |
726 | 2020-02-24 Nick Clifton <nickc@redhat.com> |
727 | ||
728 | PR 25499 | |
729 | * doc/binutils.texi (objdump): Fix typo in description of | |
730 | objdump's -g option. | |
731 | ||
bd0cf5a6 NC |
732 | 2020-02-20 Nelson Chu <nelson.chu@sifive.com> |
733 | ||
734 | * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR | |
735 | is changed. | |
736 | ||
741cb839 EC |
737 | 2020-02-19 Jordan Rupprecht <rupprecht@google.com> |
738 | ||
739 | * objdump.c (show_line): call bfd_demangle when using do_demangle. | |
740 | ||
9f1528a1 AB |
741 | 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> |
742 | ||
743 | * configure: Regenerate. | |
744 | ||
3a5d12fb FS |
745 | 2020-02-10 Fangrui Song <maskray@google.com> |
746 | ||
747 | * objcopy.c (parse_flags): Handle "exclude". | |
748 | * doc/binutils.texi: Document the support. | |
749 | ||
678d457f AM |
750 | 2020-02-10 Aaron Merey <amerey@redhat.com> |
751 | ||
752 | * binutils/testsuite/binutils-all/debuginfod.exp: | |
753 | Replace set ::env with setenv. | |
46471187 AM |
754 | Start server before setting environment variable. |
755 | Specify tmpdir as the location of the server's | |
756 | database. | |
757 | Check additional server metrics at start-up. | |
678d457f | 758 | |
e8319fde NC |
759 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
760 | ||
761 | * README-how-to-make-a-release: Add note about updating the | |
762 | GAS/NEWS URL in the next release. | |
763 | ||
9fc0b501 SB |
764 | 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> |
765 | ||
766 | PR 25469 | |
767 | * readelf.c (get_machine_flags): Add support for Z80N machine | |
768 | number. | |
769 | ||
e1104d08 NC |
770 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
771 | ||
772 | * dwarf.c (display_debug_lines_decoded): Force a NUL termination | |
773 | of the truncated file name. | |
774 | ||
c2e6f744 | 775 | 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com> |
ece12829 TT |
776 | |
777 | * objdump.c (print_jump_visualisation): New function. | |
778 | (disassemble_bytes): Call new function. | |
779 | ||
02e0be69 AM |
780 | 2020-02-06 Alan Modra <amodra@gmail.com> |
781 | ||
782 | * testsuite/lib/binutils-common.exp (match_target): Accept '!' before | |
783 | TCL procedure. | |
784 | (supports_gnu_osabi): New procedure. | |
785 | (is_generic): New, from ld-lib.exp. | |
786 | (supports_gnu_unique): Use the above. | |
787 | ||
e8b79122 AM |
788 | 2020-02-04 Alan Modra <amodra@gmail.com> |
789 | ||
790 | * Makefile.am (CFILES): Add od-elf32_avr.c. | |
791 | * Makefile.in: Regenerate. | |
792 | * po/POTFILES.in: Regenerate. | |
793 | ||
27a45f42 AS |
794 | 2020-02-03 Andreas Schwab <schwab@linux-m68k.org> |
795 | ||
796 | * readelf.c (dump_relocations, dump_relocations) | |
797 | (decode_arm_unwind_bytecode, process_dynamic_section) | |
798 | (get_symbol_visibility, get_alpha_symbol_other): Add newline to | |
799 | error message. | |
800 | ||
0b398d69 ST |
801 | 2020-02-03 Sergei Trofimovich <siarheit@google.com> |
802 | ||
803 | * coffdump.c (program_name): Drop redundant definition. | |
804 | * srconv.c (program_name): Likewise | |
805 | * sysdump.c (program_name): Likewise | |
806 | ||
a8c4d40b L |
807 | 2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
808 | ||
809 | PR gas/25380 | |
810 | * objdump.c (sym_ok): Return FALSE if 2 sections are in the | |
811 | same file with different section pointers. | |
812 | ||
cb6ad9bb NC |
813 | 2020-02-01 Nick Clifton <nickc@redhat.com> |
814 | ||
815 | * README-how-to-make-a-release: Update with more details on the | |
816 | release making process. | |
817 | ||
53943f32 NC |
818 | 2020-01-31 Nick Clifton <nickc@redhat.com> |
819 | ||
820 | * po/sv.po: Updated Swedish translation. | |
821 | ||
55be8fd0 NC |
822 | 2020-01-28 Nick Clifton <nickc@redhat.com> |
823 | ||
824 | * readelf.c (get_build_id): Simplify warning message about corrupt | |
825 | notes encountered whilst scanning for the build-id. | |
826 | ||
82ef9cad RM |
827 | 2020-01-27 Roland McGrath <mcgrathr@google.com> |
828 | ||
829 | * objcopy.c (compare_gnu_build_notes): Fix comparison results | |
830 | for overlapping ranges so that (A == B) == (B == A) holds. | |
831 | ||
e3696f67 AM |
832 | 2020-01-27 Alan Modra <amodra@gmail.com> |
833 | ||
834 | * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace | |
835 | case statement with switch statement. | |
836 | ||
2f796de6 NC |
837 | 2020-01-24 Nick Clifton <nickc@redhat.com> |
838 | ||
839 | * readelf.c (get_build_id): Fix warning messages about corrupt | |
840 | notes. | |
841 | ||
24e648d4 NC |
842 | 2020-01-23 Nick Clifton <nickc@redhat.com> |
843 | ||
844 | * po/fr.po: Updated French translation. | |
845 | ||
c48acf6f YC |
846 | 2020-01-22 Yuri Chornoivan <yurchor@mageia.org> |
847 | ||
848 | PR 25417 | |
849 | * readelf.c (get_alpha_symbol_other): Fix error message typo. | |
850 | ||
26916852 NC |
851 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
852 | ||
853 | * po/pt.po: Updated Portuguese translation. | |
854 | * po/uk.po: Updated Ukranian translation. | |
855 | ||
b248e9ce NC |
856 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
857 | ||
858 | * README-how-to-make-a-release: Update notes on how to cut a | |
859 | branch for a release. | |
860 | ||
1b1bb2c6 NC |
861 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
862 | ||
863 | * configure: Regenerate. | |
864 | * po/binutils.pot: Regenerate. | |
865 | ||
ae774686 NC |
866 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
867 | ||
868 | Binutils 2.34 branch created. | |
869 | ||
82a9ed20 TT |
870 | 2020-01-17 Thomas Troeger <tstroege@gmx.de> |
871 | ||
872 | * objdump.c (jump_info_visualize_address): Discard jumps that are | |
873 | no longer needed. | |
874 | (disassemble_bytes): Only compute the maximum level if jumps were | |
875 | detected. | |
876 | ||
6a1939f5 NC |
877 | 2020-01-13 Nick Clifton <nickc@redhat.com> |
878 | ||
c87c17c1 | 879 | * objdump.c (disassemble_bytes): Remove C99-ism. |
6a1939f5 NC |
880 | * testsuite/binutils-all/debuginfod.exp: New tests. |
881 | ||
1d67fe3b TT |
882 | 2020-01-13 Thomas Troeger <tstroege@gmx.de> |
883 | ||
884 | * objdump.c (visualize_jumps, color_output, extended_color_output) | |
885 | (detected_jumps): New variables. | |
886 | (usage): Add the new jump visualization options. | |
887 | (option_values): Add new option value. | |
888 | (long_options): Add the new option. | |
889 | (jump_info_new, jump_info_free): New functions. | |
890 | (jump_info_min_address, jump_info_max_address): Likewise. | |
891 | (jump_info_end_address, jump_info_is_start_address): Likewise. | |
892 | (jump_info_is_end_address, jump_info_size): Likewise. | |
893 | (jump_info_unlink, jump_info_insert): Likewise. | |
894 | (jump_info_add_front, jump_info_move_linked): Likewise. | |
895 | (jump_info_intersect, jump_info_merge): Likewise. | |
896 | (jump_info_sort, jump_info_visualize_address): Likewise. | |
897 | (disassemble_jumps): New function - used to locate jumps. | |
898 | (disassemble_bytes): Add ascii art generation. | |
899 | (disassemble_section): Add scan to locate jumps. | |
900 | (main): Parse the new visualization option. | |
901 | * doc/binutils.texi: Document the new feature. | |
902 | * NEWS: Mention the new feature. | |
903 | ||
a788aedd AM |
904 | 2020-01-13 Alan Modra <amodra@gmail.com> |
905 | ||
a4f2b7c5 AM |
906 | PR 25360 |
907 | PR 25361 | |
a788aedd AM |
908 | * dwarf.c (display_debug_frames): Move fde_fc earlier. Free |
909 | fde_fc col_type and col_offset. | |
910 | * readelf.c (apply_relocations): Move symsec check earlier. | |
911 | (free_debug_section): Free reloc_info. | |
912 | (process_notes_at): Free pnotes on error path. | |
913 | (process_object): Free dump_sects here.. | |
914 | (process_archive): ..not here. | |
915 | ||
805f38bc AM |
916 | 2020-01-13 Alan Modra <amodra@gmail.com> |
917 | ||
918 | PR 25362 | |
919 | * nm.c (display_rel_file): Free dyn_syms. | |
920 | ||
ffebb0bb NC |
921 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
922 | ||
923 | PR 25220 | |
924 | * objcopy.c (empty_name): New variable. | |
925 | (need_sym_before): Prevent an attempt to free a static variable. | |
926 | (filter_symbols): Avoid strcmp test by checking for pointer | |
927 | equality. | |
928 | ||
ade4fd9b NC |
929 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
930 | ||
931 | * po/zh_TW.po: Updated Traditional Chinese translation. | |
932 | ||
933 | 2020-01-09 Aaron Merey <amerey@redhat.com> | |
934 | ||
935 | * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod. | |
936 | * Makefile.in: Regenerate. | |
937 | * NEWS: Update. | |
938 | * config.in: Regenerate. | |
939 | * configure: Regenerate. | |
940 | * configure.ac: Call AC_DEBUGINFOD. | |
941 | * doc/Makefile.in: Regenerate. | |
942 | * doc/binutils.texi: Add section on using binutils | |
943 | with debuginfod. | |
944 | * dwarf.c (debuginfod_fetch_separate_debug_info): New function. | |
945 | Query debuginfod servers for the target debug file. | |
946 | (load_separate_debug_info): Call | |
947 | debuginfod_fetch_separate_debug_info if configured with | |
948 | debuginfod. | |
949 | (load_separate_debug_files): Add file argument to | |
950 | load_separate_debug_info calls. | |
951 | * dwarf.h (get_build_id): Add declaration. | |
952 | * objdump.c (get_build_id): New function. Get build-id of file. | |
953 | * readelf.c (get_build_id): Likewise. | |
954 | * testsuite/binutils-all/debuginfod.exp: New tests. | |
955 | * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id | |
956 | section. | |
957 | ||
6655dba2 SB |
958 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
959 | ||
960 | * readelf.c: Add support for new Z*) relocations and machine | |
961 | types. | |
962 | ||
b14ce8bf AM |
963 | 2020-01-01 Alan Modra <amodra@gmail.com> |
964 | ||
965 | Update year range in copyright notice of all files. | |
966 | ||
0b114740 | 967 | For older changes see ChangeLog-2019 |
3499769a | 968 | \f |
0b114740 | 969 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
970 | |
971 | Copying and distribution of this file, with or without modification, | |
972 | are permitted in any medium without royalty provided the copyright | |
973 | notice and this notice are preserved. | |
974 | ||
975 | Local Variables: | |
976 | mode: change-log | |
977 | left-margin: 8 | |
978 | fill-column: 74 | |
979 | version-control: never | |
980 | End: |