]>
Commit | Line | Data |
---|---|---|
279d901e L |
1 | 2020-12-23 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * NEWS: Mention LAM_U48 and LAM_U57 support. | |
4 | * elfedit.c (elf_x86_feature): Support lam_u48 and lam_u57. | |
5 | (usage): Add lam_u48 and lam_u57. | |
6 | * readelf.c (decode_x86_feature_1): Support LAM_U48 and LAM_U57. | |
7 | * doc/binutils.texi: Update elfedit with lam_u48 and lam_u57 | |
8 | support. | |
9 | * testsuite/binutils-all/x86-64/lam-u48.d: New file. | |
10 | * testsuite/binutils-all/x86-64/lam-u48.s: Likewise. | |
11 | * testsuite/binutils-all/x86-64/lam-u57.d: Likewise. | |
12 | * testsuite/binutils-all/x86-64/lam-u57.s: Likewise. | |
13 | ||
a5da3dee VDM |
14 | 2020-12-15 Vivek Das Mohapatra <vivek@collabora.com> |
15 | ||
16 | * readelf.c (get_dynamic_type): Handle DT_GNU_FLAGS_1. | |
17 | (process_dynamic_section): Likewise. | |
18 | ||
4cf2ad72 CC |
19 | 2020-12-11 Cary Coutant <ccoutant@gmail.com> |
20 | ||
21 | * readelf.c (get_machine_name): Update list of e_machine values. | |
22 | ||
b143e2d5 SH |
23 | 2020-12-11 Sebastian Huber <sebastian.huber@embedded-brains.de> |
24 | ||
25 | * ar.c (write_archive): Cast iostream pointer to FILE *. | |
26 | * arsup.c (ar_save): Likewise. | |
27 | * objcopy.c (copy_file): Likewise. | |
28 | ||
84614182 NC |
29 | 2020-12-07 Nick Clifton <nickc@redhat.com> |
30 | ||
31 | * objcopy.c (is_mergeable_note_section): Remove reference to | |
32 | SHF_GNU_BUILD_NOTE. | |
33 | ||
014cc7f8 SP |
34 | 2020-12-07 Siddhesh Poyarekar <siddhesh@sourceware.org> |
35 | ||
36 | PR 26945 | |
37 | * ar.c | |
38 | (write_archive) [!defined (_WIN32) || defined (__CYGWIN32__)]: | |
39 | Initialize TARGET_STAT and OFD to pass to SMART_RENAME. | |
40 | * arsup.c | |
41 | (ar_save) [defined (_WIN32) || defined (__CYGWIN32__)]: | |
42 | Likewise. | |
43 | * bucomm.h (smart_rename): Add new arguments to declaration. | |
44 | * objcopy.c | |
45 | (strip_main)[defined (_WIN32) || defined (__CYGWIN32__)]: | |
46 | Initialize COPYFD and pass to SMART_RENAME. | |
47 | (copy_main) [defined (_WIN32) || defined (__CYGWIN32__)]: | |
48 | Likewise. | |
49 | * rename.c (try_preserve_permissions): New function. | |
50 | (smart_rename): Use it and add new arguments. | |
51 | ||
1a1c3b4c SP |
52 | 2020-12-07 Siddhesh Poyarekar <siddhesh@sourceware.org> |
53 | ||
54 | PR 26945 | |
55 | * objcopy.c (copy_file): New argument IN_STAT. Return stat of | |
56 | ibfd through it. | |
57 | (strip_main): Remove redundant stat calls. adjust copy_file | |
58 | calls. | |
59 | (copy_main): Likewise. | |
60 | ||
365f5fb6 SP |
61 | 2020-12-07 Siddhesh Poyarekar <siddhesh@sourceware.org> |
62 | ||
63 | PR 26945 | |
64 | * bucomm.c (make_tempname): Add argument to return file | |
65 | descriptor. | |
66 | * bucomm.h (make_tempname): Likewise. | |
67 | * ar.c: Include libbfd.h. | |
68 | (write_archive): Adjust for change in make_tempname. Call | |
69 | bfd_fdopenw instead of bfd_openw. | |
70 | * objcopy.c: Include libbfd.h. | |
71 | (copy_file): New argument OFD. Use bfd_fdopenw instead of | |
72 | bfd_openw. | |
73 | (strip_main): Adjust for change in make_tempname and | |
74 | copy_file. | |
75 | (copy_main): Likewise. | |
76 | ||
77 | ||
a315d390 NC |
78 | 2020-12-07 Nick Clifton <nickc@redhat.com> |
79 | ||
80 | * README-how-to-make-a-release (point releases): Add a note to | |
81 | update the milestone list on sourceware's bugzilla. | |
82 | ||
288f0ba2 AM |
83 | 2020-12-04 Alan Modra <amodra@gmail.com> |
84 | ||
85 | * dwarf.c (frame_display_row): Do without static variable "sloc". | |
86 | (cu_tu_indexes_read): Move to file scope. | |
87 | (free_debug_memory): Reset it here, along with level_type_signed. | |
88 | Free and clear a number of other static variables. | |
89 | * readelf.c (arm_attr_public_tag <table>): Constify, updating.. | |
90 | (arm_attr_tag_*): ..all these uses. | |
91 | (process_mips_specific): Free "rels" on error path. | |
92 | ||
21c33bcb NC |
93 | 2020-11-27 Nick Clifton <nickc@redhat.com> |
94 | ||
95 | PR 26865 | |
96 | * windres.c (main): If the preprocessor name includes spaces, | |
97 | ensure that it is quoted. | |
98 | ||
2c6f3e56 JL |
99 | 2020-11-27 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
100 | ||
101 | * testsuite/lib/binutils-common.exp (supports_noinit_section): New. | |
102 | (supports_persistent_section): New. | |
103 | ||
96c61be5 NA |
104 | 2020-11-23 Nick Alcock <nick.alcock@oracle.com> |
105 | ||
106 | * readelf.c (dump_section_as_ctf): Call ctf_arc_symsect_endianness. | |
107 | ||
6595cf3c AM |
108 | 2020-11-25 Alan Modra <amodra@gmail.com> |
109 | ||
110 | * testsuite/binutils-all/nm.exp (ifunc): xfail more targets. | |
111 | ||
3d16b64e NA |
112 | 2020-11-20 Nick Alcock <nick.alcock@oracle.com> |
113 | ||
114 | * readelf.c (dump_section_as_ctf): Use .dynsym and .dynstr, not | |
115 | .symtab and .strtab. | |
116 | ||
83d59285 NA |
117 | 2020-11-20 Nick Alcock <nick.alcock@oracle.com> |
118 | ||
119 | * objdump.c (dump_ctf): Report errors from ctf_archive_iter. | |
120 | * readelf.c (dump_section_as_ctf): Likewise. | |
121 | ||
ae41200b NA |
122 | 2020-11-20 Nick Alcock <nick.alcock@oracle.com> |
123 | ||
124 | * objdump.c (dump_ctf): Use ctf_dict_open, not | |
125 | ctf_arc_open_by_name. | |
126 | * readelf.c (dump_section_as_ctf): Likewise. | |
127 | ||
139633c3 NA |
128 | 2020-11-20 Nick Alcock <nick.alcock@oracle.com> |
129 | ||
130 | * objdump.c (dump_ctf_errs): Rename ctf_file_t to ctf_dict_t. | |
131 | (dump_ctf_archive_member): Likewise. | |
132 | (dump_ctf): Likewise. Use ctf_dict_close, not ctf_file_close. | |
133 | * readelf.c (dump_ctf_errs): Rename ctf_file_t to ctf_dict_t. | |
134 | (dump_ctf_archive_member): Likewise. | |
135 | (dump_section_as_ctf): Likewise. Use ctf_dict_close, not | |
136 | ctf_file_close. | |
137 | ||
e6f6aa8d NC |
138 | 2020-11-20 Nick Clifton <nickc@redhat.com> |
139 | ||
140 | PR 22967 | |
141 | * nm.c (ifunc_type_chars): New variable. | |
142 | (long_options): Add --ifunc-chars. | |
143 | (print_symbol): Use ifunc_type_chars for ifunc symbols. | |
144 | (main): Handle the new option. | |
145 | * doc/binutils.texi: Document the new option. | |
146 | * configure.ac: Add --enable-f-for-ifunc-symbols option which | |
147 | changes the default symbol displayed by nm. | |
148 | * NEWS: Mention the new feature. | |
149 | * testsuite/binutils-all/nm.exp: Test the new feature. | |
150 | * config.in: Regenerate. | |
151 | * configure: Regenerate. | |
152 | ||
8881640c LZ |
153 | 2020-11-20 Linda Zhang <lindasc@qq.com> |
154 | ||
155 | PR 20979 | |
156 | * dllwrap.c (main): Deprecate and warn the use of dllwrap. | |
157 | ||
cc6fd584 JL |
158 | 2020-11-20 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
159 | ||
160 | * testsuite/binutils-all/readelf-maskos-1a.d: Fix test for unrecognized | |
161 | bit set in SHF_MASKOS range. | |
162 | * testsuite/binutils-all/readelf-maskos-1b.d: Likewise. | |
163 | * testsuite/binutils-all/readelf-maskos-unknown.s: New test. | |
164 | ||
99fabbc9 JL |
165 | 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
166 | ||
167 | * NEWS: Announce SHF_GNU_RETAIN support. | |
168 | * readelf.c (get_elf_section_flags): Handle SHF_GNU_RETAIN. | |
169 | Recognize SHF_GNU_RETAIN and SHF_GNU_MBIND only for supported OSABIs. | |
170 | * testsuite/binutils-all/readelf.exp: Run new tests. | |
171 | Don't run run_dump_test when there isn't an assembler available. | |
172 | * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Adjust | |
173 | comment. | |
174 | * testsuite/binutils-all/readelf-maskos-1a.d: New test. | |
175 | * testsuite/binutils-all/readelf-maskos-1b.d: New test. | |
176 | * testsuite/binutils-all/readelf-maskos.s: New test. | |
177 | * testsuite/binutils-all/retain1.s: New test. | |
178 | * testsuite/binutils-all/retain1a.d: New test. | |
179 | * testsuite/binutils-all/retain1b.d: New test. | |
180 | ||
0833984d HC |
181 | 2020-11-17 Howard Chu <hyc@symas.com> |
182 | ||
183 | * ar.c (main): Place the libdeps record in the second archive | |
184 | slot. | |
185 | ||
50ea0877 NC |
186 | 2020-11-13 Nick Clifton <nickc@redhat.com> |
187 | ||
188 | PR 26829 | |
189 | * dwarf.c (struct dwo_info): Add cu_offset field. | |
190 | (add_dwo_info): Add cu_offset parameter. Record in new dwo_info | |
191 | struct. | |
192 | (add_dwo_name): Add cu_offset field. | |
193 | (add_dwo_dir): Add cu_offset field. | |
194 | (add_dwo_id): Add cu_offset field. | |
195 | (read_and_display_attr_value): Pass cu_offset to dwo recording | |
196 | functions. | |
197 | (load_separate_debug_files): Accumulate name, dir and id values | |
198 | and display once for each CU. | |
199 | * testsuite/binutils-all/dwo.sL Use a separate CU for the second | |
200 | dwo link. | |
201 | * testsuite/binutils-all/readelf.k2: Update expected output. | |
202 | ||
4d932715 BE |
203 | 2020-11-11 Bernd Edlinger <bernd.edlinger@hotmail.de> |
204 | ||
205 | * dwarf.c (display_debug_rnglists_list): Only bias the | |
206 | DW_RLS_offset_pair with the base address. | |
207 | ||
ed1afd86 NC |
208 | 2020-11-10 Nick Clifton <nickc@redhat.com> |
209 | ||
210 | * dwarf.c (skip_attr_bytes): Correctly handle DW_FORM_ref8. | |
211 | (get_type_abbrev_from_form): Accept DW_FORM_ref8. | |
212 | ||
a76bf0e5 AS |
213 | 2020-11-09 Andreas Schwab <schwab@linux-m68k.org> |
214 | ||
215 | * Makefile.am (development.exp): Fix regexp. | |
216 | * Makefile.in: Regenerate. | |
217 | ||
521d4b19 NC |
218 | 2020-11-09 Nick Clifton <nickc@redhat.com> |
219 | ||
220 | PR 26847 | |
221 | * dwarf.c (read_and_display_attr_value): In wide mode, display the | |
222 | name of the form. | |
223 | ||
a4e91c46 AM |
224 | 2020-11-09 Alan Modra <amodra@gmail.com> |
225 | ||
226 | * elfedit (usage): Avoid false positive "may be used uninitialised". | |
227 | Don't leak memory. | |
228 | ||
c9af3845 HC |
229 | 2020-11-09 Howard Chu <hyc@symas.com> |
230 | ||
231 | * ar.c (main): Use plugin_target rather than "target" when | |
232 | resetting libdeps_bfd target. | |
233 | ||
9c905051 L |
234 | 2020-11-06 H.J. Lu <hongjiu.lu@intel.com> |
235 | ||
236 | * elfedit.c: Include "libiberty.h". | |
237 | (usage): Update help message. | |
238 | ||
f3016d6c HC |
239 | 2020-11-03 Howard Chu <hyc@symas.com> |
240 | ||
241 | * ar.c (long_options): Add --record-libdeps. | |
242 | (usage): Mention the new option. | |
243 | (decode_options): Handle the new option. | |
244 | (replace_members): If necessary, create a bfd to hold the libdeps | |
245 | description. | |
246 | * binemul.c (ar_emul_append_bfd): New function. | |
247 | (ar_emul_replace_bfd): New function. | |
248 | (ar_emul_default_append): Replace file_name and target arguments | |
249 | with new_bfd argument. | |
250 | (ar_emul_default_replace): Likewise. | |
251 | * binemul.h: Update prototypes. | |
252 | (struct bin_emulation_xfer_struct): Update fields. | |
253 | * doc/binutils.texi: Document the new option. | |
254 | * NEWS: Mention the new feature. | |
255 | * emul_aix.c (ar_emul_aix_append): Update. | |
256 | (ar_emul_aix_replace): Likewise. | |
257 | * testsuite/binutils-all/ar.exp: Add test of new feature. | |
258 | ||
b0ab0693 L |
259 | 2020-10-30 H.J. Lu <hongjiu.lu@intel.com> |
260 | ||
261 | PR gas/26703 | |
262 | * readelf.c (decode_x86_isa): Handle | |
263 | * GNU_PROPERTY_X86_ISA_1_BASELINE. | |
264 | * testsuite/binutils-all/i386/empty.d: Updated. | |
265 | * testsuite/binutils-all/i386/ibt.d: Likewise. | |
266 | * testsuite/binutils-all/i386/pr21231a.d: Likewise. | |
267 | * testsuite/binutils-all/i386/pr21231b.d: Likewise. | |
268 | * testsuite/binutils-all/i386/shstk.d: Likewise. | |
269 | * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. | |
270 | * testsuite/binutils-all/x86-64/empty.d: Likewise. | |
271 | * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise. | |
272 | * testsuite/binutils-all/x86-64/ibt.d: Likewise. | |
273 | * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. | |
274 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. | |
275 | * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. | |
276 | * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. | |
277 | * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. | |
278 | * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. | |
279 | * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. | |
280 | * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. | |
281 | * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. | |
282 | * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. | |
283 | * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise. | |
284 | * testsuite/binutils-all/x86-64/shstk.d: Likewise. | |
285 | ||
76868f36 L |
286 | 2020-10-29 H.J. Lu <hongjiu.lu@intel.com> |
287 | ||
288 | PR binutils/26808 | |
289 | * dwarf.c (abbrev_list): Add abbrev_base. | |
290 | (new_abbrev_list): Add an abbrev_base argument and record it. | |
291 | (find_abbrev_list_by_abbrev_offset): Add an abbrev_base argument | |
292 | and match it. | |
293 | (process_debug_info): Pass abbrev_base to new_abbrev_list and | |
294 | find_abbrev_list_by_abbrev_offset. | |
295 | (display_debug_abbrev): Pass 0 abbrev_base to new_abbrev_list | |
296 | and find_abbrev_list_by_abbrev_offset. | |
297 | * testsuite/binutils-all/x86-64/pr26808.dump: New file. | |
298 | * testsuite/binutils-all/x86-64/pr26808.dwp.bz2: Likewise. | |
299 | * testsuite/binutils-all/x86-64/x86-64.exp: Run PR binutils/26808 | |
300 | test. | |
301 | ||
00c19b8e NC |
302 | 2020-10-29 Nick Clifton <nickc@redhat.com> |
303 | ||
304 | PR 26805 | |
305 | * objcopy.c (is_dwo_section): Check for missing or short section | |
306 | names. | |
307 | ||
ce04ca31 AR |
308 | 2020-10-26 Andreas Rammhold <andreas@rammhold.de> |
309 | ||
310 | * README-how-to-make-a-release: Use sha256sum instead of md5sum. | |
311 | ||
ec3f28df NC |
312 | 2020-10-28 Nick Clifton <nickc@redhat.com> |
313 | ||
314 | PR 26795 | |
315 | * elfedit.c (process_archive): Remove spurious call to free(). | |
316 | ||
bcd213b2 NC |
317 | 2020-10-27 Nick Clifton <nickc@redhat.com> |
318 | ||
319 | * dwarf.c (struct abbrev_list): New structure. Used to collect | |
320 | lists of abbreviation sets. | |
321 | (struct abbrev_map): New structure. Used to map CU offsets to | |
322 | abbreviation offsets. | |
323 | (record_abbrev_list): New function. A new entry to an | |
324 | abbreviation list. | |
325 | (free_all_abbrevs): Update to free abbreviation lists. | |
326 | (new_abbrev_list): New function. Start a new abbreviation | |
327 | list. | |
328 | (find_abbrev_list_by_abbrev_offset): New function. | |
329 | (find_abbrev_map_by_offset): New function. | |
330 | (add_abbrev): Add abbrev_list parameter. | |
331 | (add_abbrev_attr): Likewise. | |
332 | (process_abbrev_section): Rename to process_abbrev_set and add | |
333 | list parameter. | |
334 | (get_type_abbrev_from_form): New function. Attempts to decode the | |
335 | forms used by DW_AT_type attributes. | |
336 | (get_type_signedness): Display type names if operating in wide | |
337 | mode. Use get_type_abbrev_from_form. | |
338 | (read_and_display_attr_value): Use get_type_abbrev_from_form. | |
339 | (process_debug_info): Pre-parse the CU headers to collate all the | |
340 | abbrevs before starting the main scan. | |
341 | (process_debug_abbrev): Do not free any loaded abbrevs. | |
342 | (free_debug_memory): Free the abbrev maps. | |
343 | ||
64ec7c3f L |
344 | 2020-10-22 H.J. Lu <hongjiu.lu@intel.com> |
345 | ||
346 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Report | |
347 | error message on error. | |
348 | ||
777cd7ab DDAG |
349 | 2020-10-22 Dr. David Alan Gilbert <dgilbert@redhat.com> |
350 | ||
351 | * windmc.c (write_header_define): Fix printf format. | |
352 | (write_header): Likewise. | |
353 | ||
59624513 NC |
354 | 2020-10-21 Nick Clifton <nickc@redhat.com> |
355 | ||
356 | * dwarf.c (skip_attr_bytes): Accept DWARF versions higher than 4 | |
357 | when processing the DW_FORM_ref_addr form. | |
358 | Skip bytes in DW_FORM_block and DW_FORM_exprloc forms. | |
359 | Handle DW_FORM_indirect. | |
360 | (get_type_signedness): Allow a limited amount of recursion. | |
361 | Do not attempt to decode types that use the DW_FORM_ref_addr form. | |
362 | (read_and_display_attr_value): Do not attempt to decode types | |
363 | that use the DW_FORM_ref_addr form. | |
364 | ||
b9e920ec AM |
365 | 2020-10-20 Alan Modra <amodra@gmail.com> |
366 | ||
367 | * readelf.c: Delete whitespace at end of line throughout. | |
368 | (SECTION_NAME, SECTION_NAME_VALID): New. | |
369 | (SECTION_NAME_PRINT): Rename from SECTION_NAME. Formatting. | |
370 | (printable_section_name, dump_relocations): Use SECTION_NAME_PRINT. | |
371 | (process_section_headers, process_section_groups): Likewise. | |
372 | (shdr_to_ctf_sect): Likewise. | |
373 | (find_section, find_section_in_set): Use SECTION_NAME_VALID. | |
374 | (ia64_process_unwind, hppa_process_unwind): Likewise. | |
375 | (display_debug_section, initialise_dumps_byname): Likewise. | |
376 | (process_lto_symbol_tables): Likewise. Check trailing period of | |
377 | lto symbol table names. | |
378 | (display_lto_symtab): Use sizeof instead of strlen. | |
379 | ||
ce786647 NC |
380 | 2020-10-20 Nelson Chu <nelson.chu@sifive.com> |
381 | ||
382 | * MAINTAINERS (RISC-V): Add myself as RISC-V co-maintainer. | |
383 | ||
0f03783c NC |
384 | 2020-10-19 Nick Clifton <nickc@redhat.com> |
385 | ||
386 | * readelf.c (do_lto_syms): New local. | |
387 | (long_option_values): Add OPTION_LTO_SYMS. | |
388 | (options): Add --lto-syms. | |
389 | (usage): Mention the new option. | |
390 | (parse_args): Parse the new option. | |
391 | (get_lto_kind): New function. | |
392 | (get_lto_visibility): New function. | |
393 | (get_lto_sym_type): New function. | |
394 | (display_lto_symtab): New function - displays the contents of an | |
395 | LTo symbol table section. | |
396 | (process_lto_symbol_tables): New functions. Calls | |
397 | dipslay_lto_symtab on any LTO symbol table section. | |
398 | (process_object_file): Call process_lto_symbol_tables. | |
399 | * doc/binutils.texi: Document the new option. | |
400 | * NEWS: Mention the new feature. | |
401 | ||
32930e4e L |
402 | 2020-10-09 H.J. Lu <hongjiu.lu@intel.com> |
403 | ||
404 | PR gas/26703 | |
405 | * readelf.c (decode_x86_compat_2_isa): New function. | |
406 | (decode_x86_isa): Updated for new X86_ISA_1_XXX bits. | |
407 | (decode_x86_feature_1): Handle GNU_PROPERTY_X86_FEATURE_2_MASK. | |
408 | (print_gnu_property_note): Handle X86_COMPAT_2_ISA_1_USED, | |
409 | and X86_COMPAT_2_ISA_1_NEEDED. | |
410 | * testsuite/binutils-all/i386/pr21231b.s: Updated to the current | |
411 | GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED | |
412 | values. | |
413 | * testsuite/binutils-all/x86-64/pr21231b.s: Likewise. | |
414 | * testsuite/binutils-all/x86-64/pr23494a.s: Likewise. | |
415 | * testsuite/binutils-all/x86-64/pr23494b.s: Likewise. | |
416 | * testsuite/binutils-all/x86-64/pr23494c.s: Likewise. | |
417 | * testsuite/binutils-all/i386/empty.d: Updated. | |
418 | * testsuite/binutils-all/i386/ibt.d: Likewise. | |
419 | * testsuite/binutils-all/i386/pr21231a.d: Likewise. | |
420 | * testsuite/binutils-all/i386/pr21231b.d: Likewise. | |
421 | * testsuite/binutils-all/i386/shstk.d: Likewise. | |
422 | * testsuite/binutils-all/x86-64/empty-x32.d: Likewise. | |
423 | * testsuite/binutils-all/x86-64/empty.d: Likewise. | |
424 | * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise. | |
425 | * testsuite/binutils-all/x86-64/ibt.d: Likewise. | |
426 | * testsuite/binutils-all/x86-64/pr21231a.d: Likewise. | |
427 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. | |
428 | * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. | |
429 | * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. | |
430 | * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. | |
431 | * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. | |
432 | * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. | |
433 | * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. | |
434 | * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. | |
435 | * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. | |
436 | * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise. | |
437 | * testsuite/binutils-all/x86-64/shstk.d: Likewise. | |
438 | ||
0ec992e6 NC |
439 | 2020-10-06 Nick Clifton <nickc@redhat.com> |
440 | ||
441 | * objcopy.c (copy_object): Compare input and output sections by | |
442 | pointer rather than name. | |
443 | ||
1f1845d4 NC |
444 | 2020-10-05 Nick Clifton <nickc@redhat.com> |
445 | ||
446 | PR 26698 | |
447 | * windmc.c (mc_unify_path): Fix typo checking character at end of | |
448 | pathname. | |
449 | ||
0cc79db2 SN |
450 | 2020-10-05 Samanta Navarro <ferivoz@riseup.net> |
451 | ||
452 | * doc/binutils.texi: Fix spelling mistakes. | |
453 | ||
1c9f770d MW |
454 | 2020-09-29 Mark Wielaard <mark@klomp.org> |
455 | ||
456 | * dwarf.c (display_loclists_list): Handle DW_LLE_start_end and | |
457 | DW_LLE_start_length. Only add base_address for DW_LLE_offset_pair. | |
458 | ||
5a805384 AM |
459 | 2020-09-25 Alan Modra <amodra@gmail.com> |
460 | ||
461 | * elfcomm.c (byte_put_little_endian, byte_put_big_endian): Support | |
462 | more field sizes. | |
463 | * readelf.c (target_specific_reloc_handling <MSP430>): Limit | |
464 | allowed reloc_size. Don't read_leb128 outside of section. | |
465 | ||
debd1a62 MW |
466 | 2020-09-23 Mark Wielaard <mark@klomp.org> |
467 | ||
468 | * dwarf.c (process_debug_info): Print Unit Type for DWARF5. | |
469 | * testsuite/binutils-all/dw5.W: Adjust expected output. | |
470 | * testsuite/binutils-all/dwarf-attributes.W: Likewise. | |
471 | ||
ec47b32a MW |
472 | 2020-09-23 Mark Wielaard <mark@klomp.org> |
473 | ||
474 | * dwarf.c (read_and_display_attr_value): Handle DW_FORM_ref_addr | |
475 | for dwarf_version 5 just as version 3 and 4 (only 2 is | |
476 | different). | |
477 | (process_debug_info): Allow DW_UT_partial. | |
478 | ||
a2ab5831 NC |
479 | 2020-09-24 Nick Clifton <nickc@redhat.com> |
480 | ||
481 | PR 26662 | |
482 | * doc/binutils.texi (nm): Document that 'c' is used for small | |
483 | common symbols. | |
484 | ||
427234c7 LC |
485 | 2020-09-21 Ludovic Courtès <ludo@gnu.org> |
486 | ||
487 | * doc/binutils.texi (objcopy, strip): Say that | |
488 | '--strip-unneeded' implies '--strip-debug'. | |
489 | ||
0690f591 AP |
490 | 2020-09-16 Anatoly Parshintsev <kupokupokupopo@gmail.com> |
491 | ||
492 | * verilog.c (verilog_write_address): Properly handle 64-bit | |
493 | addresses to avoid truncation of the high part. | |
494 | ||
c1229f84 AM |
495 | 2020-09-16 Alan Modra <amodra@gmail.com> |
496 | ||
497 | * nm.c (print_symbol): Adjust elf_symbol_from invocation. | |
498 | * objcopy.c (is_hidden_symbol): Likewise. | |
499 | ||
5b3eb5ed NC |
500 | 2020-09-15 Nick Clifton <nickc@redhat.com> |
501 | ||
502 | * README-how-to-make-a-release (https): Add a reminder to create a | |
503 | new Bugzilla tag for the point release, once it has been published. | |
504 | ||
8d58ed37 L |
505 | 2020-09-11 H.J. Lu <hongjiu.lu@intel.com> |
506 | ||
507 | * readelf.c (get_note_type): Support NT_X86_CET. | |
508 | ||
ce139cd5 NC |
509 | 2020-09-11 Nick Clifton <nickc@redhat.com> |
510 | ||
511 | PR 26595 | |
512 | * dwarf.c (load_separate_debug_info): Return NULL rather than | |
513 | FALSE in error situations. | |
514 | (load_separate_debug_file): Move code to load debug links to ... | |
515 | (check_for_and_load_links): ... here. New function. Load | |
516 | separate debug information pointed to by debuglink and | |
517 | debugaltlink sections. Recursively scan newly loaded debug | |
518 | information for more links and load them too. | |
519 | ||
dfbee680 AM |
520 | 2020-09-09 Alan Modra <amodra@gmail.com> |
521 | ||
522 | PR 26578 | |
523 | * dwarf.c (parse_gnu_debugaltlink): Don't alloc build_id_data. | |
524 | (load_separate_debug_files): Use a stack var for build_id_data. | |
525 | ||
790147a9 L |
526 | 2020-09-08 H.J. Lu <hongjiu.lu@intel.com> |
527 | ||
528 | PR ld/26587 | |
529 | * testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section | |
530 | to ld on PE targets for PR 25662 test. | |
531 | ||
7d81bc93 JL |
532 | 2020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
533 | Kuan-Lin Chen <kuanlinchentw@gmail.com> | |
534 | ||
535 | * readelf.c (target_specific_reloc_handling): Handle | |
536 | R_MSP430{,X}_GNU_{SET,SUB}_ULEB128. | |
537 | ||
839f41a3 AM |
538 | 2020-09-02 Alan Modra <amodra@gmail.com> |
539 | ||
540 | * objdump.c (disassemble_bytes): Use an unsigned type for "addend". | |
541 | ||
54b8331d AM |
542 | 2020-08-30 Alan Modra <amodra@gmail.com> |
543 | ||
544 | * readelf.c (print_gnu_build_attribute_name): Use unsigned long | |
545 | long for "bytes". | |
546 | ||
08d7da7d NC |
547 | 2020-08-28 Nick Clifton <nickc@redhat.com> |
548 | ||
549 | PR 26548 | |
550 | * dwarf.c (read_leb128): When checking for overflow of a signed | |
551 | read, use a signed shift. | |
552 | ||
0861f561 CQ |
553 | 2020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com> |
554 | ||
555 | * readelf.c (get_csky_section_type_name): New. | |
556 | (get_section_type_name): Add handler for CSKY. | |
557 | (display_csky_attribute): New. | |
558 | (process_arch_specific): Add handler for CSKY. | |
559 | * testsuite/binutils-all/strip-3.d: Remove .csky.attributes | |
560 | section. | |
561 | ||
b0191216 JL |
562 | 2020-08-27 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
563 | ||
564 | * readelf.c (get_msp430x_section_type_name): Rename to ... | |
565 | (get_msp430_section_type_name): ... this. | |
566 | (get_section_type_name): Use get_msp430_section_type_name. | |
567 | (display_msp430x_attribute): Rename to ... | |
568 | (display_msp430_attribute): ... this. | |
569 | (process_arch_specific): Use display_msp430_attribute. | |
570 | ||
9e7ed8b0 JDA |
571 | 2020-08-27 John David Anglin <danglin@gcc.gnu.org> |
572 | ||
573 | PR 26356 | |
574 | * testsuite/binutils-all/objcopy.exp (objcopy --reverse-bytes): Add | |
575 | "-j $PRIVATE$" to command on hppa*-*-hpux*. | |
576 | * testsuite/lib/utils-lib.exp (default_binutils_run): Remove existing | |
577 | dollar-sign quotes before quoting. Do this prior to generating log | |
578 | output. | |
579 | ||
6b5473c9 RH |
580 | 2020-08-27 Ralf Habacker <ralf.habacker@freenet.de> |
581 | ||
582 | PR 26088 | |
583 | * mclex.c (skip_until_eol): If eol was found, increment line | |
584 | number. | |
585 | ||
5e9b84f7 NA |
586 | 2020-08-27 Nick Alcock <nick.alcock@oracle.com> |
587 | ||
588 | * objdump.c (dump_ctf_errs): Unquote CTF error messages. | |
589 | * readelf.c (dump_ctf_errs): Likewise. | |
590 | ||
926c9e76 NA |
591 | 2020-08-27 Nick Alcock <nick.alcock@oracle.com> |
592 | ||
593 | * objdump.c (dump_ctf_archive_member): Move error- | |
594 | reporting... | |
595 | (dump_ctf_errs): ... into this separate function. | |
596 | (dump_ctf): Call it on open errors. | |
597 | * readelf.c (dump_ctf_archive_member): Move error- | |
598 | reporting... | |
599 | (dump_ctf_errs): ... into this separate function. Support | |
600 | calls with NULL fp. Adjust for new err parameter to | |
601 | ctf_errwarning_next. | |
602 | (dump_section_as_ctf): Call it on open errors. | |
603 | ||
987cf30a NA |
604 | 2020-08-27 Nick Alcock <nick.alcock@oracle.com> |
605 | ||
606 | * Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD). | |
607 | * Makefile.in: Regenerated. | |
608 | ||
3eba3ef3 NC |
609 | 2020-08-26 Nick Clifton <nickc@redhat.com> |
610 | ||
611 | PR 26405 | |
612 | * readelf.c (get_segment_type): Handle OpenBSD segment types. | |
613 | ||
a68aba2d AM |
614 | 2020-08-26 Alan Modra <amodra@gmail.com> |
615 | ||
616 | PR 26412 | |
617 | * objcopy.c (copy_object): Don't fwrite NULL contents. | |
618 | ||
37f628c3 KH |
619 | 2020-08-26 Katayama Hirofumi <katayama.hirofumi.mz@gmail.com> |
620 | ||
621 | PR 26340 | |
622 | * rcparse.y (AUTOCHECKBOX): Add WS_TABSTOP to the base style. | |
623 | ||
f3da8a96 AM |
624 | 2020-08-24 Alan Modra <amodra@gmail.com> |
625 | ||
626 | * readelf.c (dump_section_as_strings) Avoid false positive | |
627 | "may be used uninitialised". | |
628 | ||
3f2e9699 L |
629 | 2020-08-22 H.J. Lu <hongjiu.lu@intel.com> |
630 | ||
631 | PR ld/26382 | |
632 | * nm.c (print_symname): Display only one '@' for undefined | |
633 | versioned symbols. | |
634 | * doc/binutils.texi: Update nm version information. | |
635 | ||
02391b8b MW |
636 | 2020-08-21 Mark Wielaard <mark@klomp.org> |
637 | ||
638 | * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also | |
639 | recognize DW_LANG_C11. | |
640 | ||
d1ce973e AM |
641 | 2020-08-19 Alan Modra <amodra@gmail.com> |
642 | ||
643 | PR 26349 | |
644 | * readelf.c (dump_relocations): Use BFD_VMA_FMT to print offset | |
645 | and info fields. | |
646 | (dump_section_as_strings): Don't use %tx to display offset. | |
647 | ||
82fcdb39 AM |
648 | 2020-08-14 Alan Modra <amodra@gmail.com> |
649 | ||
650 | PR 26388 | |
651 | * dwarf.c (free_debug_memory): Free alloc_num_debug_info_entries | |
652 | of debug_information. Correct test of max_loc_offsets and | |
653 | max_range_lists. | |
654 | * rddbg.c (read_debugging_info): Free dhandle on error. | |
655 | ||
fc0efc4b AM |
656 | 2020-08-14 Alan Modra <amodra@gmail.com> |
657 | ||
658 | * testsuite/binutils-all/mangled.s: Use dc.a rather than dc.d. | |
659 | ||
75e100a3 AM |
660 | 2020-08-13 Alan Modra <amodra@gmail.com> |
661 | ||
662 | PR 26348 | |
663 | * objcopy.c (copy_object): Report file name with endian error. | |
664 | Error and return on abfd->read_only. | |
665 | ||
d3511b24 TT |
666 | 2020-08-12 Tom Tromey <tromey@adacore.com> |
667 | ||
668 | * dwarf-mode.el (Version): Now 1.6. | |
669 | (dwarf-die-button-action): Tighten DIE reference regexp. | |
670 | (dwarf-font-lock-keywords): Update name regexp. | |
671 | ||
79bc120c NC |
672 | 2020-08-12 Nick Clifton <nickc@redhat.com> |
673 | ||
674 | PR binutils/26331 | |
675 | * readelf.c (do_demangle): New option flag. | |
676 | (print_symbol): If do_demangle is enabled, demangle the symbol. | |
677 | (enum long_option_values): New enum to hold long option values. | |
678 | (options): Add demangle, no-demangle, recursion-limit and | |
679 | no-recursion-limit options. Alpha sort the table. | |
680 | (usage): Describe the new options. | |
681 | (parse_args): Handle the new options. | |
682 | * NEWS: Mention the new feature. | |
683 | * doc/binutils.texi: Document the new feature. | |
684 | * testsuite/binutils-all/readelf.exp: Test the new feature. | |
685 | * testsuite/binutils-all/mangled.s: New file - assembler source. | |
686 | * testsuite/binutils-all/readelf.demangled: New file - expected | |
687 | output from readelf. | |
688 | ||
79ddc884 NC |
689 | 2020-08-12 Nick Clifton <nickc@redhat.com> |
690 | ||
691 | * po/sr.po: Updated Serbian translation. | |
692 | ||
9b0ac51b L |
693 | 2020-08-10 H.J. Lu <hongjiu.lu@intel.com> |
694 | ||
695 | PR binutils/26302 | |
696 | * nm.c (with_symbol_versions): Removed. | |
697 | (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS. | |
698 | (long_options): Update --with-symbol-versions entry. | |
699 | (print_symbol): Remove the with_symbol_versions check. | |
700 | (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward | |
701 | compatibility. | |
702 | * doc/binutils.texi: Remove --with-symbol-versions. | |
703 | ||
787bbc56 AM |
704 | 2020-08-05 Alan Modra <amodra@gmail.com> |
705 | ||
706 | PR 26337 | |
707 | * objdump.c (load_specific_debug_section): Revert last change. | |
708 | ||
0b97e818 AM |
709 | 2020-08-05 Alan Modra <amodra@gmail.com> |
710 | ||
711 | PR 26337 | |
712 | * objdump.c (load_specific_debug_section): Don't malloc space for | |
713 | section contents, use bfd_malloc_and_get_section. | |
714 | ||
c8693053 RO |
715 | 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
716 | ||
717 | * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS. | |
718 | * Makefile.in, doc/Makefile.in: Regenerate. | |
719 | * configure: Regenerate. | |
720 | ||
ac2599c4 L |
721 | 2020-07-30 H.J. Lu <hongjiu.lu@intel.com> |
722 | ||
723 | * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3 | |
724 | to assembler. | |
725 | * testsuite/binutils-all/i386/compressed-1b.d: Likewise. | |
726 | * testsuite/binutils-all/i386/compressed-1c.d: Likewise. | |
727 | * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise. | |
728 | * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise. | |
729 | * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise. | |
730 | ||
c77cb2a0 MR |
731 | 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org> |
732 | ||
733 | * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d: | |
734 | New test. | |
735 | * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d: | |
736 | New test. | |
737 | * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d: | |
738 | New test. | |
739 | * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d: | |
740 | New test. | |
741 | * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d: | |
742 | New test. | |
743 | * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d: | |
744 | New test. | |
745 | * testsuite/binutils-all/mips/global-local-symtab-final-o32.d: | |
746 | New test. | |
747 | * testsuite/binutils-all/mips/global-local-symtab-final-n32.d: | |
748 | New test. | |
749 | * testsuite/binutils-all/mips/global-local-symtab-final-n64.d: | |
750 | New test. | |
751 | * testsuite/binutils-all/mips/mips.exp: Run the new tests. | |
752 | ||
3f1b17bb MR |
753 | 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org> |
754 | ||
755 | * testsuite/binutils-all/mips/global-local-symtab-o32.d: New | |
756 | test. | |
757 | * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New | |
758 | test. | |
759 | * testsuite/binutils-all/mips/global-local-symtab-n32.d: New | |
760 | test. | |
761 | * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New | |
762 | test. | |
763 | * testsuite/binutils-all/mips/global-local-symtab-n64.d: New | |
764 | test. | |
765 | * testsuite/binutils-all/mips/mips.exp: Run the new tests. | |
766 | ||
d70f978b L |
767 | 2020-07-28 H.J. Lu <hongjiu.lu@intel.com> |
768 | ||
769 | PR binutils/26301 | |
770 | * configure: Regenerated. | |
771 | ||
377170fa L |
772 | 2020-07-28 H.J. Lu <hongjiu.lu@intel.com> |
773 | ||
774 | PR binutils/26301 | |
775 | * configure: Regenerated. | |
776 | ||
8fab9282 AM |
777 | 2020-07-27 Alan Modra <amodra@gmail.com> |
778 | ||
779 | * objdump.c (dump_section): Don't return without calling | |
780 | process_section_p. | |
781 | ||
608d61c2 L |
782 | 2020-07-27 H.J. Lu <hongjiu.lu@intel.com> |
783 | ||
784 | * doc/binutils.texi: Replace preceeded with preceded. | |
785 | ||
3abf9758 MR |
786 | 2020-07-26 Maciej W. Rozycki <macro@linux-mips.org> |
787 | ||
788 | * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi) | |
789 | (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New | |
790 | procedures. | |
791 | (has_newabi): Remove variable. | |
792 | (has_abi, abi_asflags, abi_ldflags): New associative array | |
793 | variables. | |
794 | (irixemul): New variable. | |
795 | Replace `run_dump_test' calls where applicable throughout with | |
796 | `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64' | |
797 | as appropriate. Use `noarch' for tests that require their own | |
798 | architecture setting. | |
799 | * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags. | |
800 | * testsuite/binutils-all/mips/mips-ase-2.d: Likewise. | |
801 | * testsuite/binutils-all/mips/mips-ase-3.d: Likewise. | |
802 | * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise. | |
803 | * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise. | |
804 | * testsuite/binutils-all/mips/mips-note-2.d: Likewise. | |
805 | * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise. | |
806 | * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise. | |
807 | * testsuite/binutils-all/mips/mips-note-2r.d: Likewise. | |
808 | * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise. | |
809 | * testsuite/binutils-all/mips/mips-reginfo.d: Likewise. | |
810 | * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise. | |
811 | * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise. | |
812 | * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from | |
813 | GAS flags. | |
814 | * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise. | |
815 | * testsuite/binutils-all/mips/mips16-noalias.d: Likewise. | |
816 | * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise. | |
817 | * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise. | |
818 | * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise. | |
819 | * testsuite/binutils-all/mips/mixed-micromips.d: Likewise. | |
820 | * testsuite/binutils-all/mips/mixed-mips16.d: Likewise. | |
821 | ||
f6720b1c AM |
822 | 2020-07-24 Aaron Merey <amerey@redhat.com> |
823 | ||
824 | * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS. | |
825 | * Makefile.in: Rebuild. | |
826 | * configure: Rebuild. | |
827 | * doc/Makefile.in: Rebuild. | |
828 | ||
bf772a1e NC |
829 | 2020-07-24 Nick Clifton <nickc@redhat.com> |
830 | ||
831 | * README-how-to-make-a-release: Various small updates whilst | |
832 | creating the 2.35 release. | |
833 | ||
0b884151 NA |
834 | 2020-07-22 Nick Alcock <nick.alcock@oracle.com> |
835 | ||
836 | * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc' | |
837 | option. | |
838 | ||
3dd6b890 NA |
839 | 2020-07-22 Nick Alcock <nick.alcock@oracle.com> |
840 | ||
841 | * objdump.c (dump_ctf_archive_member): Remove linefeeds. | |
842 | (dump_ctf): Likewise. | |
843 | ||
8b37e7b6 NA |
844 | 2020-07-22 Nick Alcock <nick.alcock@oracle.com> |
845 | ||
846 | * objdump.c (ctf_archive_member): Print CTF errors and warnings. | |
847 | * readelf.c (dump_ctf_archive_member): Likewise. | |
848 | ||
df16e041 NC |
849 | 2020-07-22 Nick Clifton <nickc@redhat.com> |
850 | ||
851 | * readelf.c (parse_args): Silence potential warnings about a | |
852 | memory resource leak when allocating space for ctf option values. | |
853 | (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name | |
854 | variable. | |
855 | ||
84dc5f0b NC |
856 | 2020-07-21 Nick Clifton <nickc@redhat.com> |
857 | ||
858 | * po/sv.po: Updated Swedish translation. | |
859 | ||
570b0ed6 CZ |
860 | 2020-07-14 Claudiu Zissulescu <claziss@gmail.com> |
861 | ||
862 | * testsuite/binutils-all/arc/double_regs.s: New test. | |
863 | * testsuite/binutils-all/arc/objdump.exp: Add the above test. | |
864 | ||
0a5c31d1 NC |
865 | 2020-07-13 Nick Clifton <nickc@redhat.com> |
866 | ||
867 | * po/fr.po: Updated French translation. | |
868 | ||
7a34d0ea AM |
869 | 2020-07-13 Alan Modra <amodra@gmail.com> |
870 | ||
871 | * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept | |
872 | optional machine-os arg. | |
873 | ||
a308b89d L |
874 | 2020-07-11 H.J. Lu <hongjiu.lu@intel.com> |
875 | ||
876 | * readelf.c (decode_x86_feature_2): Handle | |
877 | GNU_PROPERTY_X86_FEATURE_2_TMM. | |
878 | ||
af2b3186 TV |
879 | 2020-07-10 Tom de Vries <tdevries@suse.de> |
880 | ||
881 | * dwarf.c (display_debug_lines_decoded): Don't emit meaningless | |
882 | information in the end_sequence row. | |
883 | * testsuite/binutils-all/dw5.W: Update. | |
884 | * testsuite/binutils-all/objdump.WL: Update. | |
885 | ||
fe49679d AM |
886 | 2020-07-09 Alan Modra <amodra@gmail.com> |
887 | ||
888 | * dlltool.c: Remove powerpc PE support and comments. | |
889 | * configure.ac: Remove powerpc PE dlltool config. | |
890 | * configure: Regenerate. | |
891 | ||
d90171de NC |
892 | 2020-07-09 Nick Clifton <nickc@redhat.com> |
893 | ||
894 | * rclex.c: Add OWNERDRAW keyword. | |
895 | * rcparse.y: Add OWNERDRAW token. | |
896 | (menuitem_flag) Add BITMAP and OWNERDRAW entries. | |
897 | * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and | |
898 | BITMAP flags. | |
899 | * windres.c (extended_menuitems): Likewise. | |
900 | * testsuite/binutils-all/windres/menuitem_flags.rc: New test. | |
901 | ||
e3fdc001 AM |
902 | 2020-07-09 Alan Modra <amodra@gmail.com> |
903 | ||
904 | * readelf (slurp_hppa_unwind_table): Set table_len before use | |
905 | in relocation sanity checks. | |
906 | ||
5a2296ac AM |
907 | 2020-07-07 Alan Modra <amodra@gmail.com> |
908 | ||
909 | * testsuite/binutils-all/ar.exp: Use is_xcoff_format. | |
910 | * testsuite/binutils-all/nm.exp: Likewise. | |
911 | * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets. | |
912 | * testsuite/binutils-all/copy-3.d: Run only for elf targets. | |
913 | * testsuite/binutils-all/set-section-alignment.d: Likewise. | |
914 | * testsuite/binutils-all/copy-4.d: Don't run for xcoff. | |
915 | ||
efd0ed58 AM |
916 | 2020-07-07 Alan Modra <amodra@gmail.com> |
917 | ||
918 | * testsuite/lib/binutils-common.exp (is_xcoff_format): New. | |
919 | * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff. | |
920 | ||
17550be7 NC |
921 | 2020-07-06 Nick Clifton <nickc@redhat.com> |
922 | ||
923 | * po/bg.po: Updated Bulgarian translation. | |
924 | * po/pt.po: Updated Portuguese translation. | |
925 | * po/uk.po: Updated Ukranian translation. | |
926 | ||
ddb43bab AM |
927 | 2020-07-06 Alan Modra <amodra@gmail.com> |
928 | ||
929 | * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to | |
930 | find string length. | |
931 | ||
b19d852d NC |
932 | 2020-07-04 Nick Clifton <nickc@redhat.com> |
933 | ||
934 | * configure: Regenerate. | |
935 | * po/binutils.pot: Regenerate. | |
936 | ||
b115b9fd NC |
937 | 2020-07-04 Nick Clifton <nickc@redhat.com> |
938 | ||
939 | Binutils 2.35 branch created. | |
940 | ||
0942c7ab NC |
941 | 2020-07-02 Nick Clifton <nickc@redhat.com> |
942 | ||
943 | PR 26028 | |
944 | * readelf.c (print_symbol): Handle truncation of symbol names. | |
945 | (options): Add -T/--silent-truncation option. | |
946 | (parse_args): Handle the option. | |
947 | (print_dynamic_symbol): Correct calculation of width available to | |
948 | display symbol name. | |
949 | * doc/binutils.texi: Document the -T option to readelf. | |
950 | * NEWS: Mention the new feature. | |
951 | ||
bbd19b19 L |
952 | 2020-06-30 H.J. Lu <hongjiu.lu@intel.com> |
953 | ||
954 | * NEWS: Mention x86 NaCl target support removal. | |
955 | * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove | |
956 | x86 NaCl target support. | |
957 | * testsuite/binutils-all/elfedit-1.d: Likewise. | |
958 | * testsuite/binutils-all/i386/i386.exp: Likewise. | |
959 | * testsuite/binutils-all/x86-64/objects.exp: Likewise. | |
960 | * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise. | |
961 | * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. | |
962 | * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. | |
963 | * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. | |
964 | * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. | |
965 | * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. | |
966 | * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. | |
967 | * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. | |
968 | * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise. | |
969 | * testsuite/binutils-all/x86-64/pr23494e.d: Likewise. | |
970 | * testsuite/binutils-all/x86-64/x86-64.exp: Likewise. | |
971 | ||
5568cc9e NC |
972 | 2020-06-30 Nick Clifton <nickc@redhat.com> |
973 | ||
974 | * dwarf.c (read_and_display_attr_value): Support | |
975 | DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and | |
976 | DW_AT_comp_dir. | |
977 | ||
d74b88ed AM |
978 | 2020-06-30 Alan Modra <amodra@gmail.com> |
979 | ||
980 | * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove | |
981 | xfail for nds32. | |
982 | ||
9f27c364 HPN |
983 | 2020-06-29 Hans-Peter Nilsson <hp@bitrange.com> |
984 | ||
985 | * dwarf.c (display_debug_str_offsets): Rename local variable | |
986 | index to idx. Move to top of function. | |
987 | ||
279edac5 AM |
988 | 2020-06-29 Alan Modra <amodra@gmail.com> |
989 | ||
990 | * dwarf.c: Use C style comments. | |
991 | * resrc.c: Likewise. | |
992 | ||
cfc16775 AM |
993 | 2020-06-27 Alan Modra <amodra@gmail.com> |
994 | ||
995 | * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL | |
996 | after freeing. | |
997 | (release_archive): Set fields of arch to NULL after freeing. | |
998 | ||
2f6ecaed NA |
999 | 2020-06-26 Nick Alcock <nick.alcock@oracle.com> |
1000 | ||
1001 | * readelf.c (dump_section_as_ctf): Support .ctf archives using | |
1002 | ctf_arc_bufopen. Automatically load the .ctf member of such | |
1003 | archives as the parent of all other members, unless specifically | |
1004 | overridden via --ctf-parent. Split out dumping code into... | |
1005 | (dump_ctf_archive_member): ... here, as in objdump, and call | |
1006 | it once per archive member. | |
1007 | (dump_ctf_indent_lines): Code style fix. | |
1008 | ||
094e34f2 NA |
1009 | 2020-06-26 Nick Alcock <nick.alcock@oracle.com> |
1010 | ||
1011 | * configure.ac [--enable-libctf]: New, default yes. | |
1012 | Set ENABLE_LIBCTF accordingly. | |
1013 | * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD. | |
1014 | * configure: Regenerate. | |
1015 | * config.in: Regenerate. | |
1016 | * Makefile.in: Regenerate. | |
1017 | * aclocal.m4: Regenerate. | |
1018 | * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF. | |
1019 | (option_values): Likewise. | |
1020 | (long_options): Likewise. | |
1021 | (main): Likewise. | |
1022 | (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF. | |
1023 | (make_ctfsect): Likewise. | |
1024 | (dump_ctf_archive_member): Likewise. | |
1025 | (dump_ctf) [ENABLE_LIBCTF]: Likewise. | |
1026 | (dump_ctf) [!ENABLE_LIBCTF]: New empty stub. | |
1027 | * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF. | |
1028 | (usage): Likewise. | |
1029 | (process_section_contents): Likewise. | |
1030 | (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF. | |
1031 | (dump_ctf_indent_lines): Likewise. | |
1032 | (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise. | |
1033 | ||
2a1bb84c JB |
1034 | 2020-06-26 Jan Beulich <jbeulich@suse.com> |
1035 | ||
1036 | * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop | |
1037 | redundant text from x86 specific part of -M section. | |
1038 | ||
85f7484a PB |
1039 | 2020-06-26 Pat Bernardi <bernardi@adacore.com> |
1040 | ||
1041 | * readelf.c (display_m68k_gnu_attribute): New function. | |
1042 | (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K. | |
1043 | ||
d0dded5b L |
1044 | 2020-06-23 H.J. Lu <hongjiu.lu@intel.com> |
1045 | ||
1046 | PR binutils/26160 | |
1047 | * testsuite/binutils-all/pr26160.dwp.bz2: New file. | |
1048 | * testsuite/binutils-all/pr26160.r: Likewise. | |
1049 | * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test. | |
1050 | ||
39f381cb NC |
1051 | 2020-06-23 Nick Clifton <nickc@redhat.com> |
1052 | ||
1053 | PR 26160 | |
1054 | * dwarf.c (fetch_indexed_string): Detect and handle old style | |
1055 | .debug_str_offset tables. | |
1056 | (display_debug_str_offsets): Likewise. Also add support for | |
1057 | .debug_str_offsets.dwo sections. | |
1058 | ||
80fda85c L |
1059 | 2020-06-23 H.J. Lu <hongjiu.lu@intel.com> |
1060 | ||
1061 | PR binutils/26112 | |
1062 | * testsuite/binutils-all/pr26112.o.bz2: New file. | |
1063 | * testsuite/binutils-all/pr26112.r: Likewise. | |
1064 | * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test. | |
1065 | ||
d081ffff AM |
1066 | 2020-06-23 Alan Modra <amodra@gmail.com> |
1067 | ||
1068 | * testsuite/binutils-all/objdump.exp (bintest.a): Correct | |
1069 | remote_file delete command. | |
1070 | ||
e4b7104b NC |
1071 | 2020-06-22 Nick Clifton <nickc@redhat.com> |
1072 | ||
1073 | PR 26112 | |
1074 | * dwarf.c (display_debug_str_offsets): Add code to display the | |
1075 | contents of the .debug_str_offsets section. | |
1076 | (display_debug_macro): Add support for DW_MACRO_define_strx and | |
1077 | DW_MACRO_undef_strx. | |
1078 | ||
d768f160 SJ |
1079 | 2020-06-22 Saagar Jha <saagar@saagarjha.com> |
1080 | ||
1081 | * od-macho.c: Dump linkedit data for new load commands. | |
1082 | ||
5fd104ad AM |
1083 | 2020-06-19 Alan Modra <amodra@gmail.com> |
1084 | ||
1085 | * testsuite/config/default.exp (ld_elf_shared_opt): Don't set. | |
1086 | * testsuite/lib/binutils-common.exp (check_relro_support): New proc. | |
1087 | (run_dump_test): Use check_relro_support to decide whether to pass | |
1088 | extra ld option "-z norelro". | |
1089 | ||
fd17d1e6 AM |
1090 | 2020-06-11 Alan Modra <amodra@gmail.com> |
1091 | ||
1092 | * readelf.c (process_mips_specific): Don't alloc memory for | |
1093 | Elf_Internal_Options. | |
1094 | ||
d0c4e780 AM |
1095 | 2020-06-11 Alan Modra <amodra@gmail.com> |
1096 | ||
1097 | * readelf.c (process_mips_specific): Assert size of internal | |
1098 | types match size of external types, and simplify allocation of | |
1099 | internal buffer. Catch possible integer overflow when sanity | |
1100 | checking option size. Don't assume options are a regular array. | |
1101 | Sanity check reginfo option against option size. Use PRI macros | |
1102 | when printing. | |
1103 | ||
25065fcd RH |
1104 | 2020-06-10 Ralf Habacker <ralf.habacker@freenet.de> |
1105 | ||
1106 | PR 26082 | |
1107 | * mclex.c (yylex): Reject lines that reach end-of-file without a | |
1108 | terminating newline character. | |
1109 | ||
b37a7714 NC |
1110 | 2020-06-08 Nick Clifton <nickc@redhat.com> |
1111 | ||
1112 | PR 26093 | |
1113 | * doc/binutils.texi (strings): Fix typo. | |
1114 | ||
c4b2f181 NC |
1115 | 2020-06-08 Nick Clifton <nickc@redhat.com> |
1116 | ||
1117 | PR 26086 | |
1118 | * dwarf.c (process_debug_info): Check that there is space in the | |
1119 | debug_information array before filling in an entry. | |
1120 | ||
1424c35d AM |
1121 | 2020-06-06 Alan Modra <amodra@gmail.com> |
1122 | ||
1123 | * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10. | |
1124 | ||
8affa48a JA |
1125 | 2020-06-05 Joel Anderson <joelanderson333@gmail.com> |
1126 | ||
1127 | PR 26082 | |
1128 | * mclex.c (yylex): Add test for an empty input stream. | |
1129 | ||
8eca5c7d SC |
1130 | 2020-06-04 Stephen Casner <casner@acm.org> |
1131 | ||
1132 | * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file | |
1133 | for test using section pseudo-ops compatible with pdp11. | |
1134 | * testsuite/binutils-all/objcopy.exp: Select alternate source. | |
1135 | ||
b3db6d07 JM |
1136 | 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com> |
1137 | ||
1138 | * objdump.c (disassemble_data): Set disasm_info.endian_code to | |
1139 | disasm_info.endian after the latter is initialized to the | |
1140 | endianness reported by BFD. | |
1141 | ||
0a4f37af AM |
1142 | 2020-06-04 Alan Modra <amodra@gmail.com> |
1143 | ||
1144 | * testsuite/binutils-all/i386/i386.exp: Remove global directive | |
1145 | outside proc body. | |
1146 | * testsuite/binutils-all/x86-64/objects.exp: Likewise. | |
1147 | * testsuite/binutils-all/x86-64/x86-64.exp: Likewise. | |
1148 | ||
913e0fd4 JA |
1149 | 2020-06-03 Joel Anderson <joelanderson333@gmail.com> |
1150 | ||
1151 | * windmc.h (struct mc_node): Add id_typecast field. | |
1152 | * mcparse.y (message): Initialise the id_typecast field. | |
1153 | * windmc.c (write_dbg): Use the id_typecast field as a parameter | |
1154 | when calling write_dbg_define. | |
1155 | (write_header): Likewise. | |
1156 | ||
4a322448 AM |
1157 | 2020-06-03 Alan Modra <amodra@gmail.com> |
1158 | ||
1159 | PR 26069 | |
1160 | * objcopy.c (copy_relocations_in_section): Free relpp on error. | |
1161 | Don't accidentally free isection->orelocation. | |
1162 | ||
0bee4d1c AM |
1163 | 2020-06-02 Alan Modra <amodra@gmail.com> |
1164 | ||
1165 | * testsuite/binutils-all/ar.exp (obj): Set up object file name | |
1166 | extension. Use throughout. Don't completely exclude non-ELF | |
1167 | alpha targets. Run long_filenames test for tic30. Exclude thin | |
1168 | archive tests for aix, ecoff and vms. | |
1169 | * estsuite/binutils-all/objdump.exp (obj): Set up object file name | |
1170 | extension. Use throughout. Don't exclude non-ELF alpha targets | |
1171 | from "bintest.a". | |
1172 | ||
ab7ad287 MF |
1173 | 2020-05-28 Max Filippov <jcmvbkbc@gmail.com> |
1174 | ||
1175 | * MAINTAINERS (Xtensa): Add myself as maintainer. | |
1176 | ||
3f3c3608 AM |
1177 | 2020-05-23 Alan Modra <amodra@gmail.com> |
1178 | ||
1179 | * testsuite/binutils-all/ar.exp (many_files): New test. | |
1180 | ||
9db70fc3 AM |
1181 | 2020-05-21 Alan Modra <amodra@gmail.com> |
1182 | ||
1183 | * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout. | |
1184 | * dlltool.c: Likewise. | |
1185 | * elfcomm.c: Likewise. | |
1186 | * rddbg.c: Likewise. | |
1187 | * readelf.c: Likewise. | |
1188 | * stabs.c: Likewise. | |
1189 | * windmc.c: Likewise. | |
1190 | * windres.c: Likewise. | |
1191 | * wrstabs.c: Likewise. | |
1192 | ||
c31ab5a0 AM |
1193 | 2020-05-21 Alan Modra <amodra@gmail.com> |
1194 | ||
1195 | * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array | |
1196 | access. | |
1197 | ||
8f595e9b NC |
1198 | 2020-05-20 Nelson Chu <nelson.chu@sifive.com> |
1199 | ||
1200 | * dwarf.c: Updated since DECLARE_CSR is changed. | |
1201 | ||
8ac10c5b L |
1202 | 2020-05-19 H.J. Lu <hjl.tools@gmail.com> |
1203 | ||
1204 | PR binutils/25809 | |
1205 | * readelf.c (process_program_headers): Warn if the PT_DYNAMIC | |
1206 | segment doesn't match the .dynamic section and checks are | |
1207 | enabled. | |
1208 | (struct filedata): Add dynamic_symtab_section and | |
1209 | dynamic_strtab_section fields. | |
1210 | (process_section_headers): Set dynamic_symtab_section to the | |
1211 | .dynsym section. Set dynamic_strtab_section to the .dynstr | |
1212 | section. | |
1213 | (process_dynamic_section): Warn if the .dynsym section doesn't | |
1214 | match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't | |
1215 | DT_STRTAB and DT_STRSZ. But only if checks are enabled. | |
1216 | ||
c177f377 AM |
1217 | 2020-05-19 Alan Modra <amodra@gmail.com> |
1218 | ||
1219 | * ar.c (map_over_members, get_pos_bfd, delete_members, move_members), | |
1220 | (replace_members): Use bfd_get_filename rather than accessing | |
1221 | bfd->filename directly. | |
1222 | * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise. | |
1223 | * binemul.c (do_ar_emul_append): Likewise. | |
1224 | * coffgrok.c (coff_grok): Likewise. | |
1225 | ||
83d27139 SH |
1226 | 2020-05-18 Stafford Horne <shorne@gmail.com> |
1227 | ||
1228 | * MAINTAINERS (OR1K): Add myself as maintainer. | |
1229 | ||
d11a9fab AB |
1230 | 2020-05-07 Andrew Burgess <andrew.burgess@embecosm.com> |
1231 | ||
1232 | * doc/binutils.texi: Mention 'entry address' in the set-start and | |
1233 | adjust-start options descriptions. | |
1234 | ||
546cb2d8 NC |
1235 | 2020-05-05 Nick Clifton <nickc@redhat.com> |
1236 | ||
1237 | * dwarf.c (do_checks): New global variable. | |
1238 | (display_formatted_table): Warn about an unexpected number of | |
1239 | columns in the table, if checks are enabled. Do not complain | |
1240 | about the lack of data following the number of entries in the | |
1241 | table if the table is empty. | |
1242 | (display_debug_lines_decoded): Only warn about an unexpected | |
1243 | number of columns in a table if checks are enabled. | |
1244 | * dwarf.h (do_checks): Add a prototype. | |
1245 | * elfcomm.c (error): Remove weak attribute. | |
1246 | (warn): Likewise. | |
1247 | * readelf.c (do_checks): Delete. | |
1248 | (warn): Delete. | |
1249 | (process_section_headers): Only warn about empty sections if | |
1250 | checks are enabled. | |
1251 | ||
e052e2ba FS |
1252 | 2020-05-04 Fangrui Song <maskray@google.com> |
1253 | ||
1254 | * objcopy.c (copy_object): Allow empty section. | |
1255 | * testsuite/binutils-all/update-section.exp: Add test. | |
1256 | ||
070b775f NC |
1257 | 2020-05-04 Nick Clifton <nickc@redhat.com> |
1258 | ||
1259 | PR 25917 | |
1260 | * dwarf.c (display_debug_lines_decoded): Warn if encountering a | |
1261 | supicious number of entries for DWARF-5 format directory and file | |
1262 | name tables. Do not display file name table header if the table | |
1263 | is empty. Do not allocate space for empty tables. | |
1264 | ||
9c7b8e9b AM |
1265 | 2020-05-04 Alan Modra <amodra@gmail.com> |
1266 | ||
1267 | * readelf.c (process_nds32_specific): Check size of .nds32_e_flags | |
1268 | section. Don't assume endian of host matches nds32 target. Free | |
1269 | buffer. | |
1270 | ||
60832332 AM |
1271 | 2020-05-01 Alan Modra <amodra@gmail.com> |
1272 | Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com> | |
1273 | ||
1274 | * objdump.c (disassemble_bytes): Don't scan for zeros when | |
1275 | disassembling zeros. Translate "resuming at file offset" message. | |
1276 | Formatting. Replace some signed variables with unsigned. | |
1277 | ||
09c1e68a AC |
1278 | 2020-04-30 Alex Coplan <alex.coplan@arm.com> |
1279 | ||
1280 | * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new | |
1281 | disassembly. | |
1282 | * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise. | |
1283 | ||
8a8a1171 NC |
1284 | 2020-04-30 Nick Clifton <nickc@redhat.com> |
1285 | ||
1286 | * testsuite/lib/binutils-common.exp (check_pie_support): New | |
1287 | proc. | |
1288 | ||
cb4c35cf AB |
1289 | 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com> |
1290 | ||
1291 | * dwarf.c (display_debug_ranges): Ignore duplicate entries in | |
1292 | range_entries for the same offset. | |
1293 | ||
1b513401 NC |
1294 | 2020-04-29 Nick Clifton <nickc@redhat.com> |
1295 | ||
1296 | * readelf.c (warn): New function - like elfcomm.c version but only | |
1297 | produces output if warnings are enabled. | |
1298 | (struct options): Add --lint and --enable-checks. | |
1299 | (usage): Add entry for --lint. | |
1300 | (parse_args): Handle -L. If checks are enabled but no dumps have | |
1301 | been selected then enable all dumps. | |
1302 | (process_section_headers): Replace long if-then-else sequence with | |
1303 | a switch. Add warning messages for empty SHT_REL, SHT_RELA and | |
1304 | SHT_PROGBITS sections. | |
1305 | (process_file): Do not complain if the file is an archive and lint | |
1306 | mode has been enabled. | |
1307 | * elfcomm.c (error): Make the function weak. | |
1308 | (warn): Likewise. | |
1309 | * NEWS: Mention the new feature. | |
1310 | * doc/binutils.texi: Document the new feature. | |
1311 | * dwarf.h (report_leb_status): Add file name and line number | |
1312 | parameters. Include them in the diagnostic output. | |
1313 | (READ_ULEB): Pass file and line number to report_leb_status. | |
1314 | (READ_SLEB): Likewise. | |
1315 | * dwarf.c (read_and_print_leb128): Pass file and line number to | |
1316 | report_leb_status. | |
1317 | * testsuite/binutils-all/readelf.exp: Add test of new feature. | |
1318 | * testsuite/binutils-all/zero-sec.s: New test source file. | |
1319 | * testsuite/binutils-all/zero-sec.r: Expected output from new | |
1320 | test. | |
1321 | ||
c2e71e57 NC |
1322 | 2020-04-29 Nick Clifton <nickc@redhat.com> |
1323 | ||
1324 | * po/sr.po: Updated Serbian translation. | |
1325 | ||
90837ea7 AM |
1326 | 2020-04-26 Alan Modra <amodra@gmail.com> |
1327 | ||
1328 | * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was | |
1329 | read before dereferencing, and gracefully return. Remove | |
1330 | gnu_hash_error variable. Free gnu hash arrays if number of | |
1331 | syms found is zero. | |
1332 | ||
2482f306 AM |
1333 | 2020-04-24 Alan Modra <amodra@gmail.com> |
1334 | ||
1335 | * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains | |
1336 | non-zero. | |
1337 | (process_dynamic_section): Call get_num_dynamic_syms once rather | |
1338 | than in segment loop. Break out of segment loop on a successful | |
1339 | load of dynamic symbols. Formatting. | |
1340 | (process_object): Return error status from process_dynamic_section. | |
1341 | ||
27456742 AK |
1342 | 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com> |
1343 | ||
1344 | * elf-bfd.h (elfcore_write_arc_v2): Add prototype. | |
1345 | * elf.c (elfcore_grok_arc_v2): New function. | |
1346 | (elfcore_grok_note): Call the new function to handle the corresponding | |
1347 | note. | |
1348 | (elfcore_write_arc_v2): New function. | |
1349 | (elfcore_write_register_note): Call the new function to handle the | |
1350 | corresponding pseudo-sections. | |
1351 | ||
30ce8e47 MF |
1352 | 2020-04-22 Max Filippov <jcmvbkbc@gmail.com> |
1353 | ||
1354 | PR ld/25861 | |
1355 | * readelf.c (is_none_reloc): Recognize | |
1356 | BFD_RELOC_XTENSA_PDIFF{8,16,32} and | |
1357 | BFD_RELOC_XTENSA_NDIFF{8,16,32}. | |
1358 | ||
33b5a830 NC |
1359 | 2020-04-22 Nick Clifton <nickc@redhat.com> |
1360 | ||
1361 | * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer. | |
1362 | ||
978c4450 AM |
1363 | 2020-04-22 Alan Modra <amodra@gmail.com> |
1364 | ||
1365 | * readelf.c (archive_file_offset, archive_file_size, dynamic_addr), | |
1366 | (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length), | |
1367 | (num_dynamic_syms, nbuckets, nchains, buckets, chains), | |
1368 | (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains), | |
1369 | (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset), | |
1370 | (dynamic_syminfo_nent, program_interpreter, dynamic_info), | |
1371 | (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info), | |
1372 | (dynamic_section, symtab_shndx_list, group_count, section_groups), | |
1373 | (section_headers_groups): Move to struct filedata. Update use | |
1374 | throughout file. | |
1375 | ||
6431e409 AM |
1376 | 2020-04-22 Alan Modra <amodra@gmail.com> |
1377 | ||
1378 | * readelf.c (struct dump_data): New, used.. | |
1379 | (cmdline): ..here, and.. | |
1380 | (struct filedata): ..here. Adjust all uses. | |
1381 | (request_dump_bynumber, request_dump, parse_args): Pass in a | |
1382 | struct dump_data* rather than Filedata*. Adjust callers. | |
1383 | (main): Don't set cmdline.file_name. | |
1384 | ||
a5e0be5c AM |
1385 | 2020-04-20 Alan Modra <amodra@gmail.com> |
1386 | ||
1387 | * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets | |
1388 | and nbuckets. | |
1389 | ||
8ff66993 AM |
1390 | 2020-04-20 Alan Modra <amodra@gmail.com> |
1391 | ||
1392 | * readelf.c (process_section_headers): Free dynamic symbols etc. | |
1393 | earlier. | |
1394 | ||
ceb9bf11 AM |
1395 | 2020-04-20 Alan Modra <amodra@gmail.com> |
1396 | ||
1397 | * readelf.c (get_num_dynamic_syms): Formatting. Don't return | |
1398 | on error without freeing. | |
1399 | (process_dynamic_section): Don't recreate dynamic symbols from | |
1400 | dynamic tag info when the dynamic symbols have already been | |
1401 | read via section headers. | |
1402 | ||
e409955d FS |
1403 | 2020-04-17 Fredrik Strupe <fredrik@strupe.net> |
1404 | ||
1405 | * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that | |
1406 | conditional VDUP instructions are disassembled correctly. | |
1407 | * testsuite/binutils-all/arm/vdup-cond.s: New file used by | |
1408 | vdup-cond.d. | |
1409 | * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing | |
1410 | that VDUP instructions (which are conditional in A32) can be | |
1411 | disassembled in thumb mode. | |
1412 | * testsuite/binutils-all/arm/vdup-cond.s: New file used by | |
1413 | vdup-thumb.d. | |
1414 | ||
ca3f923f AM |
1415 | 2020-04-17 Alan Modra <amodra@gmail.com> |
1416 | ||
1417 | PR 25840 | |
1418 | * debug.c (debug_class_type_samep): Don't segfault on NULL type. | |
1419 | ||
937f6614 AM |
1420 | 2020-04-16 Alan Modra <amodra@gmail.com> |
1421 | ||
1422 | * doc/binutils.texi: Mention --no-show-raw-insn in objdump | |
1423 | --no-addresses description. | |
1424 | ||
b1bc1394 AM |
1425 | 2020-04-15 Alan Modra <amodra@gmail.com> |
1426 | ||
1427 | * objdump.c (no_addresses): New static var. | |
1428 | (usage): Print help for --no-addresses. | |
1429 | (long_options): Add --no-addresses entry. | |
1430 | (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address. | |
1431 | (disassemble_bytes): Don't print current line address, or reloc | |
1432 | address. | |
1433 | * doc/binutils.texi: Document objdump --no-addresses. | |
1434 | ||
001890e1 AM |
1435 | 2020-04-15 Alan Modra <amodra@gmail.com> |
1436 | ||
1437 | PR 25822 | |
1438 | * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when | |
1439 | reading buckets or chains fails. | |
1440 | ||
b71d4fa7 AM |
1441 | 2020-04-15 Alan Modra <amodra@gmail.com> |
1442 | ||
1443 | * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains | |
1444 | etc. after freeing. | |
1445 | ||
89246a0e AM |
1446 | 2020-04-15 Alan Modra <amodra@gmail.com> |
1447 | ||
1448 | * readelf.c (get_group_flags): Translate text. | |
1449 | (get_file_type, get_symbol_binding, get_symbol_type), | |
1450 | (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer. | |
1451 | ||
c98a4545 AM |
1452 | 2020-04-15 Alan Modra <amodra@gmail.com> |
1453 | ||
1454 | PR 25821 | |
1455 | * readelf.c (get_num_dynamic_syms): Typo fix. | |
1456 | ||
645f43a8 AM |
1457 | 2020-04-14 Alan Modra <amodra@gmail.com> |
1458 | ||
1459 | * readelf.c (process_mips_specific): Free eopt and iopt. Avoid | |
1460 | possibility of overflow when checking number of conflicts. | |
1461 | ||
10ca4b04 L |
1462 | 2020-04-14 H.J. Lu <hongjiu.lu@intel.com> |
1463 | ||
1464 | PR binutils/25707 | |
1465 | * readelf.c (nbuckets): New. | |
1466 | (nchains): Likewise. | |
1467 | (buckets): Likewise. | |
1468 | (chains): Likewise. | |
1469 | (ngnubuckets): Likewise. | |
1470 | (gnubuckets): Likewise. | |
1471 | (gnuchains): Likewise. | |
1472 | (mipsxlat): Likewise. | |
1473 | (ngnuchains): Likewise. | |
1474 | (gnusymidx): Likewise. | |
1475 | (VALID_SYMBOL_NAME): Likewise. | |
1476 | (VALID_DYNAMIC_NAME): Use it. | |
1477 | (get_dynamic_data): Moved before process_dynamic_section. | |
1478 | (get_num_dynamic_syms): New function. | |
1479 | (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH, | |
1480 | DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol | |
1481 | table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string | |
1482 | table. | |
1483 | (get_symbol_index_type): Don't print "bad section index" when | |
1484 | there is no section header. | |
1485 | (print_dynamic_symbol): Rewrite. | |
1486 | (process_symbol_table): Call print_dynamic_symbol to dump dynamic | |
1487 | symbol table. | |
1488 | ||
bb897477 RO |
1489 | 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1490 | ||
1491 | * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't | |
1492 | enable on *-*-solaris*. | |
1493 | ||
00386881 NC |
1494 | 2020-03-30 Nick Clifton <nickc@redhat.com> |
1495 | ||
1496 | PR binutils/25662 | |
1497 | * objcopy.c (copy_object): When copying PE format files set the | |
1498 | timestamp field in the pe_data structure if the preserve_dates | |
1499 | flag is set. | |
1500 | * testsuite/binutils-all/objcopy.exp (objcopy_test) Use | |
1501 | --preserve-dates in place of the -p option, in order to make its | |
1502 | effect more obvious. | |
1503 | ||
0a6a8b59 AM |
1504 | 2020-03-28 Alan Modra <amodra@gmail.com> |
1505 | ||
1506 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Only | |
1507 | clear_xfail hppa*-*-*elf*. Revert mips xfails. | |
1508 | ||
6a81c59b AM |
1509 | 2020-03-28 Alan Modra <amodra@gmail.com> |
1510 | ||
1511 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails | |
1512 | from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x | |
1513 | but do xfail spu, mipstx39 and mips-sgi-irix for the executable | |
1514 | test. Pass "-p" to objcopy for the executable test. | |
1515 | ||
1fafefd5 JL |
1516 | 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
1517 | ||
1518 | PR binutils/25662 | |
1519 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to | |
1520 | specify whether an object file or executable should be built and tested. | |
1521 | Change test names to report whether an object file or executable is | |
1522 | being tested. | |
1523 | * testsuite/binutils-all/pr25662.ld: New test. | |
1524 | * testsuite/binutils-all/pr25662.s: New test. | |
1525 | ||
80e2a3b6 AM |
1526 | 2020-03-27 Alan Modra <amodra@gmail.com> |
1527 | ||
1528 | * readelf.c (process_archive): Don't double free qualified_name. | |
1529 | Don't break out of loop with "negative" archive_file_size, just | |
1530 | set file offset to max. | |
1531 | ||
4c836627 AM |
1532 | 2020-03-25 Alan Modra <amodra@gmail.com> |
1533 | ||
1534 | * readelf.c (process_archive): Prevent endless loop. | |
1535 | ||
1081065c L |
1536 | 2020-03-24 H.J. Lu <hongjiu.lu@intel.com> |
1537 | ||
1538 | PR binutils/25708 | |
1539 | * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name | |
1540 | with bfd_get_symbol_version_string. | |
1541 | (print_symbo): Pass TRUE to bfd_get_symbol_version_string. | |
1542 | * objdump.c (objdump_print_symname): Likewise. | |
1543 | ||
7e6e972f L |
1544 | 2020-03-24 H.J. Lu <hongjiu.lu@intel.com> |
1545 | ||
1546 | PR binutils/25708 | |
1547 | * nm.c (SYM_NAME): Removed. | |
1548 | (print_symname): Add a pointer to struct extended_symbol_info | |
1549 | argument. Call _bfd_elf_get_symbol_version_name to get symbol | |
1550 | version. | |
1551 | (print_symdef_entry): Pass NULL to print_symname. | |
1552 | (print_symbol_info_bsd): Update call to print_symname. | |
1553 | (print_symbol_info_sysv): Likewise. | |
1554 | (print_symbol_info_posix): Likewise. | |
1555 | ||
5a814d6d AM |
1556 | 2020-03-24 Alan Modra <amodra@gmail.com> |
1557 | ||
1558 | * readelf.c (process_mips_specific): Free iconf on error path. | |
1559 | ||
0636b245 NC |
1560 | 2020-03-23 Nick Clifton <nickc@redhat.com> |
1561 | ||
1562 | PR 25714 | |
1563 | * wrstabs.c (stab_pop_type): Replace assertion with error return. | |
1564 | * write_stabs_in_sections_debugging_info: Likewise. | |
1565 | * stab_enum_type: Likewise. | |
1566 | * stab_modify_type: Likewise. | |
1567 | * stab_struct_field: Likewise. | |
1568 | * stab_end_struct_type: Likewise. | |
1569 | * stab_start_class_type: Likewise. | |
1570 | * stab_class_static_member: Likewise. | |
1571 | * stab_class_baseclass: Likewise. | |
1572 | * stab_class_start_method: Likewise. | |
1573 | * stab_class_method_var: Likewise. | |
1574 | * stab_class_end_method: Likewise. | |
1575 | * stab_end_class_type: Likewise. | |
1576 | * stab_typedef_type: Likewise. | |
1577 | * stab_start_function: Likewise. | |
1578 | * stab_end_block: Likewise. | |
1579 | * stab_lineno: Likewise. | |
1580 | ||
5844b465 NC |
1581 | 2020-03-20 Nick Clifton <nickc@redhat.com> |
1582 | ||
1583 | * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT. | |
1584 | (process_section_headers): Check the return value from | |
1585 | get_compression_header. | |
1586 | (dump_section_as_strings): Likewise. | |
1587 | (dump_section_as_bytes): Likewise. | |
1588 | (load_specific_debug_section): Likewise. | |
1589 | ||
3d98c460 L |
1590 | 2020-03-20 H.J. Lu <hongjiu.lu@intel.com> |
1591 | ||
1592 | * ar.c (main): Update bfd_plugin_set_program_name call. | |
1593 | * nm.c (main): Likewise. | |
1594 | ||
f3a08f77 NC |
1595 | 2020-03-19 Nick Clifton <nickc@redhat.com> |
1596 | ||
1597 | PR 25676 | |
1598 | * testsuite/binutils-all/dw4.s: New test source file. | |
1599 | * testsuite/binutils-all/nm.exp: Run the new test. | |
1600 | ||
ef3df110 L |
1601 | 2020-03-19 H.J. Lu <hongjiu.lu@intel.com> |
1602 | ||
1603 | * readelf.c (process_symbol_table): Use unsigned long for si. | |
1604 | ||
81a65eb3 AM |
1605 | 2020-03-19 Alan Modra <amodra@gmail.com> |
1606 | ||
1607 | * elfcomm.c: Don't include bfd.h or bucomm.h. | |
1608 | (program_name): Declare. | |
1609 | (process_archive_index_and_symbols): Replace bfd_boolean with int, | |
1610 | and substitute FALSE and TRUE. | |
1611 | (setup_archive, setup_nested_archive): Likewise. | |
1612 | * elfcomm.h: Likewise. | |
1613 | ||
1cb7d8b1 AM |
1614 | 2020-03-19 Alan Modra <amodra@gmail.com> |
1615 | ||
1616 | * readelf.c (process_archive): Always return via path freeing | |
1617 | memory. Formatting. | |
1618 | ||
b966f55f AM |
1619 | 2020-03-19 Alan Modra <amodra@gmail.com> |
1620 | ||
1621 | * readelf.c (process_netbsd_elf_note): Validate descsz before | |
1622 | accessing descdata. Formatting. | |
1623 | ||
645ba681 AM |
1624 | 2020-03-19 Alan Modra <amodra@gmail.com> |
1625 | ||
1626 | * elfcomm.c (setup_archive): Make file_size an off_t. Comment. | |
1627 | * elfcomm.h (setup_archive): Update prototype. | |
1628 | ||
28d13567 AM |
1629 | 2020-03-16 Alan Modra <amodra@gmail.com> |
1630 | ||
1631 | * readelf.c (get_symbols): New function. | |
1632 | (process_relocs, ia64_process_unwind, hppa_process_unwind), | |
1633 | (arm_process_unwind, get_symbol_for_build_attribute): Use it. | |
1634 | ||
60e63c3e AM |
1635 | 2020-03-16 Alan Modra <amodra@gmail.com> |
1636 | ||
1637 | * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts. | |
1638 | Detect shift overflows and check that terminating byte is found. | |
1639 | Print an error on a bad uleb128. | |
1640 | ||
1bd6175a AM |
1641 | 2020-03-14 Alan Modra <amodra@gmail.com> |
1642 | ||
1643 | * readelf.c (process_file): Clean ba_cache. | |
1644 | ||
780f96ae AM |
1645 | 2020-03-14 Alan Modra <amodra@gmail.com> |
1646 | ||
1647 | * elfcomm.h (setup_archive): Update prototype. | |
1648 | * elfcomm.c (setup_archive): Add file_size parameter and sanity | |
1649 | check longnames_size. | |
1650 | (setup_nested_archive): Get file size and pass to setup_archive. | |
1651 | * elfedit.c (process_archive): Likewise. | |
1652 | * readelf.c (process_archive): Pass filedata->file_size to | |
1653 | setup_archive. | |
1654 | ||
f761cb13 AM |
1655 | 2020-03-14 Alan Modra <amodra@gmail.com> |
1656 | ||
1657 | * readelf.c (dump_section_as_strings): Free memory on error exit. | |
1658 | (dump_section_as_bytes, process_notes_at): Likewise. | |
1659 | (get_build_id): Free enote. | |
1660 | ||
06d949ec KR |
1661 | 2020-03-13 Kamil Rytarowski <n54@gmx.com> |
1662 | ||
1663 | * readelf.c (get_netbsd_elfcore_note_type): Add support for | |
1664 | NT_NETBSDCORE_LWPSTATUS notes. | |
1665 | ||
fd486f32 AM |
1666 | 2020-03-13 Alan Modra <amodra@gmail.com> |
1667 | ||
1668 | * elfcomm.c (get_archive_member_name): Always return malloc'd | |
1669 | string or NULL. | |
1670 | * elfedit.c (process_archive): Tidy memory on all return paths. | |
1671 | * readelf.c (process_archive): Likewise. | |
1672 | (process_symbol_table): Likewise. | |
1673 | (ba_cache): New, replacing .. | |
1674 | (get_symbol_for_build_attribute): ..static vars here. Free | |
1675 | strtab and symtab before loading new ones. Reject symtab without | |
1676 | valid strtab in loop, breaking out of loop on valid symtab. | |
1677 | (process_file): Free ba_cache symtab and strtab here, resetting | |
1678 | ba_cache. | |
1679 | ||
8fb879cd AM |
1680 | 2020-03-12 Alan Modra <amodra@gmail.com> |
1681 | ||
1682 | * readelf.c (process_section_headers): Don't just set | |
1683 | filedata->section_headers NULL, free it first. Similarly for | |
1684 | dynamic_symbols, dynamic_strings, dynamic_syminfo and | |
1685 | symtab_shndx_list. Zero associated counts too. | |
1686 | (process_object): Free symtab_shndx_list. | |
1687 | (process_file): Free various allocated filedata tables. | |
1688 | ||
5496f3c6 NC |
1689 | 2020-03-11 Nick Clifton <nickc@redhat.com> |
1690 | ||
1691 | PR 25611 | |
1692 | PR 25614 | |
1693 | * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and | |
1694 | li_segment_size fields. | |
1695 | * dwarf.c (read_debug_line_header): Record the address size and | |
1696 | segment selector size values (if present) in the lineinfo | |
1697 | structure. | |
1698 | (display_formatted_table): Warn if the format count is empty but | |
1699 | the table itself is not empty. | |
1700 | Display the format count and entry count at the start of the table | |
1701 | dump. | |
1702 | (display_debug_lines_raw): Display the address size and segement | |
1703 | selector size fields, if present. | |
1704 | * testsuite/binutils-all/dw5.W: Update expected output. | |
1705 | ||
9cc89dc0 AM |
1706 | 2020-03-11 Alan Modra <amodra@gmail.com> |
1707 | ||
1708 | PR 25651 | |
1709 | * objcopy.c (copy_object): Test "gaps" not gap_fill_set or | |
1710 | pad_to_set on second block of code dealing with padding. | |
1711 | Replace "c" with "num_sec" and don't recalculate number of | |
1712 | sections on second block. Size arrays using sizeof (element) | |
1713 | rather than sizeof (element type). | |
1714 | ||
41da0822 AM |
1715 | 2020-03-10 Alan Modra <amodra@gmail.com> |
1716 | ||
1717 | * objdump.c (disassemble_section): Don't call qsort unless | |
1718 | sym count is at least two. | |
1719 | (disassemble_data): Don't call memcpy with NULL src. | |
1720 | ||
95099889 AM |
1721 | 2020-03-09 Alan Modra <amodra@gmail.com> |
1722 | ||
1723 | PR 25645 | |
1724 | * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb | |
1725 | to get_data rather than multiplying. | |
1726 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
1727 | (process_version_sections): Correct order of size and nmemb args | |
1728 | in get_data call. | |
1729 | (process_mips_specific): Likewise. | |
1730 | ||
a15de1f5 L |
1731 | 2020-03-08 H.J. Lu <hongjiu.lu@intel.com> |
1732 | ||
1733 | * readelf.c (get_dynamic_data): Replace "memory chekers" with | |
1734 | "memory checkers" in comments. | |
1735 | ||
9979ab66 SM |
1736 | 2020-03-06 Simon Marchi <simon.marchi@efficios.com> |
1737 | ||
1738 | PR 25491 | |
1739 | * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES. | |
1740 | * doc/Makefile.in: Re-generate. | |
1741 | ||
a0dcf297 NC |
1742 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
1743 | ||
1744 | * objcopy.c (check_new_section_flags): New function. Reject the | |
1745 | SEC_COFF_SHARED flag if the target is not a COFF binary. | |
1746 | (copy_object): Call check_new_section_flags. | |
1747 | (setup_section): Likewise. | |
1748 | * doc/binutils.texi (objcopy): Add a note that the 'share' section | |
1749 | flag cannot be applied to ELF binaries. | |
1750 | ||
a9b90127 AM |
1751 | 2020-03-06 Alan Modra <amodra@gmail.com> |
1752 | ||
1753 | PR 25637 | |
1754 | * objcopy.c (filter_symbols): Correct rem_leading_char logic. | |
1755 | ||
d1faf7ca AM |
1756 | 2020-03-05 Alan Modra <amodra@gmail.com> |
1757 | ||
1758 | PR 25629 | |
1759 | * objcopy.c (filter_symbols): Don't segfault on NULL | |
1760 | prefix_symbols_string. | |
1761 | ||
eef64366 CE |
1762 | 2020-03-04 Christian Eggers <ceggers@gmx.de> |
1763 | ||
1764 | * objcopy.c (copy_object): Convert from bytes to octets for | |
1765 | --gap-fill and --pad-to. | |
1766 | ||
5be2b2f5 NC |
1767 | 2020-03-03 Nick Clifton <nickc@redhat.com> |
1768 | ||
1769 | PR 25625 | |
1770 | * prdbg.c (pr_tag_type): Remove call to abort. | |
1771 | ||
b312fea1 AM |
1772 | 2020-03-02 Aaron Merey <amerey@redhat.com> |
1773 | ||
1774 | * binutils/testsuite/binutils-all/debuginfod.exp: Improve port | |
1775 | selection. | |
1776 | ||
ba3265d0 NC |
1777 | 2020-03-02 Nick Clifton <nickc@redhat.com> |
1778 | ||
1779 | PR 25543 | |
1780 | * readelf.c (dump_section_as_strings): Display new-line characters | |
1781 | as \n and then insert a line break. | |
1782 | * testsuite/binutils-all/pr25543.s: New test. | |
1783 | * testsuite/binutils-all/pr25543.d: Test driver. | |
1784 | * testsuite/binutils-all/readelf.exp: Run the new test. | |
1785 | ||
736990c4 NC |
1786 | 2020-02-27 Nick Clifton <nickc@redhat.com> |
1787 | ||
1788 | PR 25526 | |
1789 | * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if | |
1790 | get_data is unable to load the string table. | |
1791 | ||
dc1e8a47 AM |
1792 | 2020-02-26 Alan Modra <amodra@gmail.com> |
1793 | ||
1794 | * elfedit.c: Indent labels correctly. | |
1795 | * readelf.c: Likewise. | |
1796 | * resres.c: Likewise. | |
1797 | ||
ecda9016 L |
1798 | 2020-02-25 H.J. Lu <hongjiu.lu@intel.com> |
1799 | ||
1800 | PR binutils/25584 | |
1801 | * ar.c (main): Pass 0 to bfd_plugin_set_program_name. | |
1802 | * nm.c (main): Pass 1 to bfd_plugin_set_program_name. | |
1803 | ||
83d4d556 NC |
1804 | 2020-02-24 Nick Clifton <nickc@redhat.com> |
1805 | ||
1806 | PR 25499 | |
1807 | * doc/binutils.texi (objdump): Fix typo in description of | |
1808 | objdump's -g option. | |
1809 | ||
bd0cf5a6 NC |
1810 | 2020-02-20 Nelson Chu <nelson.chu@sifive.com> |
1811 | ||
1812 | * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR | |
1813 | is changed. | |
1814 | ||
741cb839 EC |
1815 | 2020-02-19 Jordan Rupprecht <rupprecht@google.com> |
1816 | ||
1817 | * objdump.c (show_line): call bfd_demangle when using do_demangle. | |
1818 | ||
9f1528a1 AB |
1819 | 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> |
1820 | ||
1821 | * configure: Regenerate. | |
1822 | ||
3a5d12fb FS |
1823 | 2020-02-10 Fangrui Song <maskray@google.com> |
1824 | ||
1825 | * objcopy.c (parse_flags): Handle "exclude". | |
1826 | * doc/binutils.texi: Document the support. | |
1827 | ||
678d457f AM |
1828 | 2020-02-10 Aaron Merey <amerey@redhat.com> |
1829 | ||
1830 | * binutils/testsuite/binutils-all/debuginfod.exp: | |
1831 | Replace set ::env with setenv. | |
46471187 AM |
1832 | Start server before setting environment variable. |
1833 | Specify tmpdir as the location of the server's | |
1834 | database. | |
1835 | Check additional server metrics at start-up. | |
678d457f | 1836 | |
e8319fde NC |
1837 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
1838 | ||
1839 | * README-how-to-make-a-release: Add note about updating the | |
1840 | GAS/NEWS URL in the next release. | |
1841 | ||
9fc0b501 SB |
1842 | 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> |
1843 | ||
1844 | PR 25469 | |
1845 | * readelf.c (get_machine_flags): Add support for Z80N machine | |
1846 | number. | |
1847 | ||
e1104d08 NC |
1848 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
1849 | ||
1850 | * dwarf.c (display_debug_lines_decoded): Force a NUL termination | |
1851 | of the truncated file name. | |
1852 | ||
c2e6f744 | 1853 | 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com> |
ece12829 TT |
1854 | |
1855 | * objdump.c (print_jump_visualisation): New function. | |
1856 | (disassemble_bytes): Call new function. | |
1857 | ||
02e0be69 AM |
1858 | 2020-02-06 Alan Modra <amodra@gmail.com> |
1859 | ||
1860 | * testsuite/lib/binutils-common.exp (match_target): Accept '!' before | |
1861 | TCL procedure. | |
1862 | (supports_gnu_osabi): New procedure. | |
1863 | (is_generic): New, from ld-lib.exp. | |
1864 | (supports_gnu_unique): Use the above. | |
1865 | ||
e8b79122 AM |
1866 | 2020-02-04 Alan Modra <amodra@gmail.com> |
1867 | ||
1868 | * Makefile.am (CFILES): Add od-elf32_avr.c. | |
1869 | * Makefile.in: Regenerate. | |
1870 | * po/POTFILES.in: Regenerate. | |
1871 | ||
27a45f42 AS |
1872 | 2020-02-03 Andreas Schwab <schwab@linux-m68k.org> |
1873 | ||
1874 | * readelf.c (dump_relocations, dump_relocations) | |
1875 | (decode_arm_unwind_bytecode, process_dynamic_section) | |
1876 | (get_symbol_visibility, get_alpha_symbol_other): Add newline to | |
1877 | error message. | |
1878 | ||
0b398d69 ST |
1879 | 2020-02-03 Sergei Trofimovich <siarheit@google.com> |
1880 | ||
1881 | * coffdump.c (program_name): Drop redundant definition. | |
1882 | * srconv.c (program_name): Likewise | |
1883 | * sysdump.c (program_name): Likewise | |
1884 | ||
a8c4d40b L |
1885 | 2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
1886 | ||
1887 | PR gas/25380 | |
1888 | * objdump.c (sym_ok): Return FALSE if 2 sections are in the | |
1889 | same file with different section pointers. | |
1890 | ||
cb6ad9bb NC |
1891 | 2020-02-01 Nick Clifton <nickc@redhat.com> |
1892 | ||
1893 | * README-how-to-make-a-release: Update with more details on the | |
1894 | release making process. | |
1895 | ||
53943f32 NC |
1896 | 2020-01-31 Nick Clifton <nickc@redhat.com> |
1897 | ||
1898 | * po/sv.po: Updated Swedish translation. | |
1899 | ||
55be8fd0 NC |
1900 | 2020-01-28 Nick Clifton <nickc@redhat.com> |
1901 | ||
1902 | * readelf.c (get_build_id): Simplify warning message about corrupt | |
1903 | notes encountered whilst scanning for the build-id. | |
1904 | ||
82ef9cad RM |
1905 | 2020-01-27 Roland McGrath <mcgrathr@google.com> |
1906 | ||
1907 | * objcopy.c (compare_gnu_build_notes): Fix comparison results | |
1908 | for overlapping ranges so that (A == B) == (B == A) holds. | |
1909 | ||
e3696f67 AM |
1910 | 2020-01-27 Alan Modra <amodra@gmail.com> |
1911 | ||
1912 | * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace | |
1913 | case statement with switch statement. | |
1914 | ||
2f796de6 NC |
1915 | 2020-01-24 Nick Clifton <nickc@redhat.com> |
1916 | ||
1917 | * readelf.c (get_build_id): Fix warning messages about corrupt | |
1918 | notes. | |
1919 | ||
24e648d4 NC |
1920 | 2020-01-23 Nick Clifton <nickc@redhat.com> |
1921 | ||
1922 | * po/fr.po: Updated French translation. | |
1923 | ||
c48acf6f YC |
1924 | 2020-01-22 Yuri Chornoivan <yurchor@mageia.org> |
1925 | ||
1926 | PR 25417 | |
1927 | * readelf.c (get_alpha_symbol_other): Fix error message typo. | |
1928 | ||
26916852 NC |
1929 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
1930 | ||
1931 | * po/pt.po: Updated Portuguese translation. | |
1932 | * po/uk.po: Updated Ukranian translation. | |
1933 | ||
b248e9ce NC |
1934 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
1935 | ||
1936 | * README-how-to-make-a-release: Update notes on how to cut a | |
1937 | branch for a release. | |
1938 | ||
1b1bb2c6 NC |
1939 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
1940 | ||
1941 | * configure: Regenerate. | |
1942 | * po/binutils.pot: Regenerate. | |
1943 | ||
ae774686 NC |
1944 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
1945 | ||
1946 | Binutils 2.34 branch created. | |
1947 | ||
82a9ed20 TT |
1948 | 2020-01-17 Thomas Troeger <tstroege@gmx.de> |
1949 | ||
1950 | * objdump.c (jump_info_visualize_address): Discard jumps that are | |
1951 | no longer needed. | |
1952 | (disassemble_bytes): Only compute the maximum level if jumps were | |
1953 | detected. | |
1954 | ||
6a1939f5 NC |
1955 | 2020-01-13 Nick Clifton <nickc@redhat.com> |
1956 | ||
c87c17c1 | 1957 | * objdump.c (disassemble_bytes): Remove C99-ism. |
6a1939f5 NC |
1958 | * testsuite/binutils-all/debuginfod.exp: New tests. |
1959 | ||
1d67fe3b TT |
1960 | 2020-01-13 Thomas Troeger <tstroege@gmx.de> |
1961 | ||
1962 | * objdump.c (visualize_jumps, color_output, extended_color_output) | |
1963 | (detected_jumps): New variables. | |
1964 | (usage): Add the new jump visualization options. | |
1965 | (option_values): Add new option value. | |
1966 | (long_options): Add the new option. | |
1967 | (jump_info_new, jump_info_free): New functions. | |
1968 | (jump_info_min_address, jump_info_max_address): Likewise. | |
1969 | (jump_info_end_address, jump_info_is_start_address): Likewise. | |
1970 | (jump_info_is_end_address, jump_info_size): Likewise. | |
1971 | (jump_info_unlink, jump_info_insert): Likewise. | |
1972 | (jump_info_add_front, jump_info_move_linked): Likewise. | |
1973 | (jump_info_intersect, jump_info_merge): Likewise. | |
1974 | (jump_info_sort, jump_info_visualize_address): Likewise. | |
1975 | (disassemble_jumps): New function - used to locate jumps. | |
1976 | (disassemble_bytes): Add ascii art generation. | |
1977 | (disassemble_section): Add scan to locate jumps. | |
1978 | (main): Parse the new visualization option. | |
1979 | * doc/binutils.texi: Document the new feature. | |
1980 | * NEWS: Mention the new feature. | |
1981 | ||
a788aedd AM |
1982 | 2020-01-13 Alan Modra <amodra@gmail.com> |
1983 | ||
a4f2b7c5 AM |
1984 | PR 25360 |
1985 | PR 25361 | |
a788aedd AM |
1986 | * dwarf.c (display_debug_frames): Move fde_fc earlier. Free |
1987 | fde_fc col_type and col_offset. | |
1988 | * readelf.c (apply_relocations): Move symsec check earlier. | |
1989 | (free_debug_section): Free reloc_info. | |
1990 | (process_notes_at): Free pnotes on error path. | |
1991 | (process_object): Free dump_sects here.. | |
1992 | (process_archive): ..not here. | |
1993 | ||
805f38bc AM |
1994 | 2020-01-13 Alan Modra <amodra@gmail.com> |
1995 | ||
1996 | PR 25362 | |
1997 | * nm.c (display_rel_file): Free dyn_syms. | |
1998 | ||
ffebb0bb NC |
1999 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
2000 | ||
2001 | PR 25220 | |
2002 | * objcopy.c (empty_name): New variable. | |
2003 | (need_sym_before): Prevent an attempt to free a static variable. | |
2004 | (filter_symbols): Avoid strcmp test by checking for pointer | |
2005 | equality. | |
2006 | ||
ade4fd9b NC |
2007 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
2008 | ||
2009 | * po/zh_TW.po: Updated Traditional Chinese translation. | |
2010 | ||
2011 | 2020-01-09 Aaron Merey <amerey@redhat.com> | |
2012 | ||
2013 | * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod. | |
2014 | * Makefile.in: Regenerate. | |
2015 | * NEWS: Update. | |
2016 | * config.in: Regenerate. | |
2017 | * configure: Regenerate. | |
2018 | * configure.ac: Call AC_DEBUGINFOD. | |
2019 | * doc/Makefile.in: Regenerate. | |
2020 | * doc/binutils.texi: Add section on using binutils | |
2021 | with debuginfod. | |
2022 | * dwarf.c (debuginfod_fetch_separate_debug_info): New function. | |
2023 | Query debuginfod servers for the target debug file. | |
2024 | (load_separate_debug_info): Call | |
2025 | debuginfod_fetch_separate_debug_info if configured with | |
2026 | debuginfod. | |
2027 | (load_separate_debug_files): Add file argument to | |
2028 | load_separate_debug_info calls. | |
2029 | * dwarf.h (get_build_id): Add declaration. | |
2030 | * objdump.c (get_build_id): New function. Get build-id of file. | |
2031 | * readelf.c (get_build_id): Likewise. | |
2032 | * testsuite/binutils-all/debuginfod.exp: New tests. | |
2033 | * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id | |
2034 | section. | |
2035 | ||
6655dba2 SB |
2036 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
2037 | ||
2038 | * readelf.c: Add support for new Z*) relocations and machine | |
2039 | types. | |
2040 | ||
b14ce8bf AM |
2041 | 2020-01-01 Alan Modra <amodra@gmail.com> |
2042 | ||
2043 | Update year range in copyright notice of all files. | |
2044 | ||
0b114740 | 2045 | For older changes see ChangeLog-2019 |
3499769a | 2046 | \f |
0b114740 | 2047 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
2048 | |
2049 | Copying and distribution of this file, with or without modification, | |
2050 | are permitted in any medium without royalty provided the copyright | |
2051 | notice and this notice are preserved. | |
2052 | ||
2053 | Local Variables: | |
2054 | mode: change-log | |
2055 | left-margin: 8 | |
2056 | fill-column: 74 | |
2057 | version-control: never | |
2058 | End: |