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