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