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