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