Commit | Line | Data |
---|---|---|
4c219c2e AM |
1 | 2014-12-11 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * configure.ac: Check for long long and sizes of long long and long. | |
4 | * elfcomm.h (HOST_WIDEST_INT): Test HAVE_LONG_LONG in place of | |
5 | __STDC_VERSION__ and __GNUC__. | |
6 | * strings.c (print_strings): Likewise. | |
7 | * dwarf.c (DWARF_VMA_FMT, DWARF_VMA_FMT_LONG): Likewise. | |
8 | (read_debug_line_header): Use dwarf_vmatoa to print warning. | |
9 | * configure: Regenerate. | |
10 | * config.in: Regenerate. | |
11 | ||
f4943d82 AM |
12 | 2014-12-10 Alan Modra <amodra@gmail.com> |
13 | ||
14 | * objdump.c: #include "coff-bfd.h". | |
15 | ||
4e327239 DC |
16 | 2014-12-09 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
17 | ||
18 | * od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization. | |
19 | ||
f64e188b NC |
20 | 2014-12-09 Nick Clifton <nickc@redhat.com> |
21 | ||
22 | PR binutils/17512 | |
23 | * objdump.c (display_any_bfd): Avoid infinite loop closing and | |
24 | opening the same archive again and again. | |
25 | ||
137d1369 CG |
26 | 2014-12-09 Chen Gang <gang.chen.5i5j@gmail.com> |
27 | ||
28 | * windres.c (open_file_search): Free path buffer on failure. | |
29 | ||
53774b7e NC |
30 | 2014-12-08 Nick Clifton <nickc@redhat.com> |
31 | ||
32 | PR binutils/17531 | |
33 | * dwarf.c (display_debug_frames): Check for a negative | |
34 | augmentation data length. | |
35 | (display_gdb_index): Check for invalid offsets. | |
36 | * elfcomm.c (process_archive_index_and_symbols): Check for an | |
37 | index number that overflows when multiplied by the ar index size. | |
38 | * readelf.c (dump_ia64_unwind): Add range checks. | |
39 | (slurp_ia64_unwind_table): Change to a boolean function. Add | |
40 | range checks. | |
41 | (process_version_sections): Add range checks. | |
42 | (get_symbol_version_string): Add check for missing section | |
43 | headers. | |
44 | ||
6d0cfb9c DC |
45 | 2014-12-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
46 | ||
47 | * configure.ac: Add od-elf32_avr to build. | |
48 | * configure: Regenerate. | |
49 | * od-elf32_avr.c: New file. | |
50 | * objdump.h: Declare objdump_private_desc_elf32_avr. | |
51 | ||
619ed720 EB |
52 | 2014-12-06 Eric Botcazou <ebotcazou@adacore.com> |
53 | ||
54 | * readelf.c: Include elf/visium.h. | |
55 | (guess_is_rela): Deal with EM_VISIUM. | |
56 | (dump_relocations): Likewise. | |
57 | (get_machine_name): Likewise. | |
58 | (get_machine_flags): Likewise. | |
59 | (get_osabi_name): Likewise. | |
60 | (is_32bit_abs_reloc): Likewise. | |
61 | (is_32bit_pcrel_reloc): Likewise. | |
62 | (is_16bit_abs_reloc): Likewise. | |
63 | ||
343433df AB |
64 | 2014-12-05 Andrew Burgess <andrew.burgess@embecosm.com> |
65 | ||
66 | * readelf.c (decode_AVR_machine_flags): New function. | |
67 | (get_machine_flags): Add EM_AVR case. | |
68 | ||
db6b071a NC |
69 | 2014-12-03 Nick Clifton <nickc@redhat.com> |
70 | ||
71 | PR binutils/17512 | |
72 | * objdump.c (free_debug_section): Reset the compress_status as | |
73 | well. | |
74 | ||
bee0ee85 NC |
75 | 2014-12-03 Nick Clifton <nickc@redhat.com> |
76 | ||
77 | PR binutils/17531 | |
78 | * readelf.c (get_machine_flags): Replace call to abort with a | |
79 | warning message and a return value. | |
80 | (get_elf_section_flags): Likewise. | |
81 | (get_symbol_visibility): Likewise. | |
82 | (get_ia64_symbol_other): Likewise. | |
83 | (get_ia64_symbol_other): Likewise. | |
84 | (is_32bit_abs_reloc): Likewise. | |
85 | (apply_relocations): Likewise. | |
86 | (display_arm_attribute): Likewise. | |
87 | ||
e8b338d0 DC |
88 | 2014-12-02 Denis Chertykov <chertykov@gmail.com> |
89 | ||
90 | * MAINTAINERS: Fix my email address. | |
91 | ||
ef77750e L |
92 | 2014-12-01 H.J. Lu <hongjiu.lu@intel.com> |
93 | ||
94 | * dwarf.c (process_cu_tu_index): Properly check for an out of | |
95 | range row index. | |
96 | ||
06614111 NC |
97 | 2014-12-01 Nick Clifton <nickc@redhat.com> |
98 | ||
99 | PR binutils/17512 | |
100 | * dwarf.h (struct dwarf_section): Add user_data field. | |
101 | * dwarf.c (frame_need_space): Check for an over large register | |
102 | number. | |
103 | (display_debug_frames): Check the return value from | |
104 | frame_need_space. Check for a CFA expression that is so long the | |
105 | start address wraps around. | |
106 | (debug_displays): Initialise the user_data field. | |
107 | * objdump.c (load_specific_debug_section): Save the BFD section | |
108 | pointer in the user_data field of the dwarf_section structure. | |
109 | (free_debug_section): Update BFD section data when freeing section | |
110 | contents. | |
111 | * readelf.c (load_specific_debug_section): Initialise the | |
112 | user_data field. | |
113 | ||
591f7597 NC |
114 | 2014-12-01 Nick Clifton <nickc@redhat.com> |
115 | ||
116 | PR binutils/17531 | |
117 | * dwarf.c (process_cu_tu_index): Check for an out of range row | |
118 | index. | |
119 | * elfcomm.c (adjust_relative_path): Change name_len parameter to | |
120 | an unsigned long. Check for path length overflow. | |
121 | (process_archive_index_and_symbols): Check for invalid header | |
122 | size. | |
123 | (setup_archive): Add checks for invalid archives. | |
124 | (get_archive_member_name): Add range checks. | |
125 | * elfcomm.h (adjust_relative_path): Update prototyoe. | |
126 | * readelf.c (process_archive): Add range checks. | |
127 | ||
8066deb1 AM |
128 | 2014-11-28 Alan Modra <amodra@gmail.com> |
129 | ||
130 | * readelf.c (get_32bit_elf_symbols): Cast bfd_size_type values to | |
131 | unsigned long for %lx. | |
132 | (get_64bit_elf_symbols, process_section_groups): Likewise. | |
133 | ||
c9c1d674 EG |
134 | 2014-11-27 Espen Grindhaug <espen@grindhaug.org> |
135 | Nick Clifton <nickc@redhat.com> | |
136 | ||
137 | PR binutils/17531 | |
138 | * readelf.c (get_data): Move excessive length check to earlier on | |
139 | in the function and allow for wraparound in the arithmetic. | |
140 | (get_32bit_elf_symbols): Terminate early if the section size is | |
141 | zero. Check for an invalid sh_entsize. Check for an index | |
142 | section with an invalid size. | |
143 | (get_64bit_elf_symbols): Likewise. | |
144 | (process_section_groups): Check for an invalid sh_entsize. | |
145 | ||
8bc10620 MW |
146 | 2014-11-24 Mark Wielaard <mjw@redhat.com> |
147 | ||
148 | * dwarf.c (read_and_display_attr_value): Handle DW_LANG_C11, | |
149 | DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14. | |
150 | ||
a1165289 NC |
151 | 2014-11-26 Nick Clifton <nickc@redhat.com> |
152 | ||
153 | PR binutils/17512 | |
154 | * dwarf.c (display_block): Do nothing if the block starts after | |
155 | the end of the buffer. | |
156 | (read_and_display_attr_value): Add range checks. | |
157 | (struct Frame_Chunk): Make the ncols and ra fields unsigned. | |
158 | (frame_need_space): Test for an ncols of zero. | |
159 | (read_cie): Fail if the augmentation data extends off the end of | |
160 | the buffer. | |
161 | (display_debug_frames): Add checks for read_cie failing. Add | |
162 | range checks. | |
163 | ||
60bb06bc L |
164 | 2014-11-25 H.J. Lu <hongjiu.lu@intel.com> |
165 | ||
166 | * objdump.c (objdump_print_symname): Replace | |
167 | bfd_elf_get_symbol_version_string with | |
168 | bfd_get_symbol_version_string. | |
169 | ||
bb4d2ac2 L |
170 | 2014-11-25 H.J. Lu <hongjiu.lu@intel.com> |
171 | ||
172 | PR binutils/16496 | |
173 | * objdump.c (objdump_print_symname): Call | |
174 | bfd_elf_get_symbol_version_string to get ELF symbol version | |
175 | string. Append version string if needed. | |
176 | ||
177 | * readelf.c (versioned_symbol_info): New enum. | |
178 | (get_symbol_version_string): New. Extracted from | |
179 | process_symbol_table. | |
180 | (dump_relocations): Add a new argument to indicate if dynamic | |
181 | symbol table is used. Use get_symbol_version_string to get | |
182 | symbol version string for dynamic symbol. Append version string | |
183 | if needed. | |
184 | (process_relocs): Updated dump_relocations call. | |
185 | (process_symbol_table): Use get_symbol_version_string. | |
186 | ||
6e733cce L |
187 | 2014-11-24 H.J. Lu <hongjiu.lu@intel.com> |
188 | ||
189 | * configure: Regenerated. | |
190 | ||
0a9d414a NC |
191 | 2014-11-21 Nick Clifton <nickc@redhat.com> |
192 | ||
193 | PR binutils/17512 | |
194 | * dwarf.c (get_encoded_value): Check for an encoded size of 0. | |
195 | (display_debug_lines_raw): Check for an invalid line range value. | |
196 | (display_debug_frames): Check for corrupt augmentation data. | |
197 | ||
5d921cbd NC |
198 | 2014-11-21 Nick Clifton <nickc@redhat.com> |
199 | ||
200 | PR binutils/17531 | |
201 | * readelf.c (process_version_sections): Prevent an infinite loop | |
202 | processing corrupt version need data. | |
203 | (process_corefile_note_segment): Handle corrupt notes. | |
204 | ||
a715796b TG |
205 | 2014-11-21 Terry Guo <terry.guo@arm.com> |
206 | ||
207 | * readelf.c (arm_attr_tag_FP_arch): Extended to support FPv5. | |
208 | ||
3f9034c2 | 209 | 2014-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
e44c58ce JBG |
210 | |
211 | * dwarf.c (process_extended_line_op): Fix signedness warning. | |
212 | ||
0593bd3a NC |
213 | 2014-11-18 Nick Clifton <nickc@redhat.com> |
214 | ||
215 | PR binutuls/17605 | |
216 | * bucomm.c (print_arelt_descr): Check for ctime returning NULL. | |
217 | ||
6937bb54 NC |
218 | 2014-11-18 Nick Clifton <nickc@redhat.com> |
219 | ||
220 | PR binutils/17512 | |
221 | * dwarf.c (get_encoded_value): Warn and return if the encoded | |
222 | value is more than 64-bits long. | |
223 | (SAFE_BYTE_GET): Do not attempt to read more than 64-bits. | |
224 | (process_extended_line_op): Add more range checks. | |
225 | (decode_location_expression): Use the return value from | |
226 | display_block. Add more range checks. | |
227 | (read_debug_line_header): Add range check. | |
228 | (display_debug_lines_raw): Add range checks. | |
229 | (display_debug_frames): Silently skip multiple zero terminators. | |
230 | Add range checks. | |
231 | (process_cu_tu_index): Check for non-existant or empty sections. | |
232 | Use SAFE_BYTE_GET instead of byte_get. | |
233 | ||
0eff7165 NC |
234 | 2014-11-18 Nick Clifton <nickc@redhat.com> |
235 | ||
236 | PR binutils/17531 | |
237 | * readelf.c (get_unwind_section_word): Skip reloc processing if | |
238 | there are no relocs associated with the section. | |
239 | (decode_tic6x_unwind_bytecode): Warn and return if the stack | |
240 | pointer adjustment falls off the end of the buffer. | |
241 | ||
041830e0 NC |
242 | 2014-11-14 Nick Clifton <nickc@redhat.com> |
243 | ||
244 | PR binutils/17512 | |
245 | * dwarf.c (get_encoded_value): Add an 'end' parameter. Change the | |
246 | 'data' parameter to a double pointer and return the updated value. | |
247 | (decode_location_expression): Update call to get_encoded_value. | |
248 | (frame_need_space): Handle the case where one or both of the | |
249 | mallocs fails. | |
250 | (read_cie): Initialise the cie pointer, even if the read fails. | |
251 | (display_debug_frames): Warn if the calculated block_end is before | |
252 | the start of the block. Break the loop if the CIE could not be | |
253 | read. Update call to get_encoded_value. Warn if the read CFA | |
254 | expressions are too big. | |
255 | ||
3102e897 NC |
256 | 2014-11-13 Nick Clifton <nickc@redhat.com> |
257 | ||
258 | PR binutils/17531 | |
259 | * readelf.c (process_version_sections): If the read of the version | |
260 | def information fails, make sure that the external verdef data is | |
261 | not used. | |
262 | (get_dynamic_data): Do not attempt to allocate memory for more | |
263 | dynamic data than there is in the file. If the read fails, free | |
264 | the allocated buffer. | |
265 | (process_symbol_table): Do not print dynamic information if we | |
266 | were unable to read the dynamic symbol table. | |
267 | (print_gnu_note): Do not print the note if the descsz is too | |
268 | small. | |
269 | ||
f41e4712 NC |
270 | 2014-11-12 Nick Clifton <nickc@redhat.com> |
271 | ||
272 | PR binutils/17512 | |
273 | * dwarf.c (read_and_display_attr_value): Check that we do not read | |
274 | past end. | |
275 | (display_debug_pubnames_worker): Add range checks. | |
276 | (process_debug_info): Check for invalid pointer sizes. | |
277 | (display_loc_list): Likewise. | |
278 | (display_loc_list_dwo): Likewise. | |
279 | (display_debug_ranges): Likewise. | |
280 | (display_debug_aranges): Check for invalid address size. | |
281 | (read_cie): Add range checks. Replace call strchr with while loop. | |
282 | * objdump.c (dump_dwarf): Replace abort with a warning message. | |
283 | (print_section_stabs): Improve range checks. | |
284 | * rdcoff.c (coff_get_slot): Use long for indx parameter type. | |
285 | Add check for an excesively large index. | |
286 | * rddbg.c (read_section_stabs_debugging_info): Zero terminate the | |
287 | string table. Avoid walking off the end of the stabs data. | |
288 | * stabs.c (parse_stab_string): Add check for a NULL name. | |
289 | ||
8b73c356 NC |
290 | 2014-11-11 Nick Clifton <nickc@redhat.com> |
291 | ||
292 | PR binutils/17531 | |
293 | * binutils/readelf.c (dynamic_nent): Change type to size_t. | |
294 | (slurp_rela_relocs): Use size_t type for nrelas. | |
295 | (slurp_rel_relocs): Likewise. | |
296 | (get_program_headers): Improve out of memory error message. | |
297 | (get_32bit_section_headers): Likewise. | |
298 | (get_32bit_section_headers): Likewise. | |
299 | (get_64bit_section_headers): Likewise. | |
300 | (get_32bit_elf_symbols): Likewise. | |
301 | (get_64bit_elf_symbols): Likewise. | |
302 | (process_section_groups): Likewise. | |
303 | (get_32bit_dynamic_section): Likewise. | |
304 | (get_64bit_dynamic_section): Likewise. | |
305 | (process_dynamic_section): Likewise. | |
306 | (process_version_sections): Likewise. | |
307 | (get_symbol_index_type): Likewise. | |
308 | (process_mips_specific): Likewise. | |
309 | (process_corefile_note_segment): Likewise. | |
310 | (process_version_sections): Use size_t type for total. | |
311 | (get_dynamic_data): Change type of number parameter to size_t. | |
312 | Improve out of memory error messages. | |
313 | (process_symbol_table): Change type of nbuckets and nchains to | |
314 | size_t. Skip processing of sections headers if there are none. | |
315 | Improve out of memory error messages. | |
316 | ||
60984d52 NC |
317 | 2014-11-11 Nick Clifton <nickc@redhat.com> |
318 | ||
319 | * po/fr.po: Updated French translation. | |
320 | ||
541a3cbd NC |
321 | 2014-11-11 Nick Clifton <nickc@redhat.com> |
322 | ||
323 | PR binutils/17531 | |
324 | * readelf.c (display_arm_attribute): Avoid reading off the end of | |
325 | the buffer when processing a Tag_nodefaults. | |
326 | ||
4082ef84 NC |
327 | 2014-11-10 Nick Clifton <nickc@redhat.com> |
328 | ||
329 | PR binutils/17531 | |
330 | * (ia64_process_unwind): Replace assertion with an error message. | |
331 | Add range checking for group section indicies. | |
332 | (hppa_process_unwind): Replace assertion with an error message. | |
333 | (process_syminfo): Likewise. | |
334 | (decode_arm_unwind_bytecode): Add range checking. | |
335 | (dump_section_as_strings): Add more string range checking. | |
336 | (display_tag_value): Likewise. | |
337 | (display_arm_attribute): Likewise. | |
338 | (display_gnu_attribute): Likewise. | |
339 | (display_tic6x_attribute): Likewise. | |
340 | (display_msp430x_attribute): Likewise. | |
341 | ||
5e186ece NC |
342 | 2014-11-10 Nick Clifton <nickc@redhat.com> |
343 | ||
344 | PR binutils/17552 | |
345 | * (copy_archive): Clean up temporary files even if an error | |
346 | occurs. | |
347 | ||
5a2cbcf4 L |
348 | 2014-11-07 H.J. Lu <hongjiu.lu@intel.com> |
349 | ||
350 | * readelf.c (process_dynamic_section): Cast time value to unsigned | |
351 | long to print. | |
352 | ||
071436c6 NC |
353 | 2014-11-07 Nick Clifton <nickc@redhat.com> |
354 | ||
355 | PR binutils/17531 | |
356 | * readelf.c (get_data): Avoid allocating memory when we know that | |
357 | the read will fail. | |
358 | (find_section_by_type): New function. | |
359 | (get_unwind_section_word): Check for invalid symbol indicies. | |
360 | Check for invalid reloc types. | |
361 | (get_32bit_dynamic_section): Add range checks. | |
362 | (get_64bit_dynamic_section): Add range checks. | |
363 | (process_dynamic_section): Check for a corrupt time value. | |
364 | (process_symbol_table): Add range checks. | |
365 | (dump_section_as_strings): Add string length range checks. | |
366 | (display_tag_value): Likewise. | |
367 | (display_arm_attribute): Likewise. | |
368 | (display_gnu_attribute): Likewise. | |
369 | (display_tic6x_attribute): Likewise. | |
370 | (display_msp430x_attribute): Likewise. | |
371 | (process_mips_specific): Add range check. | |
372 | ||
dd9b91de NC |
373 | 2014-11-06 Nick Clifton <nickc@redhat.com> |
374 | ||
375 | PR binutils/17552, binutils/17533 | |
376 | * bucomm.c (is_valid_archive_path): New function. Returns false | |
377 | for absolute pathnames and pathnames that include /../. | |
378 | * bucomm.h (is_valid_archive_path): Add prototype. | |
379 | * ar.c (extract_file): Use new function to check for valid | |
380 | pathnames when extracting files from an archive. | |
381 | * objcopy.c (copy_archive): Likewise. | |
382 | * doc/binutils.texi: Update documentation to mention the | |
383 | limitation on pathname of archive members. | |
384 | ||
74e1a04b NC |
385 | 2014-11-05 Nick Clifton <nickc@redhat.com> |
386 | ||
dd9b91de | 387 | PR binutils/17531 |
74e1a04b NC |
388 | * readelf.c (printable_section_name): New function. |
389 | (printable_section_name_from_index): New function. | |
390 | (dump_relocations): Use new function. | |
391 | (process_program_headers, get_32bit_elf_symbols, | |
392 | (get_64bit_elf_symbols, process_section_headers, | |
393 | (process_section_groups, process_relocs, ia64_process_unwind, | |
394 | (hppa_process_unwind, get_unwind_section_word, decode_arm_unwind, | |
395 | (arm_process_unwind, process_version_sections, | |
396 | (process_symbol_table, apply_relocations, get_section_contents, | |
397 | (dump_section_as_strings, dump_section_as_bytes, | |
398 | (display_debug_section, process_attributes, process_mips_specific, | |
399 | (process_mips_specific process_gnu_liblist): Likewise. | |
400 | (get_unwind_section_word): Check for a missing symbol table. | |
401 | Replace aborts with error messages. | |
402 | (arm_process_unwind): Check for a missing string table. | |
403 | (process_attributes): Check for an attribute length that is too | |
404 | small. | |
405 | (process_mips_specific): Check for a corrupt GOT symbol offset. | |
406 | ||
407 | 2014-11-05 Nick Clifton <nickc@redhat.com> | |
408 | ||
dd9b91de | 409 | PR binutils/17533 |
74e1a04b NC |
410 | * bucomm.c (is_valid_archive_path): New function. |
411 | * bucomm.h (is_valid_archive_path): Prototype it. | |
412 | * ar.c (extract_file): Call is_valid_archive_path to verify a | |
413 | member filename before extracting it. | |
414 | * objcopy.c (copy_archive): Likewise. | |
415 | ||
7fc5ac57 JBG |
416 | 2014-11-05 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
417 | ||
418 | * readelf.c (process_mips_specific): Fix format string warning. | |
419 | ||
df97ab2a MF |
420 | 2014-11-04 Matthew Fortune <matthew.fortune@imgtec.com> |
421 | ||
422 | * readelf.c (process_mips_specific): Rename index to idx. | |
423 | ||
049b0c3a NC |
424 | 2014-11-04 Nick Clifton <nickc@redhat.com> |
425 | ||
426 | PR binutils/17531 | |
427 | * readelf.c (get_data): If the reason parameter is null, do not | |
428 | print any error messages. | |
429 | (get_32bit_section_headers): Verify section header entry size | |
430 | before reading in the section headers. | |
431 | (get_64bit_section_headers): Likewise. | |
432 | (process_section_headers): Pass FALSE to get_section_headers. | |
433 | (get_file_header): Pass TRUE to get_section_headers. | |
434 | (process_dynamic_section): Change an assert to an error message. | |
435 | (process_symbol_table): Handle corrupt histograms. | |
436 | ||
e0a31db1 NC |
437 | (get_32bit_program_headers): Verify program header entry size |
438 | before reading in the program headers. | |
439 | (get_64bit_program_headers): Likewise. | |
440 | (get_unwind_section_word): Do nothing if no section was provided. | |
441 | Fail if the offset is outside of the section. | |
442 | (print_dynamic_symbol): Catch out of range symbol indicies. | |
443 | (process_mips_specific): Likewise. | |
444 | (process_attributes): Make sure that there is enough space left in | |
445 | the section before attempting to read the length of the next | |
446 | attribute. | |
447 | ||
5a3f568b NC |
448 | 2014-11-03 Nick Clifton <nickc@redhat.com> |
449 | ||
450 | PR binutils/17512 | |
451 | * objdump.c (slurp_symtab): Fail gracefully if the table could not | |
452 | be read. | |
453 | (dump_relocs_in_section): Likewise. | |
454 | ||
ba241f2d NC |
455 | 2014-11-03 Nick Clifton <nickc@redhat.com> |
456 | ||
457 | * po/fi.po: Updated Finnish translation. | |
458 | * po/sv.po: Updated Swedish translation. | |
459 | ||
2a03f307 HPN |
460 | 2014-11-01 Hans-Peter Nilsson <hp@axis.com> |
461 | ||
462 | * readelf.c (get_32bit_elf_symbols): Cast error | |
463 | parameters of bfd_size_type with the %lx format to | |
464 | unsigned long. | |
465 | ||
2c629856 | 466 | 2014-10-31 Andrew Pinski <apinski@cavium.com> |
7fc5ac57 | 467 | Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
2c629856 N |
468 | |
469 | * readelf.c (print_mips_isa_ext): Print the value of Octeon3. | |
470 | ||
da37262b IB |
471 | 2014-10-31 Iain Buclaw <ibuclaw@gdcproject.org> |
472 | ||
473 | * cxxfilt.c (main): Add case for dlang_demangling style. | |
474 | ||
f54498b4 NC |
475 | 2014-10-31 Nick Clifton <nickc@redhat.com> |
476 | ||
477 | PR binutils/17512 | |
478 | * readelf.c (process_program_headers): Avoid memory exhaustion due | |
479 | to corrupt values in a dynamis segment header. | |
480 | (get_32bit_elf_symbols): Do not attempt to read an over-large | |
481 | section. | |
482 | (get_64bit_elf_symbols): Likewise. | |
483 | ||
fe060053 NC |
484 | 2014-10-31 Nick Clifton <nickc@redhat.com> |
485 | ||
486 | * strings.c: Add new command line option --data to only scan the | |
487 | initialized, loadable data secions of binaries. Choose the | |
488 | default behaviour of --all or --data based upon a configure | |
489 | option. | |
490 | * doc/binutils.texi (strings): Update documentation. Include | |
491 | description of why the --data option might be unsafe. | |
492 | * configure.ac: Add new option --disable-default-strings-all which | |
493 | restores the old behaviour of strings using --data by default. If | |
494 | the option is not used make strings use --all by default. | |
495 | * NEWS: Mention the new behaviour of strings. | |
496 | * configure: Regenerate. | |
497 | * config.in: Regenerate. | |
498 | ||
76ca31c0 NC |
499 | 2014-10-30 Nick Clifton <nickc@redhat.com> |
500 | ||
501 | * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that | |
502 | there is a single string for translation. | |
503 | (dynamic_section_mips_val): Likewise. | |
504 | ||
64b588b5 NC |
505 | 2014-10-29 Nick Clifton <nickc@redhat.com> |
506 | ||
507 | * po/bg.po: Updated Bulgarian translation. | |
508 | * po/sr.po: New Serbian translation. | |
509 | * po/sv.po: Updated Swedish translation. | |
510 | ||
00ac7aa0 MF |
511 | 2014-10-22 Matthew Fortune <matthew.fortune@imgtec.com> |
512 | ||
513 | * readelf.c (print_mips_ases): Print unknown ASEs. | |
514 | (print_mips_isa_ext): Print the value of an unknown extension. | |
515 | ||
91dc4e0a TG |
516 | 2014-10-15 Tristan Gingold <gingold@adacore.com> |
517 | ||
518 | * configure: Regenerate. | |
519 | ||
c50415e2 TG |
520 | 2014-10-14 Tristan Gingold <gingold@adacore.com> |
521 | ||
522 | * NEWS: Add marker for 2.25. | |
523 | ||
65879393 AM |
524 | 2014-10-14 Alan Modra <amodra@gmail.com> |
525 | ||
526 | PR 17453 | |
527 | * dwarf.c (read_leb128): Avoid signed overflow. | |
528 | (read_debug_line_header): Likewise. | |
529 | ||
9495b2e6 AM |
530 | 2014-10-14 Alan Modra <amodra@gmail.com> |
531 | ||
532 | PR 17453 | |
533 | * readelf.c (process_program_headers): Correct fscanf format used | |
534 | for interpreter. | |
535 | ||
3d68f91c JM |
536 | 2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com> |
537 | ||
538 | * readelf.c (display_sparc_hwcaps2): New function. | |
539 | (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when | |
540 | handling `Tag_GNU_Sparc_HWCAPS2' attributes. | |
541 | ||
49727e46 AM |
542 | 2014-09-22 Alan Modra <amodra@gmail.com> |
543 | ||
544 | PR 16563 | |
545 | * dwarf.c (GET): Remove semicolon. | |
546 | (read_cie): New function, extracted from.. | |
547 | (display_debug_frames): ..here. Correctly handle signed offset | |
548 | from FDE to CIE in .eh_frame. Decode forward referenced CIEs too. | |
549 | ||
70e99720 TG |
550 | 2014-09-16 Nick Clifton <nickc@redhat.com> |
551 | ||
552 | * readelf.c (display_arm_attribute): Use unsigned int type for | |
553 | tag, val and type variables. | |
554 | ||
40c7a7cb KLC |
555 | 2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com> |
556 | ||
557 | * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+. | |
558 | ||
7361da2c AB |
559 | 2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com> |
560 | Matthew Fortune <matthew.fortune@imgtec.com> | |
561 | ||
562 | * readelf.c (get_machine_flags): Add support for mips32r6 and | |
563 | mips64r6. | |
564 | ||
74fffc39 JT |
565 | 2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk> |
566 | ||
567 | * objcopy.c (is_nondebug_keep_contents_section): Change | |
568 | '.build-id' to '.buildid'. | |
569 | ||
4ee22035 RH |
570 | 2014-08-22 Richard Henderson <rth@redhat.com> |
571 | ||
572 | * dwarf.h (init_dwarf_regnames_aarch64): Declare. | |
573 | * dwarf.c (dwarf_regnames_aarch64): New. | |
574 | (init_dwarf_regnames_aarch64): New. | |
575 | (init_dwarf_regnames): Call it. | |
576 | * objdump.c (dump_dwarf): Likewise. | |
577 | ||
2974be62 AM |
578 | 2014-08-19 Alan Modra <amodra@gmail.com> |
579 | ||
580 | * configure: Regenerate. | |
581 | ||
b879806f AM |
582 | 2014-08-14 Alan Modra <amodra@gmail.com> |
583 | ||
584 | * configure.ac: Move ACX_LARGEFILE after LT_INIT. | |
585 | * config.in: Regenerate. | |
586 | * configure: Regenerate. | |
587 | ||
351cdf24 MF |
588 | 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com> |
589 | ||
590 | * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS. | |
591 | (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS. | |
592 | (display_mips_gnu_attribute): Abstracted fp abi printing to... | |
593 | (print_mips_fp_abi_value): New static function. Handle new FP ABIs. | |
594 | (print_mips_ases, print_mips_isa_ext): New static functions. | |
595 | (get_mips_reg_size): Likewise. | |
596 | (process_mips_specific): Display abiflags data. | |
597 | ||
b794fc1d AM |
598 | 2014-07-28 Alan Modra <amodra@gmail.com> |
599 | ||
600 | PR 13227 | |
601 | * nm.c (filter_symbols): Warn on __gnu_lto_slim. | |
602 | ||
3510a7b8 NC |
603 | 2014-07-07 Nick Clifton <nickc@redhat.com> |
604 | ||
605 | * readelf.c (get_symbol_type): Revert accidental change to | |
606 | detection of thumb function symbols. | |
607 | ||
35eafcc7 AM |
608 | 2014-07-04 Alan Modra <amodra@gmail.com> |
609 | ||
610 | * configure.ac: Rename from configure.in. | |
611 | * Makefile.in: Regenerate. | |
612 | * config.in: Regenerate. | |
613 | * doc/Makefile.in: Regenerate. | |
614 | ||
2e98a7bd AM |
615 | 2014-07-04 Alan Modra <amodra@gmail.com> |
616 | ||
617 | * configure.in: Include bfd/version.m4. | |
618 | (AC_INIT, AM_INIT_AUTOMAKE): Use modern form. | |
619 | (BFD_VERSION): Delete. | |
620 | * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in. | |
621 | * configure: Regenerate. | |
622 | * Makefile.in: Regenerate. | |
623 | * doc/Makefile.in: Regenerate. | |
624 | ||
8d112f9e TG |
625 | 2014-07-03 Tristan Gingold <gingold@adacore.com> |
626 | ||
627 | * doc/binutils.texi: Clarify addr2line output. | |
628 | ||
b6a1c03a AM |
629 | 2014-07-01 Alan Modra <amodra@gmail.com> |
630 | ||
631 | * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE. | |
632 | ||
334ac421 EA |
633 | 2014-06-26 Erik Akermann <kurterikackermann@gmail.com> |
634 | ||
635 | * strings.c: Add -w/--include-all-whitespace option to include any | |
636 | whitespace character in the displayed strings. | |
637 | * NEWS: Mention the new feature. | |
638 | * doc/binutils.texi (strings): Document the new command line | |
639 | option. | |
640 | ||
df565f32 NC |
641 | 2014-06-26 Nick Clifton <nickc@redhat.com> |
642 | ||
643 | * readelf.c (process_note_sections): If there are no note sections | |
644 | try processing note segments instead. | |
645 | ||
548a2357 NC |
646 | 2014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov> |
647 | ||
648 | PR binutils/16923 | |
649 | * rcparse.y (fixedverinfo): Prevent large version numbers from | |
650 | corrupting other values. | |
651 | ||
d71ad7fc RC |
652 | 2014-06-09 Romain Chastenet <romain.chastenet@free.fr> |
653 | ||
654 | PR binutils/16252 | |
655 | * dwarf.c (display_debug_frames): Remember the state of the | |
656 | cfa_offset, cfa_reg, ra and cfa_exp field | |
657 | ||
270c9937 JB |
658 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
659 | ||
660 | * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on | |
661 | bfd's development.sh. | |
662 | * Makefile.in, configure: Regenerate. | |
663 | ||
6e6e7cfc JT |
664 | 2014-05-16 Jon Turney <jon.turney@dronecode.org.uk> |
665 | ||
666 | * objcopy.c (is_nondebug_keep_contents_section): New function. | |
667 | (setup_section): Use it. | |
668 | ||
856ea05c KP |
669 | 2014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com> |
670 | ||
671 | * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag. | |
672 | ||
6d00b590 AM |
673 | 2014-05-02 Alan Modra <amodra@gmail.com> |
674 | ||
675 | * emul_aix.c: Update bfd target vector naming. | |
676 | * testsuite/binutils-all/objcopy.exp: Likewise. | |
677 | ||
b2bcb4bd CS |
678 | 2014-04-24 Christian Svensson <blue@cmd.nu> |
679 | ||
680 | * MAINTAINERS: Add myself and Stefan as OR1K maintainers. | |
681 | ||
7d64c587 AB |
682 | 2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com> |
683 | ||
684 | * doc/binutils.texi: Document the disassemble MIPS XPA instructions | |
685 | command line option. | |
686 | ||
73589c9d CS |
687 | 2014-04-22 Christian Svensson <blue@cmd.nu> |
688 | ||
689 | * readelf.c: Remove openrisc and or32 support. Add support for or1k. | |
690 | ||
c9ffd2ea TG |
691 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
692 | ||
693 | * od-macho.c (dump_section_map): Adjust as load commands | |
694 | are now chained. | |
695 | (dump_load_command, dump_section_content): Likewise. | |
696 | ||
e89d3dee TG |
697 | 2014-04-16 Tristan Gingold <gingold@adacore.com> |
698 | ||
699 | * od-macho.c (OPT_DYLD_INFO): New macro. | |
700 | (options): Add entry for dyld_info. | |
701 | (mach_o_help): Likewise. | |
702 | (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind) | |
703 | (dump_dyld_info_export_1, dump_dyld_info_export): New functions. | |
704 | (bfd_mach_o_dyld_rebase_type_name): New array. | |
705 | (export_info_data): New struct. | |
706 | (dump_dyld_info): Add verbose argument. Dump rebase, bind and | |
707 | exports data. | |
708 | (dump_load_command): Adjust dump_dyld_info call. | |
709 | (mach_o_dump): Handle dyld_info. | |
710 | ||
47f8a107 TG |
711 | 2014-04-16 Tristan Gingold <gingold@adacore.com> |
712 | ||
713 | * od-macho.c (dump_header): Display sizeofcmds in decimal too. | |
714 | (dump_segment): Reformat output. | |
715 | (dump_dyld_info): Also display end offsets. | |
716 | (dump_load_command): Add IDX argument, display commands size | |
717 | and offset, reformat display. | |
718 | (dump_load_commands): Adjust for added argument. | |
719 | ||
5063a421 AM |
720 | 2014-04-07 Alan Modra <amodra@gmail.com> |
721 | ||
722 | PR binutils/16811 | |
723 | * objcopy.c (copy_object): Error if no sections. | |
724 | ||
92b1b678 MT |
725 | 2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de> |
726 | ||
727 | PR binutils/14698 | |
728 | ar.c: Set plugin_target early if plugins are supported. | |
729 | nm.c: Likewise. | |
730 | ||
965b60c9 TG |
731 | 2014-04-03 Tristan Gingold <gingold@adacore.com> |
732 | ||
733 | * od-macho.c (printf_uint64): New function. | |
734 | (dump_load_command, dump_obj_compact_unwind): Use it. | |
735 | (dump_exe_compact_unwind): Display personality functions. | |
736 | ||
7a79c514 TG |
737 | 2014-04-02 Tristan Gingold <gingold@adacore.com> |
738 | ||
739 | * od-macho.c (OPT_TWOLEVEL_HINTS): New macro. | |
740 | (options): Add entry for twolevel_hints. | |
741 | (dump_data_in_code): Fix error message. | |
742 | (dump_twolevel_hints): New function. | |
743 | (dump_load_command): Handle prebound dylib, prebind cksum | |
744 | and twolevel hints. | |
745 | (mach_o_dump): Handle twolevel hints. | |
746 | ||
c275b681 TG |
747 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
748 | ||
749 | * od-macho.c (OPT_DATA_IN_CODE): New macro. | |
750 | (options): Add entry for data in code. | |
751 | (mach_o_help): Ditto. | |
752 | (data_in_code_kind_name): New array. | |
753 | (dump_data_in_code): New function. | |
754 | (dump_load_command): Handle data in code. | |
755 | (mach_o_dump): Ditto. | |
756 | (dump_header): Display a terminal newline. | |
757 | ||
10be66a4 TG |
758 | 2014-03-27 Tristan Gingold <gingold@adacore.com> |
759 | ||
760 | * od-macho.c (dump_load_command): Display value for | |
761 | BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE | |
762 | and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS. | |
763 | ||
3cc27770 TG |
764 | 2014-03-27 Tristan Gingold <gingold@adacore.com> |
765 | ||
766 | * od-macho.c (OPT_FUNCTION_STARTS): New macro. | |
767 | (options): Add entry for function_starts. | |
768 | (mach_o_help): Ditto. | |
769 | (disp_segment_prot): New function. | |
770 | (dump_section_map): Call disp_segment_prot. | |
771 | (dump_function_starts): New function. | |
772 | (dump_obj_compact_unwind): Fix ouput indentation. | |
773 | (dump_exe_compact_unwind): Fix ouput indentation. | |
774 | (mach_o_dump): Handle function_starts. | |
775 | ||
d8028530 TG |
776 | 2014-03-26 Tristan Gingold <gingold@adacore.com> |
777 | ||
778 | * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64. | |
779 | ||
595330b7 TG |
780 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
781 | ||
782 | * objdump.c (load_specific_debug_section): Set address of section. | |
783 | ||
aa9fa1e2 TG |
784 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
785 | ||
786 | * od-macho.c (dump_unwind_encoding_x86): Set the factor. | |
787 | (dump_exe_compact_unwind): Change the condition. Improve | |
788 | indentation. | |
789 | ||
bcf83b2a NC |
790 | 2014-03-20 Nick Clifton <nickc@redhat.com> |
791 | ||
792 | * readelf.c (process_version_sections): Fix off-by-one error in | |
793 | previous delta. | |
794 | ||
c24cf8b6 NC |
795 | 2014-03-19 Nick Clifton <nickc@redhat.com> |
796 | ||
797 | PR binutils/16723 | |
798 | * readelf.c (process_version_sections): Prevent an infinite loop | |
799 | when the vn_next field is zero but there are still entries to be | |
800 | processed. | |
801 | ||
167e1c1f TG |
802 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
803 | ||
804 | * od-macho.c (dump_section_header): Renames of dump_section. | |
805 | (dump_segment): Adjust after renaming. | |
806 | (OPT_COMPACT_UNWIND): Define. | |
807 | (options): Add compact unwind. | |
808 | (mach_o_help): Document compact_unwind. | |
809 | (unwind_x86_64_regs, unwind_x86_regs): New arrays. | |
810 | (dump_unwind_encoding_x86, dump_unwind_encoding) | |
811 | (dump_obj_compact_unwind, dump_exe_compact_unwind) | |
812 | (dump_section_content): New functions. | |
813 | (mach_o_dump): Handle compact unwind. | |
814 | ||
fbe383b9 TG |
815 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
816 | ||
817 | * od-macho.c (dump_load_command): Handle lazy load dylib. | |
818 | ||
182a105a AG |
819 | 2014-03-14 Anthony Green <green@moxielogic.com> |
820 | ||
821 | * objcopy.c (copy_object): Check fwrite return code. | |
822 | ||
5a026fc9 NC |
823 | 2014-03-14 Meador Inge <meadori@codesourcery.com> |
824 | ||
9495b2e6 AM |
825 | * dwarf.c (strnlen): Move prototype ... |
826 | * sysdep.h (strnlen): ... to here. | |
5a026fc9 | 827 | |
8a1373cc NC |
828 | 2014-03-12 Nick Clifton <nickc@redhat.com> |
829 | ||
830 | PR binutils/16652 | |
831 | * doc/binutils.texi (ar cmdline): Move --plugin command line | |
832 | option to after the command option. | |
833 | ||
c63043aa DG |
834 | 2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com> |
835 | ||
836 | PR binutils/16567 | |
837 | * deflex.l: Add noinput and nounput options. | |
838 | ||
fa47fa92 AM |
839 | 2014-03-12 Alan Modra <amodra@gmail.com> |
840 | ||
841 | * Makefile.in: Regenerate. | |
842 | * doc/Makefile.in: Regenerate. | |
843 | ||
e9847026 NC |
844 | 2014-03-06 Nick Clifton <nickc@redhat.com> |
845 | ||
846 | PR binutils/16664 | |
847 | * readelf.c (process_attributes): Add checks for corrupt | |
848 | attribute section names. | |
849 | ||
4b95cf5c AM |
850 | 2014-03-05 Alan Modra <amodra@gmail.com> |
851 | ||
852 | Update copyright years. | |
853 | ||
2c80b753 AM |
854 | 2014-03-03 Alan Modra <amodra@gmail.com> |
855 | ||
856 | * README: Add "Copyright Notices" paragraph. | |
857 | ||
503a6091 CC |
858 | 2014-02-11 Cary Coutant <ccoutant@google.com> |
859 | ||
860 | * binutils/dwarf.c (read_and_display_attr_value): Don't warn | |
861 | for zero-length attribute value. | |
862 | ||
c1c69e83 AM |
863 | 2014-02-10 Alan Modra <amodra@gmail.com> |
864 | ||
865 | * po/binutils.pot: Regenerate. | |
866 | ||
d32e5c54 AP |
867 | 2014-02-06 Andrew Pinski <apinski@cavium.com> |
868 | ||
869 | * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case. | |
870 | ||
926c5385 CC |
871 | 2014-02-06 Cary Coutant <ccoutant@google.com> |
872 | ||
873 | PR binutils/16444 | |
874 | * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION. | |
875 | ||
221fd5d5 L |
876 | 2014-01-08 H.J. Lu <hongjiu.lu@intel.com> |
877 | ||
878 | * version.c (print_version): Update copyright year to 2014. | |
879 | ||
1651e569 TT |
880 | 2014-01-07 Tom Tromey <tromey@redhat.com> |
881 | ||
882 | * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with | |
883 | stdarg macros. | |
884 | * dlltool.c (inform): Replace obsolete VA_* macros with stdarg | |
885 | macros. | |
886 | * dllwrap.c (inform, warn): Replace obsolete VA_* macros with | |
887 | stdarg macros. | |
888 | ||
b51f1626 TT |
889 | 2014-01-07 Tom Tromey <tromey@redhat.com> |
890 | ||
891 | * coffgrok.h (coff_ofile): Don't use PARAMS. | |
892 | * nlmheader.y (strerror): Don't use PARAMS. | |
893 | ||
5fb776a6 | 894 | For older changes see ChangeLog-2013 |
252b5132 | 895 | \f |
5fb776a6 | 896 | Copyright (C) 2014 Free Software Foundation, Inc. |
752937aa NC |
897 | |
898 | Copying and distribution of this file, with or without modification, | |
899 | are permitted in any medium without royalty provided the copyright | |
900 | notice and this notice are preserved. | |
901 | ||
252b5132 RH |
902 | Local Variables: |
903 | mode: change-log | |
904 | left-margin: 8 | |
905 | fill-column: 74 | |
906 | version-control: never | |
907 | End: |