]>
Commit | Line | Data |
---|---|---|
2e97048a TT |
1 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * dwarf-mode.el: Bump version number. | |
4 | (dwarf-mode): Remove autoload. | |
5 | (dwarf-die-reference): Relax regexp. | |
6 | ||
952781e8 AM |
7 | 2013-04-05 Alan Modra <amodra@gmail.com> |
8 | ||
9 | PR binutils/15324 | |
10 | * configure.in: Add strnlen to AC_CHECK_DECLS, sort. | |
11 | * dwarf.c (strnlen): Provide fallback decl. | |
12 | * config.in: Regnerate. | |
13 | * configure: Regenerate. | |
14 | ||
f048b142 L |
15 | 2013-03-29 H.J. Lu <hongjiu.lu@intel.com> |
16 | ||
17 | * dwarf.c (process_debug_info): Increment hdrptr by 8 after | |
18 | SAFE_BYTE_GET64. | |
19 | ||
7e93ea4b NC |
20 | 2013-03-27 Phil Krylov <phil.krylov@gmail.com> |
21 | ||
22 | PR binutils/13409 | |
23 | * winduni.c (codepages[]): Use UTF-16LE. | |
24 | (wind_MultiByteToWideChar): Likewise. | |
25 | (wind_WideCharToMultiByte): Likewise. | |
26 | ||
2bdc3eca AM |
27 | 2013-03-27 Alan Modra <amodra@gmail.com> |
28 | ||
29 | PR binutils/15206 | |
30 | * dwarf.c (read_and_display_attr_value): Cast format '*' arg to int. | |
31 | ||
0c588247 NC |
32 | 2013-03-26 Nick Clifton <nickc@redhat.com> |
33 | ||
f4155c00 | 34 | PR binutils/15206 |
0c588247 NC |
35 | * dwarf.c (SAFE_BYTE_GET): New macro - checks remaining buffer |
36 | space before calling byte_get. | |
37 | (SAFE_BYTE_GET_AND_INC): New macro. | |
38 | (SAFE_SIGNED_BYTE_GET): New macro. | |
39 | (SAFE_SIGNED_BYTE_GET_AND_INC): New macro. | |
40 | (SAFE_BYTE_GET64): New macro. | |
41 | (process_extened_line_op): Use new macros. Use strnlen when | |
42 | appropriate. | |
43 | (fetch_indirect_string): Likewise. | |
44 | (get_FORM_name): Likewise. | |
45 | (decode_location_expression): Likewise. | |
46 | (read_and_display_attr_value): Likewise. | |
47 | (process_debug_info): Likewise. | |
48 | (display_debug_lines_raw): Likewise. | |
49 | (display_debug_lines_decoded): Likewise. | |
50 | (display_debug_pubnames): Likewise. | |
51 | (display_debug_macinfo): Likewise. | |
52 | (get_line_filename_and_dirname): Likewise. | |
53 | (display_debug_macro): Likewise. | |
54 | (display_loc_list): Likewise. | |
55 | (display_loc_list_dwo): Likewise. | |
56 | (display_debug_aranges): Likewise. | |
57 | (display_debug_ranges): Likewise. | |
58 | (frame_display_row): Likewise. | |
59 | (display_debug_frames): Likewise. | |
60 | ||
f6f0e17b NC |
61 | 2013-03-25 Nick Clifton <nickc@redhat.com> |
62 | ||
63 | PR binutils/15202 | |
64 | * dwarf.c (read_leb128): Add END parameter. Do not read at or | |
65 | beyond end. | |
66 | (read_sleb128): Add END parameter. | |
67 | (read_uleb128): New function. | |
68 | (process_extended_line_op): Pass END to leb128 functions. | |
69 | (process_abbrev_section): Likewise. | |
70 | (decode_location_expression): Likewise. | |
71 | (read_and_display_attr_value): Likewise. | |
72 | (read_and_display_attr): Likewise. | |
73 | (process_debug_info): Likewise. | |
74 | (display_debug_lines_raw): Likewise. | |
75 | (display_debug_lines_decoded): Likewise. | |
76 | (display_debug_macinfo): Likewise. | |
77 | (get_line_filename_and_dirname): Likewise. | |
78 | (display_debug_macro): Likewise. | |
79 | (display_loc_list_dwo): Likewise. | |
80 | (display_debug_ranges): Likewise. | |
81 | * dwarf.h (read_leb128): Update prototype. | |
82 | * readelf.c (read_uleb128): Add END parameter. | |
83 | (decode_arm_unwind_bytecode): Pass END to read_uleb128. | |
84 | (decode_tic6x_unwind_bytecode): Likewise. | |
85 | (display_tag_value): New function. | |
86 | (display_arm_attribute): Add END parameter. Pass END to | |
87 | read_uleb128. Use display_tag_value. | |
88 | (display_gnu_attribute): Likewise. | |
89 | (display_power_gnu_attribute): Likewise. | |
90 | (display_sparc_gnu_attribute): Likewise. | |
91 | (display_mips_gnu_attribute): Likewise. | |
92 | (display_tic6x_attribute): Likewise. | |
93 | (process_attributes): Likewise. | |
94 | (display_raw_attribute): New function. | |
95 | ||
c8da6823 NC |
96 | 2013-03-22 Nick Clifton <nickc@redhat.com> |
97 | ||
c842b54b NC |
98 | PR binutils/15201 |
99 | * dwarf.c (display_debug_ranges): Add checks for reading beyond | |
100 | the end of the section. | |
101 | ||
c8da6823 NC |
102 | PR binutils/15157 |
103 | * readelf.c (apply_relocations): Catch relocations with negative | |
104 | offsets. | |
105 | ||
0d0fb1ba NC |
106 | 2013-03-15 Nick Clifton <nickc@redhat.com> |
107 | ||
108 | * addr2line.c (slurp_symtab): If canonicalization reveals that | |
109 | there were no ordinary symbols, try loading the dynamic symbols | |
110 | instead. | |
111 | ||
d5c7e0e9 NC |
112 | 2013-03-14 Markos Chandras <markos.chandras@imgtec.com> |
113 | ||
114 | * MAINTAINERS: Add myself as Meta maintainer. | |
115 | ||
abb3f6cc NC |
116 | 2013-03-08 Andreas Arnez <arnez@linux.vnet.ibm.com> |
117 | ||
118 | * readelf.c (get_note_type): Add NT_S390_TDB. | |
119 | ||
c54e2ec1 AM |
120 | 2013-03-07 Alan Modra <amodra@gmail.com> |
121 | ||
122 | * strings.c (get_char): Dispense with buf[]. Instead shift | |
123 | chars into big-endian value and byte-swap later if | |
124 | little-endian. Don't EOF check value read from object. | |
125 | ||
ee36d918 CV |
126 | 2013-03-05 Corinna Vinschen <vinschen@redhat.com> |
127 | ||
128 | * configure.in: Build DLL tools on x86_64-*-cygwin* as well. | |
129 | * configure: Regenerate. | |
130 | ||
fafd911d NC |
131 | 2013-03-04 Nick Clifton <nickc@redhat.com> |
132 | ||
133 | * elfcomm.c (error): Flush stdout before emitting the error | |
134 | message. | |
135 | (warn): Likewise. | |
136 | ||
341f9135 CC |
137 | 2013-03-01 Cary Coutant <ccoutant@google.com> |
138 | ||
139 | * dwarf.c (cu_tu_indexes_read, shndx_pool, shndx_pool_size) | |
140 | (shndx_pool_used): Move to top of file. | |
141 | (struct cu_tu_set): New type. | |
142 | (cu_count, tu_count, cu_sets, tu_sets): New file scope variables. | |
143 | (fetch_indexed_string): Add "this_set" parameter. Update all callers. | |
144 | (find_cu_tu_set_v2): New function. | |
145 | (read_and_display_attr_value): Add "this_set" parameter. | |
146 | (read_and_display_attr): Likewise. | |
147 | (process_debug_info): Track base offsets for DWARF package files. | |
148 | (load_debug_info): Call load_cu_tu_indexes. | |
149 | (get_DW_SECT_short_name): New function. | |
150 | (process_cu_tu_index): Add support for version 2 DWARF package files. | |
151 | ||
15b42fb0 AM |
152 | 2013-02-27 Alan Modra <amodra@gmail.com> |
153 | ||
154 | PR binutils/15191 | |
155 | * readelf.c (offsetof): Define. | |
156 | (CHECK_ENTSIZE_VALUES): Remove extraneous indefinite article. | |
157 | (process_corefile_note_segment): Allow notes without name or | |
158 | desc. Combine out-of-range checks. Disallow "negative" | |
159 | notesz or descsz. | |
160 | ||
9dd3a467 NC |
161 | 2013-02-26 Nick Clifton <nickc@redhat.com> |
162 | ||
163 | PR binutils/15191 | |
164 | * readelf.c (process_corefile_note_segment): Prevent attempts to | |
165 | read beyond the end of the note buffer. | |
166 | ||
76d8cf45 KT |
167 | 2013-02-15 Kai Tietz <ktietz@redhat.com> |
168 | ||
169 | * objcopy.c (copy_main): Initialize context variable. | |
170 | ||
a043396b NC |
171 | 2013-02-15 Nick Clifton <nickc@redhat.com> |
172 | ||
173 | PR binutils/15140 | |
174 | * ar.c (open_inarch): Fail on attempts to convert a normal archive | |
175 | to a thin archive or vice versa. | |
176 | * elfcomm.c (make_qualified_name): Handle corrupted thin | |
177 | archives. | |
178 | * readelf.c (process_archive): Likewise. | |
179 | * doc/binutils.texi: Clarify documentation describing thin | |
180 | archives. | |
181 | ||
2e62b721 NC |
182 | 2013-02-15 Nick Clifton <nickc@redhat.com> |
183 | ||
184 | PR binutils/15033 | |
185 | * objcopy.c (enum change_action): Delete. | |
186 | (struct section_list): Delete remove, copy, change_vma, change_lma | |
187 | and set_flags fields. Add context field. | |
188 | (find_section_list): Add a context parameter. Add support for | |
189 | wildcard characters in section names. | |
190 | (is_strip_section): Check for sections being both copied and | |
191 | removed. | |
192 | (copy_object): Pass context to find_section_list. | |
193 | (setup_section): Likewise. | |
194 | (copy_section): Likewise. | |
195 | (copy_main): Likewise. | |
196 | * doc/binutils: Document the new behaviour. | |
197 | * NEWS: Mention the new feature | |
198 | ||
d99b05a3 NC |
199 | 2013-02-14 Nick Clifton <nickc@redhat.com> |
200 | ||
201 | PR binutils/15125 | |
202 | * objcopy.c (copy_object): Provide a helpful warning message when | |
203 | adding a gnu_debuglink section to an object which already contains | |
204 | one. | |
205 | ||
83ee86b1 NC |
206 | 2013-02-07 Nick Clifton <nickc@redhat.com> |
207 | ||
208 | * elfcomm.c (get_archive_member_name): Prevent seg-fault if a | |
209 | corrupt archive uses long names but has no long name table. | |
210 | ||
36591ba1 SL |
211 | 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> |
212 | Andrew Jenner <andrew@codesourcery.com> | |
213 | ||
214 | Based on patches from Altera Corporation. | |
215 | ||
216 | * readelf.c: Include elf/nios2.h. | |
217 | (dump_relocations): Add case for EM_ALTERA_NIOS2. | |
218 | (get_nios2_dynamic_type): New. | |
219 | (get_dynamic_type): Add case for EM_ALTERA_NIOS2. | |
220 | (is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case. | |
221 | (is_16bit_abs_reloc): Likewise. | |
222 | (is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases. | |
223 | * NEWS: Note Altera Nios II support. | |
224 | * MAINTAINERS: Add Nios II maintainers. | |
225 | ||
7e26601c NC |
226 | 2013-01-29 Xi Wang <xi.wang@gmail.com> |
227 | ||
228 | * readelf.c (process_version_sections): Fix overflow checks to | |
229 | avoid undefined behaviour. | |
230 | ||
aa170720 DE |
231 | 2013-01-28 Doug Evans <dje@google.com> |
232 | ||
233 | * dwarf.c (display_gdb_index): Handle .gdb_index version 8. | |
234 | ||
5dddde8e AM |
235 | 2013-01-28 Robert Schiele <rschiele@gmail.com> |
236 | ||
237 | * objcopy.c (parse_flags): Add merge and strings section flags. | |
238 | ||
fab128ef CC |
239 | 2013-01-25 Cary Coutant <ccoutant@google.com> |
240 | ||
15b42fb0 AM |
241 | * dwarf.c (display_loc_list): Update offset for each line |
242 | printed. | |
243 | (print_addr_index): New function. | |
244 | (display_loc_list_dwo): Update offset for each line printed. | |
245 | Fix problems displaying loclists in .dwo files. Add support | |
246 | for type 4 entries. | |
247 | (display_debug_loc): Remove custom header for .dwo files. | |
248 | (display_debug_addr): Adjust formatting. | |
fab128ef | 249 | |
9b8bf321 NC |
250 | 2013-01-25 Marco Atzeri <marco.atzeri@gmail.com> |
251 | ||
252 | * objcopy.c : Enable long section names for OPTION_ADD_GNU_DEBUGLINK. | |
253 | ||
90f9a987 DE |
254 | 2013-01-24 Doug Evans <dje@google.com> |
255 | ||
256 | * dwarf.c (display_debug_addr): Add missing parentheses to expression. | |
257 | ||
78c8d46c NC |
258 | 2013-01-24 Nick Clifton <nickc@redhat.com> |
259 | ||
260 | * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH. | |
261 | ||
a367d729 AK |
262 | 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
263 | ||
264 | * readelf.c: Add strings for NT_S390_LAST_BREAK and | |
265 | NT_S390_SYSTEM_CALL. | |
266 | ||
a477bfd1 NC |
267 | 2013-01-18 Nick Clifton <nickc@redhat.com> |
268 | ||
269 | PR binutils/15026 | |
270 | * addr2line.c (translate_addresses): When pretty printing, print | |
271 | unknown function names on the same line as unknown symbol names. | |
272 | ||
c32d6f7b AM |
273 | 2013-01-17 Nickolai Zeldovich <nickolai@csail.mit.edu> |
274 | ||
275 | * objdump.c (dump_target_specific): Fix NULL pointer test. | |
276 | ||
cb566e3a AM |
277 | 2013-01-16 Alan Modra <amodra@gmail.com> |
278 | ||
279 | PR binutils/15018 | |
280 | * stabs.c (parse_stab_members): Always set physname here to avoid | |
281 | gcc warning.. | |
282 | (parse_stab_argtypes): ..and don't duplicate the init here. | |
283 | ||
a3c62988 NC |
284 | 2013-01-10 Will Newton <will.newton@imgtec.com> |
285 | ||
286 | * binutils/readelf.c: (guess_is_rela): Add EM_METAG. | |
287 | (dump_relocations): Add EM_METAG. | |
288 | (get_machine_name): Correct case for Meta. | |
289 | (is_32bit_abs_reloc): Add support for Meta ADDR32 reloc. | |
290 | (is_none_reloc): Add support for Meta NONE reloc. | |
291 | ||
652451f8 YZ |
292 | 2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com> |
293 | ||
294 | * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK | |
295 | and NT_ARM_HW_WATCH. | |
296 | ||
955d0b3b RM |
297 | 2013-01-07 Roland McGrath <mcgrathr@google.com> |
298 | ||
299 | * objcopy.c (deterministic): Make int rather than bfd_boolean, | |
300 | initialize to -1. | |
301 | (strip_options, copy_options): Add -U/--disable-deterministic-archives. | |
302 | (default_deterministic): New function. | |
303 | (strip_main, copy_main): Handle -U. Call default_deterministic. | |
304 | (copy_usage, strip_usage): Describe -U. Cite whether -D or -U is | |
305 | the default based on DEFAULT_AR_DETERMINISTIC. | |
306 | * doc/binutils.texi (objcopy, strip): Describe -U and effect of | |
307 | configure options on -D. | |
308 | ||
309 | * ar.c (default_deterministic): Comment fix. | |
310 | ||
7ca01ed9 NC |
311 | 2013-01-07 Patrice Dumas <pertusus@free.fr> |
312 | ||
313 | * doc/binutils.texi: Fix ordering of top level nodes. | |
314 | Replace erroneous uses of @itemx with @item. | |
315 | ||
574b25e8 AS |
316 | 2013-01-04 Andreas Schwab <schwab@linux-m68k.org> |
317 | ||
318 | * doc/binutils.texi (elfedit): Fix use of @itemx in @table. | |
319 | ||
5b2ab150 MS |
320 | 2013-01-03 Marcus Shawcroft <marcus.shawcroft@arm.com> |
321 | ||
322 | * MAINTAINERS: Add myself as AArch64 co-maintainer. | |
323 | ||
62658407 L |
324 | 2013-01-02 H.J. Lu <hongjiu.lu@intel.com> |
325 | ||
326 | * version.c (print_version): Update copyright year to 2013. | |
327 | ||
4e5f3f9d | 328 | For older changes see ChangeLog-2012 |
252b5132 | 329 | \f |
4e5f3f9d | 330 | Copyright (C) 2013 Free Software Foundation, Inc. |
752937aa NC |
331 | |
332 | Copying and distribution of this file, with or without modification, | |
333 | are permitted in any medium without royalty provided the copyright | |
334 | notice and this notice are preserved. | |
335 | ||
252b5132 RH |
336 | Local Variables: |
337 | mode: change-log | |
338 | left-margin: 8 | |
339 | fill-column: 74 | |
340 | version-control: never | |
341 | End: |