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