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