Upload Tizen:Base source
[external/binutils.git] / binutils / ChangeLog
1 2011-04-11  Kai Tietz  <ktietz@redhat.com>
2
3         * windres.c (usage): Add new --preprocessor-arg option.
4         (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
5         (option long_options): Add preprocessor-arg option.
6         (main): Handle it.
7         * doc/binutils.texi: Add documentation for --preprocessor-arg
8         option.
9         * NEWS: Add line about new --preprocessor-arg option for windres.
10
11 2011-04-08  John Marino  <binutils@marino.st>
12
13         * arlex.l: Prevent redefinition of YY_NO_UNPUT.
14         * syslex.l: Likewise.
15
16 2011-04-07  Paul Brook  <paul@codesourcery.com>
17
18         * readelf.c (arm_section_get_word): Handle C6000 relocations.
19         (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
20         decode_tic6x_unwind_bytecode, expand_prel31): New functions.
21         (decode_arm_unwind): Split out common code from ARM specific bits.
22         (dump_arm_unwind): Use expand_prel31.
23         (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
24         (process_unwind): Add SHT_C6000_UNWIND.
25
26 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
27
28         * configure.in (thumb-*-pe*): Remove.
29         * configure: Regenerate.
30
31 2011-04-05  Sterling Augustine  <augustine.sterling@gmail.com>
32
33         * MAINTAINERS: Update my email address.
34
35 2011-04-03  H.J. Lu  <hongjiu.lu@intel.com>
36
37         PR binutils/12632
38         * objcopy.c (copy_unknown_object): Make the archive element
39         readable.
40
41 2011-04-03  David S. Miller  <davem@davemloft.net>
42
43         * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
44         accurately, rather than how they are represented internally.
45
46 2011-03-31  Tristan Gingold  <gingold@adacore.com>
47
48         * makefile.vms (readelf.exe): New target.
49
50 2011-03-31  Tristan Gingold  <gingold@adacore.com>
51
52         * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
53
54 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
55
56         * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
57         (dump_relocations): Likewise.
58
59 2011-03-31  Tristan Gingold  <gingold@adacore.com>
60
61         * readelf.c (get_ia64_vms_note_type): New function.
62         (print_ia64_vms_note): Ditto.
63         (process_note): Recognize VMS/ia64 specific notes.
64         Display them.
65         (process_corefile_note_segment): Decode VMS notes.
66
67 2011-03-30  Catherine Moore  <clm@codesourcery.com>
68
69         * addr2line.c (translate_addresses): Sign extend the pc
70         if sign_extend_vma is enabled.
71
72 2011-03-30  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
73
74         * readelf.c (process_gnu_liblist): Stop memory leak.
75
76 2011-03-29  Alan Modra  <amodra@gmail.com>
77
78         * coffdump.c: Include bfd_stdint.h
79
80 2011-03-28  Pierre Muller  <muller@ics.u-strasbg.fr>
81
82         * coffdump.c (coff_dump): Correct spelling error.
83         (show_usage): Replace SYSROFF by COFF.
84
85 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
86
87         * coffdump.c (dump_coff_scope): Use double typecast for pointer P
88         to allow compilation for all targets.
89
90 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
91
92         * dwarf.c (process_debug_info): Use offset_size to determine
93         the bit-size of the computation unit's offset.
94         (decode_location_expression): Use dwarf_vmatoa function to display
95         DW_OP_addr OP.
96         (process_debug_info): Use dwarf_vma type for local variables
97         length and type_offset.
98
99 2011-03-25  Michael Snyder  <msnyder@vmware.com>
100
101         * strings.c (print_strings): Plug memory leak.
102         * ar.c (move_members): Plug memory leak.
103         (delete_members): Plug memory leak.
104         (write_archive): Plug memory leak.
105         * ieee.c (ieee_add_bb11): Plug memory leak.
106         (ieee_function_type): Likewise.
107         (ieee_class_baseclass): Likewise.
108         * prdbg.c (pr_function_type): Close memory leaks.
109         (pr_method_type): Likewise.
110         (tg_class_static_member): Likewise.
111         (tg_class_method_variant): Likewise.
112         (tg_class_static_method_variant): Likewise.
113         * stabs.c (parse_stab_enum_type): Fix memory leaks.
114         (parse_stab_struct_type): Likewise.
115         (parse_stab_struct_fields): Likewise.
116         (parse_stab_one_struct_field): Likewise.
117         (parse_stab_members): Likewise.
118         (stab_demangle_qualified): Likewise.
119         * objdump.c (dump_reloc_set): Free malloced memory.
120         * bucomm.c (make_tempname): Stop memory leak.
121
122 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
123
124         Replace bfd_vma type and analog types by dwarf_vma and analogs.
125         Use dwarf specific print functions to display these type values.
126         * dwarf.h (dwarf_signed_vma): New type;
127         (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
128         (DWARF2_External_PubNames): Likewise.
129         (DWARF2_External_CompUnit): Likewise.
130         (DWARF2_External_ARange): Likewise.
131         (read_leb128): Change return type to dwarf_vma.
132         * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
133         check byte_size values.
134         (dwarf_vmatoa): Change parameter type to dwarf_vma.
135         (dwarf_svmatoa): New static function.
136         (read_leb128): Change return type to dwarf_vma.
137         (read_sleb128): New static function.
138         (struct State_Machine_Registers): Change address field type to
139         dwarf_vma.
140         (process_extended_line_op): Adapt to type changes.
141         (fetch_indirect_string): Likewise.
142         (idisplay_block): Likewise.
143         (decode_location_expression): Likewise.
144         (read_and_display_attr_value): Likewise.
145         (process_debug_info): Likewise.
146         (display_debug_lines_raw): Likewise.
147         (display_debug_lines_decoded): Likewise.
148         (SLEB macro): Use new read_sleb128 function.
149
150 2011-03-17  Alan Modra  <amodra@gmail.com>
151
152         PR 12590
153         * ar.c (ranlib_main): Init arg_index properly.
154         (usage): Describe --target.
155
156 2011-03-16  Jakub Jelinek  <jakub@redhat.com>
157
158         * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
159         (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
160         DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
161         (get_AT_name): Handle DW_AT_GNU_call_site_value,
162         DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
163         DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
164         DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
165         DW_AT_GNU_all_source_call_sites.
166         (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
167         handling.
168
169 2011-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
170
171         * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
172         (decode_location_expression): Handle DW_OP_GNU_entry_value.
173         (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
174         (get_AT_name): Likewise.
175
176 2011-03-14  Michael Snyder  <msnyder@vmware.com>
177
178         * objcopy.c (set_pe_subsystem): Free subsystem.
179
180         * wrstabs.c (stab_start_struct_type): Close memory leak.
181
182         * readelf.c (process_version_sections): Free symbols.
183
184         * nm.c (display_rel_file): Free symsizes.
185
186 2011-03-10  Nick Clifton  <nickc@redhat.com>
187
188         * readelf.c (get_machine_name): Update EM_V850 entry.
189
190 2011-03-03  Mike Frysinger  <vapier@gentoo.org>
191
192         * objdump.c (usage): Fix single typo.
193         * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
194         po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
195
196 2011-03-01  Akos Pasztory  <akos.pasztory@gmail.com>
197
198         PR binutils/12523
199         * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
200
201 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
202
203         * debug.c (debug_start_source): Use filename_(n)cmp.
204         * ieee.c (ieee_finish_compilation_unit): Likewise.
205         (ieee_lineno): Likewise.
206         * nlmconv.c (main): Likewise.
207         * objcopy.c (strip_main): Likewise.
208         (copy_main): Likewise.
209         * objdump.c (show_line): Likewise.
210         (dump_reloc_set): Likewise.
211         * srconv.c (main): Likewise.
212         * wrstabs.c (stab_lineno): Likewise.
213
214 2011-02-24  Zachary T Welch  <zwelch@codesourcery.com>
215
216         * readelf.c (decode_arm_unwind): Implement decoding of remaining
217         ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
218
219 2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
220
221         * dwarf.c (read_leb128): Use bfd_vma instead of
222         long type.
223         (dwarf_vmatoa): New helper routine.
224         (process_extended_line_op): Use for adr bfd_vma
225         type and print those typed values via BFD_VMA_FMT
226         or via dwarf_vmatoa for localized prints.
227         (fetch_indirect_string): Adjust offset's type.
228         (decode_location_expression): Adjust argument types
229         and uvalue type.
230         (read_and_display_attr_value): Likewise.
231         (read_and_display_attr): Likewise.
232         (decode_location_expression): Adjust printf format.
233         (process_debug_info): Likewise.
234         (display_debug_lines_raw): Likewise.
235         (display_debug_lines_decoded): Likewise.
236         (display_debug_pubnames): Likewise.
237         (display_debug_loc): Likewise.
238         (display_debug_aranges): Likewise.
239         * dwarf.h (DWARF2_External_LineInfo,
240         DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
241         DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
242         DWARF2_Internal_CompUnit, DWARF2_External_ARange,
243         DWARF2_Internal_ARange): Added..
244         (read_leb128): Adjust return type.
245
246 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
247
248         * configure: Regenerate.
249
250 2011-02-08  Nick Clifton  <nickc@redhat.com>
251
252         PR binutils/12467
253         * readelf.c (process_program_headers): Issue a warning if there
254         are no program headers but the file header has a non-zero program
255         header offset.
256         (process_section_headers): Issue a warning if there are no section
257         headers but the file header has a non-zero section header offset.
258         (process_section_groups): Reword the no section message so that it
259         can be distinguished from the one issued by process_section_headers.
260
261 2011-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
262             Doug Evans  <dje@google.com>
263
264         * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
265
266 2011-01-19  Maciej W. Rozycki  <macro@codesourcery.com>
267
268         * readelf.c (process_object): Free dynamic_section after use.
269
270 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
271
272         PR binutils/12408
273         * readelf.c (process_archive): Free and reset dump_sects
274         after processing each archive member.
275
276 2011-01-11  Andreas Schwab  <schwab@redhat.com>
277
278         * readelf.c (print_symbol): Handle symbol characters as unsigned.
279         Whitespace fixes.
280
281 2011-01-10  Nick Clifton  <nickc@redhat.com>
282
283         * po/da.po: Updated Danish translation.
284
285 2011-01-06  Vladimir Siminov  <sv@sw.ru>
286
287         * bucomm.c (get_file_size): Check for negative sizes and issue a
288         warning message if encountered.
289
290 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
291
292         * version.c (print_version): Update copyright to 2011.
293
294 For older changes see ChangeLog-2010
295 \f
296 Local Variables:
297 mode: change-log
298 left-margin: 8
299 fill-column: 74
300 version-control: never
301 End: