Commit | Line | Data |
---|---|---|
57ae980e AM |
1 | 2021-03-31 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy. | |
4 | ||
63b4cc53 AM |
5 | 2021-03-29 Alan Modra <amodra@gmail.com> |
6 | ||
7 | * dlltool.c (main): Don't use "boolean_condition ? TRUE : FALSE". | |
8 | * dwarf.c (read_and_display_attr_value): Likewise. | |
9 | (display_debug_str_offsets): Likewise. | |
10 | * objdump.c (dump_bfd): Likewise. | |
11 | * readelf.c (dump_section_as_strings): Likewise. | |
12 | (dump_section_as_bytes): Likewise. | |
13 | ||
1be305ff AM |
14 | 2021-03-29 Alan Modra <amodra@gmail.com> |
15 | ||
16 | * objdump.c (process_links): Use type int. | |
17 | * readelf.c (request_dump): Don't increment do_dump, set it. | |
18 | * windint.h (target_is_bigendian): Use type bfd_boolean. | |
19 | * windmc.c (target_is_bigendian): Likewise. | |
20 | * windres.c (target_is_bigendian): Likewise. | |
21 | ||
08dedd66 ML |
22 | 2021-03-22 Martin Liska <mliska@suse.cz> |
23 | ||
1be305ff AM |
24 | * dlltool.c (scan_drectve_symbols): Replace usage of CONST_STRNEQ |
25 | with startswith. | |
08dedd66 ML |
26 | * emul_aix.c (ar_emul_aix_parse_arg): Likewise. |
27 | * objcopy.c (is_mergeable_note_section): Likewise. | |
28 | * objdump.c (dump_dwarf_section): Likewise. | |
29 | * prdbg.c (pr_method_type): Likewise. | |
30 | (pr_class_baseclass): Likewise. | |
31 | (tg_class_baseclass): Likewise. | |
32 | * readelf.c (process_lto_symbol_tables): Likewise. | |
33 | * stabs.c (ULLHIGH): Likewise. | |
34 | (parse_stab_argtypes): Likewise. | |
35 | (stab_demangle_function_name): Likewise. | |
36 | ||
7b9f9859 L |
37 | 2021-03-19 H.J. Lu <hongjiu.lu@intel.com> |
38 | ||
39 | * readelf.c (get_machine_name): Add EM_INTELGT. | |
40 | ||
835f2fae NC |
41 | 2021-03-18 Nick Clifton <nickc@redhat.com> |
42 | ||
43 | PR 27478 | |
44 | * readelf.c (dump_section_as_strings): Mention separate filename. | |
45 | (dump_section_as_bytes): Likewise. | |
46 | (dump_section_as_ctf): Likewise. | |
47 | (initialise_dumkps_byname): Only issue a warning for missing | |
48 | sections if processing the main file. | |
49 | (process_section_contents): Only issue a warning for unsumped | |
50 | section numbers in the main file. | |
51 | (initialise_dump_sects): New function. Contains code extracted | |
52 | from ... | |
53 | (process_object): ... here. Also call initialise_dump_sects for | |
54 | separate files. | |
55 | ||
44266f36 NC |
56 | 2021-03-16 Nick Clifton <nickc@redhat.com> |
57 | ||
58 | PR 27534 | |
59 | * readelf.c (display_debug_section): Also retain .debug_addr | |
60 | sections. | |
61 | ||
d6bfbc39 NC |
62 | 2021-03-16 Nick Clifton <nickc@redhat.com> |
63 | ||
64 | PR 27533 | |
65 | * readelf.c (process_section_contents): Only dump debug | |
66 | information for separate files unless process_links is enabled. | |
67 | (process_object): Always call process_section_contents for | |
68 | separate info files. | |
69 | ||
1996d0f1 NC |
70 | 2021-03-15 Nick Clifton <nickc@redhat.com> |
71 | ||
72 | PR 27487 | |
73 | * nm.c (FORMAT_JUST_SYMBOLS): Define. | |
74 | (struct optput_fns): Add entry for FORMAT_JUST_SYMBOLS. | |
75 | (long_options): Add just-symbols. | |
76 | (set_output_format): Add support for just-symbols. | |
77 | (get_print_format): Likewise. | |
78 | (do_not_print_object_filename): New function. | |
79 | (do_not_print_archive_filename): New function. | |
80 | (do_not_print_archive_member): New function. | |
81 | (do_not_print_symbol_filename): New function. | |
82 | (just_print_symbol_name): New function. | |
83 | (main): Handle --just-symbols. | |
84 | * NEWS: Mention the new feature. | |
85 | * doc/binutils.texi: Document the new feature. | |
86 | ||
2c1bef53 CC |
87 | 2021-03-12 Clément Chigot <clement.chigot@atos.net> |
88 | ||
89 | * od-xcoff.c: Replace RTB by TRL entry. | |
90 | ||
db6092f3 AB |
91 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
92 | Andrew Burgess <andrew.burgess@embecosm.com> | |
93 | ||
94 | * readelf.c (get_note_type): Handle NT_RISCV_CSR. | |
95 | ||
b63a5e38 AB |
96 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
97 | Andrew Burgess <andrew.burgess@embecosm.com> | |
98 | ||
99 | * readelf.c (get_note_type): Handle NT_GDB_TDESC. | |
100 | ||
d296b736 NC |
101 | 2021-03-05 Nick Clifton <nickc@redhat.com> |
102 | ||
103 | PR 27387 | |
104 | * dwarf.c (display_debug_macro): Handle the displaying of | |
105 | DW_MACRO_define_strp and DW_MACRO_undef_strp in v4 | |
106 | .debug_macro.dwo sections. | |
107 | ||
ca0e11aa NC |
108 | 2021-03-04 Nick Clifton <nickc@redhat.com> |
109 | ||
110 | PR 27478 | |
111 | * objdump.c (process_links): New variable. | |
112 | (usage): Add --process-links. | |
113 | (long_options): Likewise. | |
114 | (dump_bfd): Stop processing once the bfd has been loaded unless | |
115 | this is the main file or process_links has been enabled. | |
116 | (main): Handle the process-links option. | |
117 | * readelf.c (process_links): New variable. | |
118 | (struct filedata): Add is_separate field. | |
119 | (options): Add --process-links. | |
120 | (usage): Likewise. | |
121 | (parse_args): Likewise. | |
122 | (process_file_header): Include the filename when dumping | |
123 | information for separate debuginfo files. | |
124 | (process_program_headers): Likewise. | |
125 | (process_section_headers): Likewise. | |
126 | (process_section_groups): Likewise. | |
127 | (process_relocs): Likewise. | |
128 | (process_dynamic_section): Likewise. | |
129 | (process_version_sections): Likewise. | |
130 | (display_lto_symtab): Likewise. | |
131 | (process_symbol_table): Likewise. | |
132 | (process_syminfo): Likewise. | |
133 | (initialise_dumps_by_name): Likewise. | |
134 | (process_section_contents): Likewise. | |
135 | (process_notes_at): Likewise. | |
136 | (process_notes): Likewise. | |
137 | (open_file): Add is_separate parameter. Use to initialise the | |
138 | is_separate field in the filedata structure. | |
139 | (open_deug): Update call to open_file. | |
140 | (process_object): Add processing of the contents of separate | |
141 | debuginfo files, gated by the process_links variable. | |
142 | (process_archive): Update call to open_file. | |
143 | (process_file): Initialise the is_separate field in the filedata | |
144 | structure. | |
145 | * dwarf.c (load_separate_debug_info_file): Only report the | |
146 | loading of a separate file if debug links are being dumped. | |
147 | * objcopy.c (keep_section_symbols): New variable. | |
148 | (enum command_line_switch): Add OPTION_KEEP_SYMBOLS. | |
149 | (strip_options): Add keep-section-symbols. | |
150 | (copy_options): Likewise. | |
151 | (copy_usage): Likewise. | |
152 | (strip_usage): Likewise. | |
153 | (copy_object): Keep section symbols if requested by command line | |
154 | option. | |
155 | (strip_main): Handle --keep-section-symbols. | |
156 | (copy_main): Likewise. | |
157 | * doc/binutils.texi: Document the new options. | |
158 | * NEWS: Mention the new features. | |
159 | * testsuite/binutils-all/compress.exp (test_gnu_debuglink): | |
160 | Update options passed to objdump. Use diff rather than cmp to | |
161 | compare the dumped data. | |
162 | * testsuite/binutils-all/objdump.WK2: Update regexp. | |
163 | * testsuite/binutils-all/objdump.WK3: Update regexp. | |
164 | * testsuite/binutils-all/objdump.exp: Use --process-links | |
165 | instead of --dwarf=follow-links. | |
166 | * testsuite/binutils-all/readelf.exp (readelf_test): Include | |
167 | readelf's output in the log when the test fails. | |
168 | Add the -P option to the -wKis test. | |
169 | * testsuite/binutils-all/readelf.wKis: Update expected output. | |
170 | ||
fd5c076a AM |
171 | 2021-03-03 Alan Modra <amodra@gmail.com> |
172 | ||
173 | PR 27493 | |
174 | * objcopy.c (filter_symbols): Apply --weaken to undefined symbols. | |
175 | * NEWS: Mention feature. | |
176 | ||
ecd65684 L |
177 | 2021-03-01 H.J. Lu <hongjiu.lu@intel.com> |
178 | ||
179 | PR binutils/27486 | |
180 | * dwarf.c (load_separate_debug_info): Issue warning only if | |
181 | do_debug_links is set. | |
182 | * testsuite/binutils-all/compress.exp: Run objdump and readelf | |
183 | with missing debug file. | |
184 | ||
6a1224ec AM |
185 | 2021-03-01 Alan Modra <amodra@gmail.com> |
186 | ||
187 | PR 27128 | |
188 | * doc/binutils.texi: Add nm --with-symbol-versions and | |
189 | --without-symbol-versions documentation. | |
190 | * nm.c (with_symbol_versions): New variable. | |
191 | (enum long_option_values): Delete OPTION_WITH_SYMBOL_VERSIONS. | |
192 | (long_options): Make --with-symbol-versions entry twiddle the flag. | |
193 | Add --without-symbol-versions. | |
194 | (print_symname): Strip version when !with_symbol_versions. Add | |
195 | dynamic version info under control of with_symbol_versions. | |
196 | (main): Remove OPTION_WITH_SYMBOL_VERSIONS case. | |
197 | ||
7fe1b138 FS |
198 | 2021-02-26 Fangrui Song <maskray@google.com> |
199 | ||
200 | PR 27408 | |
201 | * readelf.c (quiet): New option flag. | |
202 | (enum long_option_values): New enum to hold long option value. | |
203 | (long_options): Add --quiet. | |
204 | (usage): Mention --quiet. | |
205 | (display_rel_file): If quiet is enabled, suppress "no symbols". | |
206 | (main): Handle the new option. | |
207 | * NEWS: Mention --quiet. | |
208 | * docs/binutils.texi: Document --quiet. | |
209 | ||
0e12f6c8 TV |
210 | 2021-02-26 Tom de Vries <tdevries@suse.de> |
211 | ||
212 | * dwarf.c (display_debug_addr): Handle dwarf-5 .debug_addr bits. | |
213 | ||
32e4f96c TV |
214 | 2021-02-26 Tom de Vries <tdevries@suse.de> |
215 | ||
216 | PR 27390 | |
217 | * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and | |
218 | DW_FORM_addrx*. | |
219 | (read_and_display_attr_value): Likewise. | |
220 | ||
e38332c2 NC |
221 | 2021-02-25 Nick Clifton <nickc@redhat.com> |
222 | ||
223 | * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup | |
224 | forms. | |
225 | (read_and_display_attr_value): Handle sup forms. | |
226 | (display_debug_sup): New function. Displays the contents of a | |
227 | .debug_sup section. | |
228 | (load_debug_sup_file): New function. Loads the contents of a file | |
229 | referenced by a .debug_sup section. | |
230 | (check_for_and_load_links): Call load_debug_sup_file. | |
231 | (debug_displays): Add entry for .debug_sup. | |
232 | * dwarf.h (enum dwarf_section_display_enum): Add debug_sup. | |
233 | * readelf.c (process_section_headers): Add support for debug_sup. | |
234 | * doc/debug.options.texi: Note that the =links option will display | |
235 | the contents of .debug_sup sections. | |
236 | * NEWS: Mention the new support. | |
237 | ||
40b02646 AM |
238 | 2021-02-25 Alan Modra <amodra@gmail.com> |
239 | ||
240 | PR 27456 | |
241 | * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED. | |
242 | ||
9d3fcfe0 NC |
243 | 2021-02-24 Nick Clifton <nickc@redhat.com> |
244 | ||
245 | PR 27285 | |
246 | * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows | |
247 | when adding together the section sizes. | |
248 | ||
c74147bb NC |
249 | 2021-02-24 Nick Clifton <nickc@redhat.com> |
250 | ||
251 | * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU | |
252 | build notes. | |
253 | * readelf.c (print_gnu_build_attribute_description): Likewise. | |
254 | ||
c42c71a1 AM |
255 | 2021-02-24 Alan Modra <amodra@gmail.com> |
256 | Siddhesh Poyarekar <siddhesh@gotplt.org> | |
257 | ||
258 | PR 27456 | |
259 | * bucomm.h (smart_rename): Update prototype. | |
260 | * rename.c (smart_rename): Add fromfd and preserve_dates params. | |
261 | Pass fromfd and target_stat to simple_copy. Call set_times | |
262 | when preserve_dates. | |
263 | (simple_copy): Accept fromfd rather than from filename. Add | |
264 | target_stat param. Rewind fromfd rather than opening. Open | |
265 | "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID. | |
266 | * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before | |
267 | closing output temp file, and pass tmpfd to smart_rename. | |
268 | * arsup.c (temp_fd): Rename from real_fd. | |
269 | (ar_save): Dup temp_fd and pass to smart_rename. | |
270 | * objcopy.c (strip_main, copy_main): Likewise, and pass | |
271 | preserve_dates. | |
272 | ||
cca8873d AM |
273 | 2021-02-24 Alan Modra <amodra@gmail.com> |
274 | ||
275 | PR 27456 | |
276 | * rename.c: Tidy throughout. | |
277 | (smart_rename): Always copy. Remove windows specific code. | |
278 | ||
4d496013 AM |
279 | 2021-02-20 Alan Modra <amodra@gmail.com> |
280 | ||
281 | * testsuite/lib/binutils-common.exp: Whitespace fixes throughout. | |
282 | (run_dump_test): Fail if expecting errors from a file like we do | |
283 | for error strings, if no error is seen. | |
284 | ||
0be51eb4 AM |
285 | 2021-02-19 Alan Modra <amodra@gmail.com> |
286 | ||
287 | * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too. | |
288 | ||
3685de75 SP |
289 | 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org> |
290 | ||
291 | * ar.c (write_archive): Remove TARGET_STAT. Adjust call to | |
292 | SMART_RENAME. | |
293 | * arsup.c (ar_save): Likewise. | |
294 | * objcopy (strip_main): Don't copy TMPFD. Don't set times on | |
295 | temporary file and adjust call to SMART_RENAME. | |
296 | (copy_main): Likewise. | |
297 | * rename.c [!S_ISLNK]: Remove definitions. | |
298 | (try_preserve_permissions): Remove function. | |
299 | (smart_rename): Remove FD, PRESERVE_DATES arguments. Use | |
300 | rename system call only if TO does not exist. | |
301 | * bucomm.h (smart_rename): Adjust declaration. | |
302 | ||
85684222 NC |
303 | 2021-02-18 Nick Clifton <nickc@redhat.com> |
304 | ||
305 | * objcopy.c (merge_gnu_build_notes): Handle notes with a start | |
306 | address that is higher than the end address. | |
307 | ||
b9b204b3 AM |
308 | 2021-02-17 Alan Modra <amodra@gmail.com> |
309 | ||
310 | * dwarf.c: Include limits.h. | |
311 | (CHAR_BIT): Provide backup define. | |
312 | (read_leb128): Use CHAR_BIT to size "result" in bits. Correct | |
313 | signed overflow checking. | |
314 | * testsuite/binutils-all/pr26548.s, | |
315 | * testsuite/binutils-all/pr26548.d, | |
316 | * testsuite/binutils-all/pr26548e.d: New tests. | |
317 | * testsuite/binutils-all/readelf.exp: Run them. | |
318 | (readelf_test): Drop unused "xfails" parameter. Update all uses. | |
319 | ||
e6ca1878 JB |
320 | 2021-02-16 Jan Beulich <jbeulich@suse.com> |
321 | ||
322 | * dwarf.c (process_debug_info): Initialize "dwo_id". | |
323 | ||
208599d9 AM |
324 | 2021-02-15 Alan Modra <amodra@gmail.com> |
325 | ||
326 | * objdump.c (load_specific_debug_section): Don't call | |
327 | bfd_cache_section_contents. Rearrange so that | |
328 | bfd_get_full_section_contents is not called on path where | |
329 | bfd_simple_get_relocated_section_contents is called. | |
330 | Don't set section->user_data. | |
331 | (free_debug_section): Always free section->start. Don't twiddle | |
332 | section flags. | |
333 | * readelf.c (load_specific_debug_section): Don't set user_data. | |
334 | * dwarf.h (struct dwarf_section): Remove use_data field. | |
335 | * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit. | |
336 | ||
1781a9d0 AM |
337 | 2021-02-15 Alan Modra <amodra@gmail.com> |
338 | ||
339 | * testsuite/binutils-all/compress.exp: Remove nds32 xfails. | |
340 | * testsuite/binutils-all/objdump.exp: Likewise. | |
341 | ||
1944212b AM |
342 | 2021-02-14 Alan Modra <amodra@gmail.com> |
343 | ||
344 | * objdump.c (slurp_symtab): Don't add an extra entry for NULL | |
345 | to the symbol array. | |
346 | (slurp_dynamic_symtab): Likewise. | |
347 | (dump_bfd): Formatting. Copy terminating NULL from extra_syms. | |
348 | ||
0d0a0d86 AM |
349 | 2021-02-14 Alan Modra <amodra@gmail.com> |
350 | ||
351 | * Makefile.in: Regenerate. | |
352 | * doc/Makefile.in: Regenerate. | |
353 | ||
adeab0c5 MF |
354 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
355 | ||
356 | * aclocal.m4: Regenerate. | |
357 | ||
c46b7066 NC |
358 | 2021-02-12 Nick Clifton <nickc@redhat.com> |
359 | ||
360 | * configure.ac (follow-debug-links): Add option to enable or | |
361 | disable the following of debug links by default. Set the | |
362 | default for the option to be 'follow'. | |
363 | * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS. | |
364 | (dwarf_select_sections_by_names): Add no-follow-links option. | |
365 | (dwarf_select_sections_by_letter): Add 'N' option. | |
366 | * objdump.c (usage): Add conditional text describing the | |
367 | follow links option. | |
368 | (slurp_symtab): Ensure that there is a NULL entry at the end | |
369 | of the symbol table. | |
370 | (slurp_dynamic_symtab): Likewise. | |
371 | (dump_bfd): When extending the symbol table, ensure that there | |
372 | is still a NULL entry at the end. | |
373 | * readelf.c (usage): Add conditional text describing the | |
374 | follow links option. | |
375 | * doc/binutils.texi: Update documentation for objcopy and | |
376 | readelf. | |
377 | * doc/debug.options.texi: Update documentation of the | |
378 | follow-links option. | |
379 | * config.in: Regenerate. | |
380 | * configure: Regenerate. | |
381 | * testsuite/binutils-all/compress.exp: Add the -WN option to | |
382 | objdump command lines that are not expecting to follow links. | |
383 | * testsuite/binutils-all/readelf.exp: Add the | |
384 | --debug-dump=no-follow-links option to tests that are not | |
385 | expecting to follow debug links. | |
386 | * NEWS: Mention the new behaviour. | |
387 | ||
17e04eff AM |
388 | 2021-02-12 Alan Modra <amodra@gmail.com> |
389 | ||
390 | * testsuite/binutils-all/objcopy.exp: Report "unsupported" when | |
391 | gas or ld fails to build a testcase rather than "unresolved". | |
392 | Report "fail" when readelf returns an error status rather than | |
393 | "unresolved". | |
394 | * testsuite/binutils-all/ar.exp: Likewise. | |
395 | * testsuite/binutils-all/compress.exp: Likewise. | |
396 | * testsuite/binutils-all/readelf.exp: Likewise. | |
397 | ||
8f054a7a AM |
398 | 2021-02-12 Alan Modra <amodra@gmail.com> |
399 | ||
400 | * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and | |
401 | "c" with "ccc" labels. | |
402 | ||
528a4f87 TV |
403 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
404 | ||
405 | * dwarf.h (debug_info): Fix typo in comment. | |
406 | ||
95abb394 TV |
407 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
408 | ||
409 | * dwarf.c (display_debug_str_offsets): Handle multiple sets of | |
410 | entries. | |
411 | ||
d60f7998 TV |
412 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
413 | ||
414 | * dwarf.c (process_debug_info): Print DWO ID. | |
415 | ||
1cfcf300 AM |
416 | 2021-02-11 Alan Modra <amodra@gmail.com> |
417 | ||
418 | PR 27290 | |
419 | PR 27293 | |
420 | PR 27295 | |
421 | * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting. | |
422 | Use bfd_malloc_and_get_section. | |
423 | (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity | |
424 | check namesz. Return NULL if descsz is too small. Ensure | |
425 | string table is terminated. | |
426 | (elf32_avr_get_device_info): Formatting. Add note_size param. | |
427 | Sanity check note. | |
428 | (elf32_avr_dump_mem_usage): Adjust to suit. | |
429 | ||
d9d9d8ef TV |
430 | 2021-02-10 Tom de Vries <tdevries@suse.de> |
431 | ||
432 | PR binutils/27391 | |
433 | * dwarf.c (load_dwo_file): Handle case that name is absolute path. | |
434 | ||
52ff20fe TV |
435 | 2021-02-10 Tom de Vries <tdevries@suse.de> |
436 | ||
437 | PR binutils/27371 | |
438 | * dwarf.c (display_debug_ranges): Filter range lists according to | |
439 | section. | |
440 | ||
5f128a25 TV |
441 | 2021-02-09 Tom de Vries <tdevries@suse.de> |
442 | ||
443 | PR binutils/27370 | |
444 | * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8. | |
445 | ||
9b87f84a TV |
446 | 2021-02-09 Tom de Vries <tdevries@suse.de> |
447 | ||
448 | PR binutils/27386 | |
449 | * dwarf.c (process_debug_info): Handling DW_UT_skeleton and | |
450 | DW_UT_split_compile. | |
451 | ||
a57d1773 AM |
452 | 2021-02-09 Alan Modra <amodra@gmail.com> |
453 | ||
454 | * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove | |
455 | symbianelf. | |
456 | ||
de8d4203 AM |
457 | 2021-02-07 Alan Modra <amodra@gmail.com> |
458 | ||
459 | * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer | |
460 | uninitialised on invalid input. | |
461 | ||
51a25252 AM |
462 | 2021-02-06 Alan Modra <amodra@gmail.com> |
463 | ||
464 | PR 27349 | |
465 | * rename.c (smart_rename): Test for existence and type of output | |
466 | file with lstat. | |
467 | ||
e37d88e5 NC |
468 | 2021-02-05 Nick Clifton <nickc@redhat.com> |
469 | ||
470 | * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer. | |
471 | ||
887854ba EZ |
472 | 2021-02-05 Eli Zaretskii <eliz@gnu.org> |
473 | ||
474 | PR 27252 | |
475 | * elfedit.c (check_file): | |
476 | * bucomm.c (get_file_size): Fix typos in comments. | |
477 | ||
c180f095 AM |
478 | 2021-02-05 Alan Modra <amodra@gmail.com> |
479 | ||
480 | PR 27345 | |
481 | * arsup.c (ar_save): Use stat rather than lstat. | |
482 | ||
95b91a04 AM |
483 | 2021-02-03 Alan Modra <amodra@gmail.com> |
484 | ||
485 | PR 27270 | |
486 | PR 27284 | |
487 | PR 26945 | |
488 | * ar.c: Don't include libbfd.h. | |
489 | (write_archive): Replace xmalloc+strcpy with xstrdup. Use | |
490 | bfd_stat rather than fstat on iostream. Move stat and fd tests | |
491 | outside of _WIN32 ifdef. Delete skip_stat variable. | |
492 | * arsup.c (temp_name, real_ofd): New static variables. | |
493 | (ar_open): Use make_tempname and bfd_fdopenw. | |
494 | (ar_save): Adjust to suit ar_open changes. Move stat output | |
495 | of _WIN32 ifdef. | |
496 | * objcopy.c: Don't include libbfd.h. | |
497 | (copy_file): Use bfd_stat. | |
498 | ||
5424d7ed L |
499 | 2021-02-02 H.J. Lu <hongjiu.lu@intel.com> |
500 | ||
501 | PR binutils/27281 | |
502 | * readelf.c (process_section_headers): Add 'R' and 'D' to | |
503 | "Key to Flags:". | |
504 | * testsuite/binutils-all/retain1a.d: Updated. | |
505 | ||
72a51a06 NC |
506 | 2021-01-30 Nick Clifton <nickc@redhat.com> |
507 | ||
508 | * README-how-to-make-a-release: Small updates after the 2.35.2 | |
509 | release. | |
510 | ||
cc3edc52 EZ |
511 | 2021-01-28 Eli Zaretskii <eliz@gnu.org> |
512 | ||
513 | PR 4356 | |
514 | * windres.c (quot): Use double quotes to protect strings on | |
515 | Windows platforms. | |
516 | ||
a7ad3cb1 EZ |
517 | 2021-01-28 Eli Zaretskii <eliz@gnu.org> |
518 | ||
519 | PR 27252 | |
520 | * bucomm.c (get_file_size): Add code to handle /dev/null on | |
521 | Windows systems. | |
522 | * elfedit.c (check_file): Likewise. | |
523 | ||
67965ba2 NC |
524 | 2021-01-27 Nick Clifton <nickc@redhat.com> |
525 | ||
526 | * objcopy.c (copy_main): Remove conditional control of the calls | |
527 | to free, simplifying the code and making it easier to detect | |
528 | typos. | |
529 | ||
e37709f0 FC |
530 | 2021-01-26 Frederic Cambus <fred@statdns.com> |
531 | ||
532 | * objcopy.c (copy_main): Fix a double free happening when both | |
533 | --localize-symbols and --globalize-symbols options are invoked | |
534 | together. | |
535 | ||
9b351c9b NC |
536 | 2021-01-24 Nick Clifton <nickc@redhat.com> |
537 | ||
538 | * README-how-to-make-a-release: Minor updates after the 2.36 release. | |
539 | ||
ad92f33d AM |
540 | 2021-01-16 Alan Modra <amodra@gmail.com> |
541 | ||
542 | * readelf.c (uncompress_section_contents): Tidy inflateEnd result test. | |
543 | ||
3624a6c1 AM |
544 | 2021-01-15 Alan Modra <amodra@gmail.com> |
545 | ||
546 | PR 26539 | |
547 | * readelf.c (uncompress_section_contents): Always call inflateEnd. | |
548 | ||
c14dee84 AO |
549 | 2021-01-14 Alexandre Oliva <oliva@gnu.org> |
550 | ||
551 | * MAINTAINERS: Update my email address. | |
552 | ||
5a10699f NC |
553 | 2021-01-14 Nick Clifton <nickc@redhat.com> |
554 | ||
555 | * po/sv.po: Updated Swedish translation. | |
556 | ||
5347ed60 AM |
557 | 2021-01-13 Alan Modra <amodra@gmail.com> |
558 | ||
559 | * Makefile.in: Regenerate. | |
560 | * doc/Makefile.in: Regenerate. | |
561 | ||
2ce40d1a ZF |
562 | 2021-01-13 Zebediah Figura <z.figura12@gmail.com> |
563 | ||
564 | PR 27037 | |
565 | * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry | |
566 | and before exit. | |
567 | (i386_x64_trampoline): Add SEH annotations. | |
568 | (struct mac): Add how_seh field. | |
569 | (make_delay_head): If how_set field is true add SEh instructions. | |
570 | ||
d546b610 L |
571 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
572 | ||
573 | PR binutils/26792 | |
574 | * configure.ac: Use GNU_MAKE_JOBSERVER. | |
575 | * aclocal.m4: Regenerated. | |
576 | * configure: Likewise. | |
577 | ||
6d104cac NC |
578 | 2021-01-12 Nick Clifton <nickc@redhat.com> |
579 | ||
580 | * po/fr.po: Updated French translation. | |
581 | ||
83b33c6c L |
582 | 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> |
583 | ||
584 | PR ld/27173 | |
585 | * configure: Regenerated. | |
586 | ||
a8aa72b9 NC |
587 | 2021-01-11 Nick Clifton <nickc@redhat.com> |
588 | ||
589 | * po/pt.po: Updated Portuguese translation. | |
590 | * po/sr.po: Updated Serbian translation. | |
591 | * po/uk.po: Updated Ukranian translation. | |
592 | ||
a4966cd9 L |
593 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
594 | ||
595 | * configure: Regenerated. | |
596 | ||
573fe3fb NC |
597 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
598 | ||
599 | * configure: Regenerate. | |
600 | * po/binutils.pot: Regenerate. | |
601 | ||
055bc77a NC |
602 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
603 | ||
604 | * 2.36 release branch crated. | |
573fe3fb NC |
605 | * README-how-to-make-a-release: Add note about updating Makefiles |
606 | and libtool files. | |
607 | * BRANCHES: Add binutils-2.36-branch. | |
055bc77a | 608 | |
64307045 AM |
609 | 2021-01-09 Alan Modra <amodra@gmail.com> |
610 | ||
611 | * configure: Regenerate. | |
612 | ||
f4782128 ST |
613 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
614 | ||
615 | * configure: Regenerate. | |
616 | ||
d1bcae83 L |
617 | 2021-01-07 H.J. Lu <hongjiu.lu@intel.com> |
618 | ||
619 | PR 27109 | |
620 | * objcopy.c (copy_object): Handle section symbols for | |
621 | non-relocatable inputs. | |
622 | * testsuite/binutils-all/readelf.exp (readelf_test): Check | |
623 | is_elf_unused_section_symbols. | |
624 | * testsuite/binutils-all/readelf.s-64: Updated. | |
625 | * testsuite/binutils-all/readelf.ss: Likewise. | |
626 | * testsuite/binutils-all/readelf.ss-64: Likewise. | |
627 | * testsuite/binutils-all/readelf.s-64-unused: New file. | |
628 | * testsuite/binutils-all/readelf.ss-64-unused: Likewise. | |
629 | * testsuite/binutils-all/readelf.ss-unused: Likewise. | |
630 | * testsuite/lib/binutils-common.exp | |
631 | (is_elf_unused_section_symbols): New proc. | |
632 | ||
6987d5a1 RT |
633 | 2021-01-06 Reuben Thomas <rrt@sc3d.org> |
634 | ||
635 | * binutils/readelf.c: Correct grammar in comment. | |
636 | ||
f9a6a8f0 AM |
637 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
638 | ||
639 | * coffgrok.c (do_type): Correct spelling of auxiliary in errors. | |
640 | * doc/binutils.texi: Correct grammar. | |
641 | * readelf.c (process_version_sections): Correct spelling of auxiliary | |
642 | in warning. | |
643 | * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix. | |
644 | ||
250d07de AM |
645 | 2021-01-01 Alan Modra <amodra@gmail.com> |
646 | ||
647 | Update year range in copyright notice of all files. | |
648 | ||
c2795844 | 649 | For older changes see ChangeLog-2020 |
3499769a | 650 | \f |
c2795844 | 651 | Copyright (C) 2021 Free Software Foundation, Inc. |
3499769a AM |
652 | |
653 | Copying and distribution of this file, with or without modification, | |
654 | are permitted in any medium without royalty provided the copyright | |
655 | notice and this notice are preserved. | |
656 | ||
657 | Local Variables: | |
658 | mode: change-log | |
659 | left-margin: 8 | |
660 | fill-column: 74 | |
661 | version-control: never | |
662 | End: |