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