]>
Commit | Line | Data |
---|---|---|
23356397 NC |
1 | 2021-04-21 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d: | |
4 | Adjust expected output to allow for named section symbols. | |
5 | * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d: | |
6 | Likewise. | |
7 | * testsuite/binutils-all/readelf.s-64: Likewise. | |
8 | * testsuite/binutils-all/readelf.ss-64-unused: Likewise. | |
9 | * testsuite/binutils-all/readelf.ss-tmips: Likewise. | |
10 | * testsuite/binutils-all/readelf.ss-unused: Likewise. | |
11 | ||
12 | 2021-04-21 Luo Longjun <luolongjun@huawei.com> | |
13 | ||
14 | * readelf.c (print_dynamic_symbol): Print the section name for | |
15 | section symbols without a name of their own. | |
16 | ||
aee4e85e AK |
17 | 2021-04-20 Andreas Krebbel <krebbel@linux.ibm.com> |
18 | ||
19 | * MAINTAINERS: Remove Martin Schwidefsky as s390 maintainer and | |
20 | add him to Past Maintainers. | |
21 | Update my email address. | |
22 | ||
229597a1 NC |
23 | 2021-04-19 Nick Clifton <nickc@redhat.com> |
24 | ||
25 | PR 21702 | |
26 | * arsup.c (ar_addmod): Enable plugin support, if available. | |
27 | ||
4dee4f3e NC |
28 | 2021-04-19 Nick Clifton <nickc@redhat.com> |
29 | ||
30 | * rename.c: (get_stat_atime_ns): Add prototype. | |
31 | (get_stat_mtime_ns): Add prototype. | |
32 | ||
ad7c4616 AM |
33 | 2021-04-16 Alan Modra <amodra@gmail.com> |
34 | ||
35 | PR 27725 | |
36 | * rename.c (get_stat_atime, get_stat_mtime): Make static. | |
37 | (get_stat_atime_ns, get_stat_mtime_ns): Likewise. | |
38 | ||
4c79248a PS |
39 | 2021-04-15 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi> |
40 | ||
41 | PR 27725 | |
42 | * rename.c (get_stat_atime_ns): Add ATTRIBUTE_UNUSED. | |
43 | (get_stat_mtime_ns): Likewise. | |
44 | ||
985e0264 AM |
45 | 2021-04-15 Alan Modra <amodra@gmail.com> |
46 | ||
47 | PR 27725 | |
48 | * configure.ac: Check for sys/time.h and utimensat. Use standard | |
49 | checks for mkstemp and mkdtemp. Whitespace. Check for nanosecond | |
50 | members of struct stat. | |
51 | * rename.c: Prefer sys/time.h for utimes over utime.h for utime. | |
52 | (STAT_TIMESPEC, STAT_TIMESPEC_NS): Define | |
53 | (get_stat_atime_ns, get_stat_mtime_ns): New inline functions. | |
54 | (get_stat_atime, get_stat_mtime): Likewise. | |
55 | (set_times): Choose first available of utimensat, utimes, utime. | |
56 | Use above inline functions to set timespec and timeval values. | |
57 | * configure: Regenerate. | |
58 | * config.in: Regenerate. | |
59 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Add test of | |
60 | file timestamp when --preserve-dates is used. | |
61 | ||
d0ecdcdd AM |
62 | 2021-04-15 Alan Modra <amodra@gmail.com> |
63 | ||
64 | PR 27456 | |
65 | * rename.c (smart_rename): When TO and FROM are equal, just set | |
66 | file timestamp. | |
67 | * objcopy.c (strip_main, copy_main): Always call smart_rename. | |
68 | ||
9917b559 L |
69 | 2021-04-14 H.J. Lu <hongjiu.lu@intel.com> |
70 | ||
71 | PR binutils/27708 | |
72 | * testsuite/binutils-all/x86-64/pr27708.dump: New file. | |
73 | * testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise. | |
74 | * testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708 | |
75 | test. | |
76 | ||
6be872a4 MH |
77 | 2021-04-14 Mark Harmstone <mark@harmstone.com> |
78 | ||
79 | PR 27686 | |
80 | * resbin.c (bin_to_res_version): Ignore any trailing bytes at the | |
81 | end of the structure. | |
82 | ||
5f47741b FC |
83 | 2021-04-14 Frederic Cambus <fred@statdns.com> |
84 | ||
85 | * readelf.c (get_netbsd_elfcore_note_type): Remove unneeded #ifdef | |
86 | checks for NT_NETBSDCORE_AUXV and NT_NETBSDCORE_LWPSTATUS. | |
87 | ||
13acb58d AM |
88 | 2021-04-14 Alan Modra <amodra@gmail.com> |
89 | ||
90 | PR 27716 | |
91 | * objdump.c (show_line): Don't limit paths to PATH_MAX. | |
92 | * readelf.c (struct filedata): Change program_interpreter from | |
93 | a char array to a char pointer. | |
94 | (process_program_headers): Sanity check PT_INTERP p_filesz. | |
95 | Malloc program_interpreter using p_filesz and read directly from | |
96 | file. | |
97 | (process_dynamic_section): Check program_interpreter is non-NULL. | |
98 | (free_filedata): New function, split out from.. | |
99 | (process_object): ..here. | |
100 | (close_debug_file): Call free_filedata. | |
101 | * sysdep.h: Don't include sys/param.h. | |
102 | (PATH_MAX): Don't define. | |
103 | * configure.ac: Don't check for sys/param.h. | |
104 | * configure: Regenerate. | |
105 | ||
0fa29e2d FC |
106 | 2021-04-13 Frederic Cambus <fred@statdns.com> |
107 | ||
108 | * readelf.c (process_netbsd_elf_note): Remove now unneeded #ifdef | |
109 | check for NT_NETBSD_PAX. | |
110 | ||
43e05cd4 AM |
111 | 2021-04-12 Alan Modra <amodra@gmail.com> |
112 | ||
113 | * configure.ac (--enable-checking): Add support. | |
114 | * config.in: Regenerate. | |
115 | * configure: Regenerate. | |
116 | ||
c3f72de4 AM |
117 | 2021-04-09 Alan Modra <amodra@gmail.com> |
118 | ||
119 | * objdump.c (struct objdump_disasm_info): Delete dynrelbuf and | |
120 | dynrelcount. | |
121 | (find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move. | |
122 | (disassemble_section, disassemble_data): Likewise. | |
123 | ||
a2e66773 AM |
124 | 2021-04-06 Alan Modra <amodra@gmail.com> |
125 | ||
126 | * objdump.c (objdump_symbol_at_address): Return asymbol*. | |
127 | ||
4db29512 AM |
128 | 2021-04-06 Alan Modra <amodra@gmail.com> |
129 | ||
130 | * NEWS: Mention C99 requirement. | |
131 | * README: Likewise. Modernise examples and "Reporting bugs". | |
132 | ||
87b9f255 AM |
133 | 2021-04-05 Alan Modra <amodra@gmail.com> |
134 | ||
135 | * configure.ac: Assume long long is available. Don't test for | |
136 | strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check | |
137 | inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for | |
138 | strcoll, setlocale, setmode or location of time_t. Don't check | |
139 | for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls. | |
140 | (AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke. | |
141 | * sysdep.h: Don't include alloca-conf.h, include config.h instead. | |
142 | Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h, | |
143 | locale.h, string.h and stdlib.h unconditionally. Remove various | |
144 | fallback declarations. Assume long long is available. | |
145 | * addr2line.c: Don't test HAVE_SETLOCALE. | |
146 | * ar.c: Likewise. | |
147 | * coffdump.c: Likewise. | |
148 | * dlltool.c: Likewise. | |
149 | * dllwrap.c: Likewise. | |
150 | * elfedit.c: Likewise. | |
151 | * nm.c: Likewise. | |
152 | * objcopy.c: Likewise. | |
153 | * objdump.c: Likewise. | |
154 | * readelf.c: Likewise. | |
155 | * size.c: Likewise. | |
156 | * srconv.c: Likewise. | |
157 | * strings.c: Likewise. | |
158 | * sysdump.c: Likewise. | |
159 | * windmc.c: Likewise. | |
160 | * windres.c: Likewise. | |
161 | * bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H. | |
162 | * dwarf.c: Include limits.h unconditionally. Assume long long | |
163 | is available. | |
164 | * nm.c: Don't test HAVE_STRCOLL. | |
165 | * readelf.c: Don't test HAVE_WCHAR_H. | |
166 | * strings.c: Assume long long is available. | |
167 | * syslex.l: Include string.h unconditionally. | |
168 | * aclocal.m4: Regenerate. | |
169 | * config.in: Regenerate. | |
170 | * configure: Regenerate. | |
171 | * Makefile.in: Regenerate. | |
172 | * doc/Makefile.in: Regenerate. | |
173 | ||
e9b095a5 ML |
174 | 2021-04-01 Martin Liska <mliska@suse.cz> |
175 | ||
176 | * elfcomm.h (strneq): Remove strneq and use startswith. | |
177 | * readelf.c (ia64_process_unwind): Likewise. | |
178 | (process_note): Likewise. | |
179 | ||
3f3328b8 ML |
180 | 2021-04-01 Martin Liska <mliska@suse.cz> |
181 | ||
182 | * dllwrap.c: Use startswith function. | |
183 | * objcopy.c (is_dwo_section): Likewise. | |
184 | (handle_remove_section_option): Likewise. | |
185 | (copy_main): Likewise. | |
186 | * objdump.c (is_significant_symbol_name): Likewise. | |
187 | ||
24d127aa ML |
188 | 2021-04-01 Martin Liska <mliska@suse.cz> |
189 | ||
190 | * dwarf.c (display_debug_lines_raw): Replace const_strneq with | |
191 | startswith. | |
192 | (display_debug_lines_decoded): Likewise. | |
193 | (display_debug_links): Likewise. | |
194 | * elfcomm.c (setup_archive): Likewise. | |
195 | * elfcomm.h (const_strneq): Likewise. | |
196 | * readelf.c (process_section_headers): Likewise. | |
197 | (slurp_ia64_unwind_table): Likewise. | |
198 | (slurp_hppa_unwind_table): Likewise. | |
199 | (decode_arm_unwind): Likewise. | |
200 | (display_debug_section): Likewise. | |
201 | (process_note): Likewise. | |
202 | ||
015dc7e1 AM |
203 | 2021-03-31 Alan Modra <amodra@gmail.com> |
204 | ||
205 | * sysdep.h (POISON_BFD_BOOLEAN): Define. | |
206 | * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c, | |
207 | * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c, | |
208 | * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h, | |
209 | * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c, | |
210 | * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c, | |
211 | * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h, | |
212 | * windmc.c, * windmc.h, * windres.c, * winduni.c, | |
213 | * wrstabs.c: Replace bfd_boolean with bool, FALSE with false, | |
214 | and TRUE with true throughout. | |
215 | ||
3dfb1b6d AM |
216 | 2021-03-31 Alan Modra <amodra@gmail.com> |
217 | ||
218 | * coffdump.c: Include stdint.h in place of bfd_stdint.h. | |
219 | * dwarf.c: Likewise. | |
220 | ||
57ae980e AM |
221 | 2021-03-31 Alan Modra <amodra@gmail.com> |
222 | ||
223 | * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy. | |
224 | ||
63b4cc53 AM |
225 | 2021-03-29 Alan Modra <amodra@gmail.com> |
226 | ||
227 | * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE". | |
228 | * dwarf.c (read_and_display_attr_value): Likewise. | |
229 | (display_debug_str_offsets): Likewise. | |
230 | * objdump.c (dump_bfd): Likewise. | |
231 | * readelf.c (dump_section_as_strings): Likewise. | |
232 | (dump_section_as_bytes): Likewise. | |
233 | ||
1be305ff AM |
234 | 2021-03-29 Alan Modra <amodra@gmail.com> |
235 | ||
236 | * objdump.c (process_links): Use type int. | |
237 | * readelf.c (request_dump): Don't increment do_dump, set it. | |
238 | * windint.h (target_is_bigendian): Use type bfd_boolean. | |
239 | * windmc.c (target_is_bigendian): Likewise. | |
240 | * windres.c (target_is_bigendian): Likewise. | |
241 | ||
08dedd66 ML |
242 | 2021-03-22 Martin Liska <mliska@suse.cz> |
243 | ||
1be305ff AM |
244 | * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ |
245 | with startswith. | |
08dedd66 ML |
246 | * emul_aix.c (ar_emul_aix_parse_arg): Likewise. |
247 | * objcopy.c (is_mergeable_note_section): Likewise. | |
248 | * objdump.c (dump_dwarf_section): Likewise. | |
249 | * prdbg.c (pr_method_type): Likewise. | |
250 | (pr_class_baseclass): Likewise. | |
251 | (tg_class_baseclass): Likewise. | |
252 | * readelf.c (process_lto_symbol_tables): Likewise. | |
253 | * stabs.c (ULLHIGH): Likewise. | |
254 | (parse_stab_argtypes): Likewise. | |
255 | (stab_demangle_function_name): Likewise. | |
256 | ||
7b9f9859 L |
257 | 2021-03-19 H.J. Lu <hongjiu.lu@intel.com> |
258 | ||
259 | * readelf.c (get_machine_name): Add EM_INTELGT. | |
260 | ||
835f2fae NC |
261 | 2021-03-18 Nick Clifton <nickc@redhat.com> |
262 | ||
263 | PR 27478 | |
264 | * readelf.c (dump_section_as_strings): Mention separate filename. | |
265 | (dump_section_as_bytes): Likewise. | |
266 | (dump_section_as_ctf): Likewise. | |
267 | (initialise_dumkps_byname): Only issue a warning for missing | |
268 | sections if processing the main file. | |
269 | (process_section_contents): Only issue a warning for unsumped | |
270 | section numbers in the main file. | |
271 | (initialise_dump_sects): New function. Contains code extracted | |
272 | from ... | |
273 | (process_object): ... here. Also call initialise_dump_sects for | |
274 | separate files. | |
275 | ||
44266f36 NC |
276 | 2021-03-16 Nick Clifton <nickc@redhat.com> |
277 | ||
278 | PR 27534 | |
279 | * readelf.c (display_debug_section): Also retain .debug_addr | |
280 | sections. | |
281 | ||
d6bfbc39 NC |
282 | 2021-03-16 Nick Clifton <nickc@redhat.com> |
283 | ||
284 | PR 27533 | |
285 | * readelf.c (process_section_contents): Only dump debug | |
286 | information for separate files unless process_links is enabled. | |
287 | (process_object): Always call process_section_contents for | |
288 | separate info files. | |
289 | ||
1996d0f1 NC |
290 | 2021-03-15 Nick Clifton <nickc@redhat.com> |
291 | ||
292 | PR 27487 | |
293 | * nm.c (FORMAT_JUST_SYMBOLS): Define. | |
294 | (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS. | |
295 | (long_options): Add just-symbols. | |
296 | (set_output_format): Add support for just-symbols. | |
297 | (get_print_format): Likewise. | |
298 | (do_not_print_object_filename): New function. | |
299 | (do_not_print_archive_filename): New function. | |
300 | (do_not_print_archive_member): New function. | |
301 | (do_not_print_symbol_filename): New function. | |
302 | (just_print_symbol_name): New function. | |
303 | (main): Handle --just-symbols. | |
304 | * NEWS: Mention the new feature. | |
305 | * doc/binutils.texi: Document the new feature. | |
306 | ||
2c1bef53 CC |
307 | 2021-03-12 Clément Chigot <clement.chigot@atos.net> |
308 | ||
309 | * od-xcoff.c: Replace RTB by TRL entry. | |
310 | ||
db6092f3 AB |
311 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
312 | Andrew Burgess <andrew.burgess@embecosm.com> | |
313 | ||
314 | * readelf.c (get_note_type): Handle NT_RISCV_CSR. | |
315 | ||
b63a5e38 AB |
316 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
317 | Andrew Burgess <andrew.burgess@embecosm.com> | |
318 | ||
319 | * readelf.c (get_note_type): Handle NT_GDB_TDESC. | |
320 | ||
d296b736 NC |
321 | 2021-03-05 Nick Clifton <nickc@redhat.com> |
322 | ||
323 | PR 27387 | |
324 | * dwarf.c (display_debug_macro): Handle the displaying of | |
325 | DW_MACRO_define_strp and DW_MACRO_undef_strp in v4 | |
326 | .debug_macro.dwo sections. | |
327 | ||
ca0e11aa NC |
328 | 2021-03-04 Nick Clifton <nickc@redhat.com> |
329 | ||
330 | PR 27478 | |
331 | * objdump.c (process_links): New variable. | |
332 | (usage): Add --process-links. | |
333 | (long_options): Likewise. | |
334 | (dump_bfd): Stop processing once the bfd has been loaded unless | |
335 | this is the main file or process_links has been enabled. | |
336 | (main): Handle the process-links option. | |
337 | * readelf.c (process_links): New variable. | |
338 | (struct filedata): Add is_separate field. | |
339 | (options): Add --process-links. | |
340 | (usage): Likewise. | |
341 | (parse_args): Likewise. | |
342 | (process_file_header): Include the filename when dumping | |
343 | information for separate debuginfo files. | |
344 | (process_program_headers): Likewise. | |
345 | (process_section_headers): Likewise. | |
346 | (process_section_groups): Likewise. | |
347 | (process_relocs): Likewise. | |
348 | (process_dynamic_section): Likewise. | |
349 | (process_version_sections): Likewise. | |
350 | (display_lto_symtab): Likewise. | |
351 | (process_symbol_table): Likewise. | |
352 | (process_syminfo): Likewise. | |
353 | (initialise_dumps_by_name): Likewise. | |
354 | (process_section_contents): Likewise. | |
355 | (process_notes_at): Likewise. | |
356 | (process_notes): Likewise. | |
357 | (open_file): Add is_separate parameter. Use to initialise the | |
358 | is_separate field in the filedata structure. | |
359 | (open_deug): Update call to open_file. | |
360 | (process_object): Add processing of the contents of separate | |
361 | debuginfo files, gated by the process_links variable. | |
362 | (process_archive): Update call to open_file. | |
363 | (process_file): Initialise the is_separate field in the filedata | |
364 | structure. | |
365 | * dwarf.c (load_separate_debug_info_file): Only report the | |
366 | loading of a separate file if debug links are being dumped. | |
367 | * objcopy.c (keep_section_symbols): New variable. | |
368 | (enum command_line_switch): Add OPTION_KEEP_SYMBOLS. | |
369 | (strip_options): Add keep-section-symbols. | |
370 | (copy_options): Likewise. | |
371 | (copy_usage): Likewise. | |
372 | (strip_usage): Likewise. | |
373 | (copy_object): Keep section symbols if requested by command line | |
374 | option. | |
375 | (strip_main): Handle --keep-section-symbols. | |
376 | (copy_main): Likewise. | |
377 | * doc/binutils.texi: Document the new options. | |
378 | * NEWS: Mention the new features. | |
379 | * testsuite/binutils-all/compress.exp (test_gnu_debuglink): | |
380 | Update options passed to objdump. Use diff rather than cmp to | |
381 | compare the dumped data. | |
382 | * testsuite/binutils-all/objdump.WK2: Update regexp. | |
383 | * testsuite/binutils-all/objdump.WK3: Update regexp. | |
384 | * testsuite/binutils-all/objdump.exp: Use --process-links | |
385 | instead of --dwarf=follow-links. | |
386 | * testsuite/binutils-all/readelf.exp (readelf_test): Include | |
387 | readelf's output in the log when the test fails. | |
388 | Add the -P option to the -wKis test. | |
389 | * testsuite/binutils-all/readelf.wKis: Update expected output. | |
390 | ||
fd5c076a AM |
391 | 2021-03-03 Alan Modra <amodra@gmail.com> |
392 | ||
393 | PR 27493 | |
394 | * objcopy.c (filter_symbols): Apply --weaken to undefined symbols. | |
395 | * NEWS: Mention feature. | |
396 | ||
ecd65684 L |
397 | 2021-03-01 H.J. Lu <hongjiu.lu@intel.com> |
398 | ||
399 | PR binutils/27486 | |
400 | * dwarf.c (load_separate_debug_info): Issue warning only if | |
401 | do_debug_links is set. | |
402 | * testsuite/binutils-all/compress.exp: Run objdump and readelf | |
403 | with missing debug file. | |
404 | ||
6a1224ec AM |
405 | 2021-03-01 Alan Modra <amodra@gmail.com> |
406 | ||
407 | PR 27128 | |
408 | * doc/binutils.texi: Add nm --with-symbol-versions and | |
409 | --without-symbol-versions documentation. | |
410 | * nm.c (with_symbol_versions): New variable. | |
411 | (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS. | |
412 | (long_options): Make --with-symbol-versions entry twiddle the flag. | |
413 | Add --without-symbol-versions. | |
414 | (print_symname): Strip version when !with_symbol_versions. Add | |
415 | dynamic version info under control of with_symbol_versions. | |
416 | (main): Remove OPTION_WITH_SYMBOL_VERSIONS case. | |
417 | ||
7fe1b138 FS |
418 | 2021-02-26 Fangrui Song <maskray@google.com> |
419 | ||
420 | PR 27408 | |
421 | * readelf.c (quiet): New option flag. | |
422 | (enum long_option_values): New enum to hold long option value. | |
423 | (long_options): Add --quiet. | |
424 | (usage): Mention --quiet. | |
425 | (display_rel_file): If quiet is enabled, suppress "no symbols". | |
426 | (main): Handle the new option. | |
427 | * NEWS: Mention --quiet. | |
428 | * docs/binutils.texi: Document --quiet. | |
429 | ||
0e12f6c8 TV |
430 | 2021-02-26 Tom de Vries <tdevries@suse.de> |
431 | ||
432 | * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits. | |
433 | ||
32e4f96c TV |
434 | 2021-02-26 Tom de Vries <tdevries@suse.de> |
435 | ||
436 | PR 27390 | |
437 | * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and | |
438 | DW_FORM_addrx*. | |
439 | (read_and_display_attr_value): Likewise. | |
440 | ||
e38332c2 NC |
441 | 2021-02-25 Nick Clifton <nickc@redhat.com> |
442 | ||
443 | * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup | |
444 | forms. | |
445 | (read_and_display_attr_value): Handle sup forms. | |
446 | (display_debug_sup): New function. Displays the contents of a | |
447 | .debug_sup section. | |
448 | (load_debug_sup_file): New function. Loads the contents of a file | |
449 | referenced by a .debug_sup section. | |
450 | (check_for_and_load_links): Call load_debug_sup_file. | |
451 | (debug_displays): Add entry for .debug_sup. | |
452 | * dwarf.h (enum dwarf_section_display_enum): Add debug_sup. | |
453 | * readelf.c (process_section_headers): Add support for debug_sup. | |
454 | * doc/debug.options.texi: Note that the =links option will display | |
455 | the contents of .debug_sup sections. | |
456 | * NEWS: Mention the new support. | |
457 | ||
40b02646 AM |
458 | 2021-02-25 Alan Modra <amodra@gmail.com> |
459 | ||
460 | PR 27456 | |
461 | * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED. | |
462 | ||
9d3fcfe0 NC |
463 | 2021-02-24 Nick Clifton <nickc@redhat.com> |
464 | ||
465 | PR 27285 | |
466 | * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows | |
467 | when adding together the section sizes. | |
468 | ||
c74147bb NC |
469 | 2021-02-24 Nick Clifton <nickc@redhat.com> |
470 | ||
471 | * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU | |
472 | build notes. | |
473 | * readelf.c (print_gnu_build_attribute_description): Likewise. | |
474 | ||
c42c71a1 AM |
475 | 2021-02-24 Alan Modra <amodra@gmail.com> |
476 | Siddhesh Poyarekar <siddhesh@gotplt.org> | |
477 | ||
478 | PR 27456 | |
479 | * bucomm.h (smart_rename): Update prototype. | |
480 | * rename.c (smart_rename): Add fromfd and preserve_dates params. | |
481 | Pass fromfd and target_stat to simple_copy. Call set_times | |
482 | when preserve_dates. | |
483 | (simple_copy): Accept fromfd rather than from filename. Add | |
484 | target_stat param. Rewind fromfd rather than opening. Open | |
485 | "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID. | |
486 | * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before | |
487 | closing output temp file, and pass tmpfd to smart_rename. | |
488 | * arsup.c (temp_fd): Rename from real_fd. | |
489 | (ar_save): Dup temp_fd and pass to smart_rename. | |
490 | * objcopy.c (strip_main, copy_main): Likewise, and pass | |
491 | preserve_dates. | |
492 | ||
cca8873d AM |
493 | 2021-02-24 Alan Modra <amodra@gmail.com> |
494 | ||
495 | PR 27456 | |
496 | * rename.c: Tidy throughout. | |
497 | (smart_rename): Always copy. Remove windows specific code. | |
498 | ||
4d496013 AM |
499 | 2021-02-20 Alan Modra <amodra@gmail.com> |
500 | ||
501 | * testsuite/lib/binutils-common.exp: Whitespace fixes throughout. | |
502 | (run_dump_test): Fail if expecting errors from a file like we do | |
503 | for error strings, if no error is seen. | |
504 | ||
0be51eb4 AM |
505 | 2021-02-19 Alan Modra <amodra@gmail.com> |
506 | ||
507 | * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too. | |
508 | ||
3685de75 SP |
509 | 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org> |
510 | ||
511 | * ar.c (write_archive): Remove TARGET_STAT. Adjust call to | |
512 | SMART_RENAME. | |
513 | * arsup.c (ar_save): Likewise. | |
514 | * objcopy (strip_main): Don't copy TMPFD. Don't set times on | |
515 | temporary file and adjust call to SMART_RENAME. | |
516 | (copy_main): Likewise. | |
517 | * rename.c [!S_ISLNK]: Remove definitions. | |
518 | (try_preserve_permissions): Remove function. | |
519 | (smart_rename): Remove FD, PRESERVE_DATES arguments. Use | |
520 | rename system call only if TO does not exist. | |
521 | * bucomm.h (smart_rename): Adjust declaration. | |
522 | ||
85684222 NC |
523 | 2021-02-18 Nick Clifton <nickc@redhat.com> |
524 | ||
525 | * objcopy.c (merge_gnu_build_notes): Handle notes with a start | |
526 | address that is higher than the end address. | |
527 | ||
b9b204b3 AM |
528 | 2021-02-17 Alan Modra <amodra@gmail.com> |
529 | ||
530 | * dwarf.c: Include limits.h. | |
531 | (CHAR_BIT): Provide backup define. | |
532 | (read_leb128): Use CHAR_BIT to size "result" in bits. Correct | |
533 | signed overflow checking. | |
534 | * testsuite/binutils-all/pr26548.s, | |
535 | * testsuite/binutils-all/pr26548.d, | |
536 | * testsuite/binutils-all/pr26548e.d: New tests. | |
537 | * testsuite/binutils-all/readelf.exp: Run them. | |
538 | (readelf_test): Drop unused "xfails" parameter. Update all uses. | |
539 | ||
e6ca1878 JB |
540 | 2021-02-16 Jan Beulich <jbeulich@suse.com> |
541 | ||
542 | * dwarf.c (process_debug_info): Initialize "dwo_id". | |
543 | ||
208599d9 AM |
544 | 2021-02-15 Alan Modra <amodra@gmail.com> |
545 | ||
546 | * objdump.c (load_specific_debug_section): Don't call | |
547 | bfd_cache_section_contents. Rearrange so that | |
548 | bfd_get_full_section_contents is not called on path where | |
549 | bfd_simple_get_relocated_section_contents is called. | |
550 | Don't set section->user_data. | |
551 | (free_debug_section): Always free section->start. Don't twiddle | |
552 | section flags. | |
553 | * readelf.c (load_specific_debug_section): Don't set user_data. | |
554 | * dwarf.h (struct dwarf_section): Remove use_data field. | |
555 | * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit. | |
556 | ||
1781a9d0 AM |
557 | 2021-02-15 Alan Modra <amodra@gmail.com> |
558 | ||
559 | * testsuite/binutils-all/compress.exp: Remove nds32 xfails. | |
560 | * testsuite/binutils-all/objdump.exp: Likewise. | |
561 | ||
1944212b AM |
562 | 2021-02-14 Alan Modra <amodra@gmail.com> |
563 | ||
564 | * objdump.c (slurp_symtab): Don't add an extra entry for NULL | |
565 | to the symbol array. | |
566 | (slurp_dynamic_symtab): Likewise. | |
567 | (dump_bfd): Formatting. Copy terminating NULL from extra_syms. | |
568 | ||
0d0a0d86 AM |
569 | 2021-02-14 Alan Modra <amodra@gmail.com> |
570 | ||
571 | * Makefile.in: Regenerate. | |
572 | * doc/Makefile.in: Regenerate. | |
573 | ||
adeab0c5 MF |
574 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
575 | ||
576 | * aclocal.m4: Regenerate. | |
577 | ||
c46b7066 NC |
578 | 2021-02-12 Nick Clifton <nickc@redhat.com> |
579 | ||
580 | * configure.ac (follow-debug-links): Add option to enable or | |
581 | disable the following of debug links by default. Set the | |
582 | default for the option to be 'follow'. | |
583 | * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS. | |
584 | (dwarf_select_sections_by_names): Add no-follow-links option. | |
585 | (dwarf_select_sections_by_letter): Add 'N' option. | |
586 | * objdump.c (usage): Add conditional text describing the | |
587 | follow links option. | |
588 | (slurp_symtab): Ensure that there is a NULL entry at the end | |
589 | of the symbol table. | |
590 | (slurp_dynamic_symtab): Likewise. | |
591 | (dump_bfd): When extending the symbol table, ensure that there | |
592 | is still a NULL entry at the end. | |
593 | * readelf.c (usage): Add conditional text describing the | |
594 | follow links option. | |
595 | * doc/binutils.texi: Update documentation for objcopy and | |
596 | readelf. | |
597 | * doc/debug.options.texi: Update documentation of the | |
598 | follow-links option. | |
599 | * config.in: Regenerate. | |
600 | * configure: Regenerate. | |
601 | * testsuite/binutils-all/compress.exp: Add the -WN option to | |
602 | objdump command lines that are not expecting to follow links. | |
603 | * testsuite/binutils-all/readelf.exp: Add the | |
604 | --debug-dump=no-follow-links option to tests that are not | |
605 | expecting to follow debug links. | |
606 | * NEWS: Mention the new behaviour. | |
607 | ||
17e04eff AM |
608 | 2021-02-12 Alan Modra <amodra@gmail.com> |
609 | ||
610 | * testsuite/binutils-all/objcopy.exp: Report "unsupported" when | |
611 | gas or ld fails to build a testcase rather than "unresolved". | |
612 | Report "fail" when readelf returns an error status rather than | |
613 | "unresolved". | |
614 | * testsuite/binutils-all/ar.exp: Likewise. | |
615 | * testsuite/binutils-all/compress.exp: Likewise. | |
616 | * testsuite/binutils-all/readelf.exp: Likewise. | |
617 | ||
8f054a7a AM |
618 | 2021-02-12 Alan Modra <amodra@gmail.com> |
619 | ||
620 | * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and | |
621 | "c" with "ccc" labels. | |
622 | ||
528a4f87 TV |
623 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
624 | ||
625 | * dwarf.h (debug_info): Fix typo in comment. | |
626 | ||
95abb394 TV |
627 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
628 | ||
629 | * dwarf.c (display_debug_str_offsets): Handle multiple sets of | |
630 | entries. | |
631 | ||
d60f7998 TV |
632 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
633 | ||
634 | * dwarf.c (process_debug_info): Print DWO ID. | |
635 | ||
1cfcf300 AM |
636 | 2021-02-11 Alan Modra <amodra@gmail.com> |
637 | ||
638 | PR 27290 | |
639 | PR 27293 | |
640 | PR 27295 | |
641 | * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting. | |
642 | Use bfd_malloc_and_get_section. | |
643 | (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity | |
644 | check namesz. Return NULL if descsz is too small. Ensure | |
645 | string table is terminated. | |
646 | (elf32_avr_get_device_info): Formatting. Add note_size param. | |
647 | Sanity check note. | |
648 | (elf32_avr_dump_mem_usage): Adjust to suit. | |
649 | ||
d9d9d8ef TV |
650 | 2021-02-10 Tom de Vries <tdevries@suse.de> |
651 | ||
652 | PR binutils/27391 | |
653 | * dwarf.c (load_dwo_file): Handle case that name is absolute path. | |
654 | ||
52ff20fe TV |
655 | 2021-02-10 Tom de Vries <tdevries@suse.de> |
656 | ||
657 | PR binutils/27371 | |
658 | * dwarf.c (display_debug_ranges): Filter range lists according to | |
659 | section. | |
660 | ||
5f128a25 TV |
661 | 2021-02-09 Tom de Vries <tdevries@suse.de> |
662 | ||
663 | PR binutils/27370 | |
664 | * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8. | |
665 | ||
9b87f84a TV |
666 | 2021-02-09 Tom de Vries <tdevries@suse.de> |
667 | ||
668 | PR binutils/27386 | |
669 | * dwarf.c (process_debug_info): Handling DW_UT_skeleton and | |
670 | DW_UT_split_compile. | |
671 | ||
a57d1773 AM |
672 | 2021-02-09 Alan Modra <amodra@gmail.com> |
673 | ||
674 | * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove | |
675 | symbianelf. | |
676 | ||
de8d4203 AM |
677 | 2021-02-07 Alan Modra <amodra@gmail.com> |
678 | ||
679 | * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer | |
680 | uninitialised on invalid input. | |
681 | ||
51a25252 AM |
682 | 2021-02-06 Alan Modra <amodra@gmail.com> |
683 | ||
684 | PR 27349 | |
685 | * rename.c (smart_rename): Test for existence and type of output | |
686 | file with lstat. | |
687 | ||
e37d88e5 NC |
688 | 2021-02-05 Nick Clifton <nickc@redhat.com> |
689 | ||
690 | * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer. | |
691 | ||
887854ba EZ |
692 | 2021-02-05 Eli Zaretskii <eliz@gnu.org> |
693 | ||
694 | PR 27252 | |
695 | * elfedit.c (check_file): | |
696 | * bucomm.c (get_file_size): Fix typos in comments. | |
697 | ||
c180f095 AM |
698 | 2021-02-05 Alan Modra <amodra@gmail.com> |
699 | ||
700 | PR 27345 | |
701 | * arsup.c (ar_save): Use stat rather than lstat. | |
702 | ||
95b91a04 AM |
703 | 2021-02-03 Alan Modra <amodra@gmail.com> |
704 | ||
705 | PR 27270 | |
706 | PR 27284 | |
707 | PR 26945 | |
708 | * ar.c: Don't include libbfd.h. | |
709 | (write_archive): Replace xmalloc+strcpy with xstrdup. Use | |
710 | bfd_stat rather than fstat on iostream. Move stat and fd tests | |
711 | outside of _WIN32 ifdef. Delete skip_stat variable. | |
712 | * arsup.c (temp_name, real_ofd): New static variables. | |
713 | (ar_open): Use make_tempname and bfd_fdopenw. | |
714 | (ar_save): Adjust to suit ar_open changes. Move stat output | |
715 | of _WIN32 ifdef. | |
716 | * objcopy.c: Don't include libbfd.h. | |
717 | (copy_file): Use bfd_stat. | |
718 | ||
5424d7ed L |
719 | 2021-02-02 H.J. Lu <hongjiu.lu@intel.com> |
720 | ||
721 | PR binutils/27281 | |
722 | * readelf.c (process_section_headers): Add 'R' and 'D' to | |
723 | "Key to Flags:". | |
724 | * testsuite/binutils-all/retain1a.d: Updated. | |
725 | ||
72a51a06 NC |
726 | 2021-01-30 Nick Clifton <nickc@redhat.com> |
727 | ||
728 | * README-how-to-make-a-release: Small updates after the 2.35.2 | |
729 | release. | |
730 | ||
cc3edc52 EZ |
731 | 2021-01-28 Eli Zaretskii <eliz@gnu.org> |
732 | ||
733 | PR 4356 | |
734 | * windres.c (quot): Use double quotes to protect strings on | |
735 | Windows platforms. | |
736 | ||
a7ad3cb1 EZ |
737 | 2021-01-28 Eli Zaretskii <eliz@gnu.org> |
738 | ||
739 | PR 27252 | |
740 | * bucomm.c (get_file_size): Add code to handle /dev/null on | |
741 | Windows systems. | |
742 | * elfedit.c (check_file): Likewise. | |
743 | ||
67965ba2 NC |
744 | 2021-01-27 Nick Clifton <nickc@redhat.com> |
745 | ||
746 | * objcopy.c (copy_main): Remove conditional control of the calls | |
747 | to free, simplifying the code and making it easier to detect | |
748 | typos. | |
749 | ||
e37709f0 FC |
750 | 2021-01-26 Frederic Cambus <fred@statdns.com> |
751 | ||
752 | * objcopy.c (copy_main): Fix a double free happening when both | |
753 | --localize-symbols and --globalize-symbols options are invoked | |
754 | together. | |
755 | ||
9b351c9b NC |
756 | 2021-01-24 Nick Clifton <nickc@redhat.com> |
757 | ||
758 | * README-how-to-make-a-release: Minor updates after the 2.36 release. | |
759 | ||
ad92f33d AM |
760 | 2021-01-16 Alan Modra <amodra@gmail.com> |
761 | ||
762 | * readelf.c (uncompress_section_contents): Tidy inflateEnd result test. | |
763 | ||
3624a6c1 AM |
764 | 2021-01-15 Alan Modra <amodra@gmail.com> |
765 | ||
766 | PR 26539 | |
767 | * readelf.c (uncompress_section_contents): Always call inflateEnd. | |
768 | ||
c14dee84 AO |
769 | 2021-01-14 Alexandre Oliva <oliva@gnu.org> |
770 | ||
771 | * MAINTAINERS: Update my email address. | |
772 | ||
5a10699f NC |
773 | 2021-01-14 Nick Clifton <nickc@redhat.com> |
774 | ||
775 | * po/sv.po: Updated Swedish translation. | |
776 | ||
5347ed60 AM |
777 | 2021-01-13 Alan Modra <amodra@gmail.com> |
778 | ||
779 | * Makefile.in: Regenerate. | |
780 | * doc/Makefile.in: Regenerate. | |
781 | ||
2ce40d1a ZF |
782 | 2021-01-13 Zebediah Figura <z.figura12@gmail.com> |
783 | ||
784 | PR 27037 | |
785 | * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry | |
786 | and before exit. | |
787 | (i386_x64_trampoline): Add SEH annotations. | |
788 | (struct mac): Add how_seh field. | |
789 | (make_delay_head): If how_set field is true add SEh instructions. | |
790 | ||
d546b610 L |
791 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
792 | ||
793 | PR binutils/26792 | |
794 | * configure.ac: Use GNU_MAKE_JOBSERVER. | |
795 | * aclocal.m4: Regenerated. | |
796 | * configure: Likewise. | |
797 | ||
6d104cac NC |
798 | 2021-01-12 Nick Clifton <nickc@redhat.com> |
799 | ||
800 | * po/fr.po: Updated French translation. | |
801 | ||
83b33c6c L |
802 | 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> |
803 | ||
804 | PR ld/27173 | |
805 | * configure: Regenerated. | |
806 | ||
a8aa72b9 NC |
807 | 2021-01-11 Nick Clifton <nickc@redhat.com> |
808 | ||
809 | * po/pt.po: Updated Portuguese translation. | |
810 | * po/sr.po: Updated Serbian translation. | |
811 | * po/uk.po: Updated Ukranian translation. | |
812 | ||
a4966cd9 L |
813 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
814 | ||
815 | * configure: Regenerated. | |
816 | ||
573fe3fb NC |
817 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
818 | ||
819 | * configure: Regenerate. | |
820 | * po/binutils.pot: Regenerate. | |
821 | ||
055bc77a NC |
822 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
823 | ||
824 | * 2.36 release branch crated. | |
573fe3fb NC |
825 | * README-how-to-make-a-release: Add note about updating Makefiles |
826 | and libtool files. | |
827 | * BRANCHES: Add binutils-2.36-branch. | |
055bc77a | 828 | |
64307045 AM |
829 | 2021-01-09 Alan Modra <amodra@gmail.com> |
830 | ||
831 | * configure: Regenerate. | |
832 | ||
f4782128 ST |
833 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
834 | ||
835 | * configure: Regenerate. | |
836 | ||
d1bcae83 L |
837 | 2021-01-07 H.J. Lu <hongjiu.lu@intel.com> |
838 | ||
839 | PR 27109 | |
840 | * objcopy.c (copy_object): Handle section symbols for | |
841 | non-relocatable inputs. | |
842 | * testsuite/binutils-all/readelf.exp (readelf_test): Check | |
843 | is_elf_unused_section_symbols. | |
844 | * testsuite/binutils-all/readelf.s-64: Updated. | |
845 | * testsuite/binutils-all/readelf.ss: Likewise. | |
846 | * testsuite/binutils-all/readelf.ss-64: Likewise. | |
847 | * testsuite/binutils-all/readelf.s-64-unused: New file. | |
848 | * testsuite/binutils-all/readelf.ss-64-unused: Likewise. | |
849 | * testsuite/binutils-all/readelf.ss-unused: Likewise. | |
850 | * testsuite/lib/binutils-common.exp | |
851 | (is_elf_unused_section_symbols): New proc. | |
852 | ||
6987d5a1 RT |
853 | 2021-01-06 Reuben Thomas <rrt@sc3d.org> |
854 | ||
855 | * binutils/readelf.c: Correct grammar in comment. | |
856 | ||
f9a6a8f0 AM |
857 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
858 | ||
859 | * coffgrok.c (do_type): Correct spelling of auxiliary in errors. | |
860 | * doc/binutils.texi: Correct grammar. | |
861 | * readelf.c (process_version_sections): Correct spelling of auxiliary | |
862 | in warning. | |
863 | * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix. | |
864 | ||
250d07de AM |
865 | 2021-01-01 Alan Modra <amodra@gmail.com> |
866 | ||
867 | Update year range in copyright notice of all files. | |
868 | ||
c2795844 | 869 | For older changes see ChangeLog-2020 |
3499769a | 870 | \f |
c2795844 | 871 | Copyright (C) 2021 Free Software Foundation, Inc. |
3499769a AM |
872 | |
873 | Copying and distribution of this file, with or without modification, | |
874 | are permitted in any medium without royalty provided the copyright | |
875 | notice and this notice are preserved. | |
876 | ||
877 | Local Variables: | |
878 | mode: change-log | |
879 | left-margin: 8 | |
880 | fill-column: 74 | |
881 | version-control: never | |
882 | End: |