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