* dwarf.c: Remove trailing whitespace throughout file.
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
2
3         * dwarf.c: Remove trailing whitespace throughout file.
4
5 2008-04-04  Nick Clifton  <nickc@redhat.com>
6
7         * po/sk.po: Updated Slovak translation.
8
9 2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
10
11         * dwarf.c (dwarf_regnames_i386): Add AVX registers.
12         (dwarf_regnames_x86_64): Likewise.
13
14 2008-03-27  Cary Coutant <ccoutant@google.com>
15
16         Add support for thin archives.
17         * ar.c (make_thin_archive): New global flag.
18         (map_over_members): Deal with full pathnames in thin archives.
19         (usage, main): Add 'T' option for building thin archives.
20         (replace_members): Pass thin archive flag to ar_emul_append.
21         * arsup.c (ar_open): Initialize new flag.
22         * binemul.c (ar_emul_append): Add new parameter for
23         flattening nested archives.
24         (do_ar_emul_default_append): New function.
25         (ar_emul_default_append): Factored out recursive code.
26         * binutils/binemul.h (ar_emul_default_append): Add new parameter.
27         (struct bin_emulation_xfer_struct): New parameter for ar_append.
28         * dlltool.c (gen_lib_file): Initialize thin archive flag.
29         * emul_aix.c (ar_emul_aix_internal): Add new flatten
30         parameter, currently unimplemented.
31         All callers changed.
32         * objcopy.c (copy_archive): Preserve thin archive flag.
33         * doc/binutils.texi: Update ar documentation.
34         * NEWS: Mention the new feature.
35
36 2008-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37
38         * readelf.c (process_mips_specific): Declare addr_size as int.
39
40 2008-03-20  Richard Sandiford  <rsandifo@nildram.co.uk>
41
42         * readelf.c (print_mips_got_entry): New function.
43         (process_mips_specific): Print GOT information.
44
45 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
46
47         * aclocal.m4: Regenerate.
48         * configure: Likewise.
49         * Makefile.in: Likewise.
50         * doc/Makefile.in: Likewise.
51
52 2008-03-16  Brian Dessent  <brian@dessent.net>
53
54         * rcparse.y (resid): Allow control text to span multiple lines.
55
56 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
57
58         * readelf.c: Use %u throughout when printing sh_link or sh_info,
59         %lu when printing sh_addralign.
60         (process_version_sections): Use identical formats when printing
61         all offset and sh_link fields.
62
63 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
64
65         * Makefile.am: Run "make dep-am".
66         * Makefile.in: Regenerate.
67         * doc/Makefile.in: Regenerate.
68         * configure: Regenerate.
69
70 2008-03-12  Alan Modra  <amodra@bigpond.net.au>
71
72         PR 5900
73         * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
74         Remove use throughout file.
75         (SECTION_HEADER): Likewise.
76         (dump_relocations): Don't adjust st_shndx for reserved range.
77         (process_file_header): Mask SHN_XINDEX to values seen in external
78         elf structs.  Simplify valid section index tests.
79         (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
80         Map reserved st_shndx to internal form.
81         (process_section_groups): Test that group symbol st_shndx is in
82         range, not just non-zero.  Delete reserved range check.
83         (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
84         OS or RSV.
85
86 2008-03-09  Paul Brook  <paul@codesourcery.com>
87
88         * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
89
90 2008-03-03  James E. Wilson  <wilson@tuliptree.org>
91
92         * MAINTAINERS: Update my email address.
93
94 2008-03-03  Nick Clifton  <nickc@redhat.com>
95
96         * dwarf.c (decode_location_expression): Handle
97         DW_OP_PGI_omp_thread_num.
98
99 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
100
101         * objdump.c (objdump_print_addr): Initialise "sym".
102
103 2008-02-27  Justin Pryzby  <justinpryzby@users.sourceforge.net>
104             Nick Clifton  <nickc@redhat.com>
105
106         * ar.c (usage): Mention -t command line switch.
107         * doc/binutils.texi (ranlib): Document -t command line switch.
108
109 2008-02-26  Nick Clifton  <nickc@redhat.com>
110
111         * objdump.c (objdump_print_addr): If displaying file offsets, show
112         the offset even if there are no symbols available.
113         (dump_section): Display nothing if none of the section is going to
114         be dumped.  Display the file offset, if requested, of the location
115         from where the dump starts.
116         * doc/binutils.texi (objdump): Mention that dumping via the -s
117         switch is also affected by the -F option.
118
119 2008-02-26  Nick Clifton  <nickc@redhat.com>
120
121         Re-apply this patch which was accidentally deleted:
122         2006-05-16  Carlos O'Donell  <carlos@codesourcery.com>
123
124         * doc/binutils.texi: Use "Binutils Index" for index name.
125
126 2008-02-22  Nick Clifton  <nickc@redhat.com>
127
128         * objdump.c (display_file_offsets): New variable.
129         (long_options): Add -F/--file-offsets.
130         (objdump_print_addr_with_sym): If displaying file offsets, print
131         the offset of the given address.
132         (disassemble_bytes): If displaying file offsets, tell the user how
133         many zeroes are skipped and the file offset of the point where
134         dumping resumes.
135         (disassemble_section): Only display the name of the section if
136         data is going to be dumped from it.
137         (main): Handle new option.  Produce error messages if the start or
138         stop addresses do not make sense.
139         * doc/binutils.texi: Document the new feature.
140         * NEWS: Mention the new feature.
141
142 2008-02-15  Chu Li  <chul@cn.fujitsu.com>
143             Nick Clifton  <nickc@redhat.com>
144
145         PR binutils/5713
146         * strings.c (integer_arg): Delete function.
147         (string_min): Initialise to 4.
148         (main): Use strtoul to parse integer arguments.
149         Move check for an invalid string length to after all the arguments
150         have been parsed.
151         (usage): Use indentation to indicate that -<n> is a another form
152         of the --bytes= command line option.
153
154 2008-02-12  Nick Clifton  <nickc@redhat.com>
155
156         * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
157         the argument.
158         (scan_obj_filename): Do not drop the const qualifier when calling
159         mcore_elf_cache_filename.
160         (struct fname_cache): Add const qualifier to filename field.
161
162 2008-02-08  H.J. Lu  <hongjiu.lu@intel.com>
163
164         PR binutils/5713
165         * strings.c (main): Set string_min to 4 if it is <= 0.
166
167 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
168
169         * objdump.c (main): Don't pass unadorned NULL to concat.
170
171 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
172
173         PR 5715
174         * configure: Regenerated.
175
176 2008-02-03  Adam Nemet  <anemet@caviumnetworks.com>
177
178         * readelf.c (get_machine_flags): Handle Octeon.
179
180 2008-01-30  Tristan Gingold  <gingold@adacore.com>
181
182         * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
183         (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
184         (get_dynamic_type): Handle IA64-specific tags.
185         (get_ia64_section_type_name): Handle OpenVMS-specific sections.
186         (get_section_type_name): Handle OS-specific sections (and
187         particularly IA64 OpenVMS one).
188         (get_elf_section_flags): Makes flags static.  Add entries for IA64 and
189         decode them.
190
191 2008-01-29  Nick Clifton  <nickc@redhat.com>
192
193         * dwarf.c (print_dwarf_vma): New function.  Display the value of a
194         dwarf_vma type at a specified precision.  Use mingw field type
195         specifier if necessary.
196         (display_debug_loc): Use dwarf_vma type for begin and end values.
197         Use print_dwarf_vma to display their values.  Use byte_get_signed
198         in order to correctly detect the -1 escape value.
199         (display_debug_aranges): Likewise.
200         (display_debug_ranges): Likewise.
201
202 2008-01-29  Alan Modra  <amodra@bigpond.net.au>
203
204         * dwarf.c (display_debug_loc): Correct test for base address
205         entry when 64-bit host dumping 32-bit object.
206
207 2008-01-29  Alan Modra  <amodra@bigpond.net.au>
208
209         * MAINTAINERS: Remove myself as ix86 maintainer.  Add for SPU.
210
211 2008-01-28  Nick Clifton  <nickc@redhat.com>
212
213         PR binutils/5529
214         * rclex.c (yylex): Also allow the hypen character.
215
216 2008-01-28  H.J. Lu  <hongjiu.lu@intel.com>
217
218         * dwarf.c: Include "elf/common.h".
219         (eh_addr_size): Changed to int.
220         (dwarf_regnames_i386): New.
221         (dwarf_regnames_x86_64): Likewise.
222         (dwarf_regnames): Likewise.
223         (dwarf_regnames_count): Likewise.
224         (init_dwarf_regnames): Likewise.
225         (regname): Likewise.
226         (frame_display_row): Properly support different address size.
227         Call regname to get register name.
228         (display_debug_frames): Call regname to get register name.
229         Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
230         instead of DW_CFA_def_cfa_reg.
231
232         * dwarf.h (init_dwarf_regnames): New.
233
234         * objdump.c: Include "elf-bfd.h".
235         (dump_dwarf): Call init_dwarf_regnames on ELF input.
236
237         * readelf.c (guess_is_rela): Change argument to int.
238         (parse_args): Remove the undocumented upper case options for
239         -wX.
240         (process_file_header): Call init_dwarf_regnames.
241
242 2008-01-25  DJ Delorie  <dj@redhat.com>
243
244         * readelf.c (process_section_headers): Add m16c handler.
245         (is_16bit_abs_reloc): Recognize R_M32C_16.
246
247 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
248
249         * prdbg.c: Correct formatter style use.
250         * readelf.c: Likewise.
251         * strings.c: Likewise.
252
253 2008-01-25  Nick Clifton  <nickc@redhat.com>
254
255         * po/ru.po: Updated Russian translation.
256
257 2008-01-17  H.J. Lu  <hjl.tools@gmail.com>
258
259         * MAINTAINERS: Update my email address.
260
261 2008-01-14  Nick Clifton  <nickc@redhat.com>
262
263         * dwarf.c (process_debug_info): Include the CU offset and corrupt
264         version value when reporting unrecognised DWARF version numbers.
265         (load_debug_info): Remember a failed attempt to load and parse the
266         .debug_info section and do not repeat such attempts.
267         (display_debug_lines): Check the return value from load_debug_info
268         and return whilst displaying a warning message if the load failed.
269         (display_debug_loc): Likewise.
270         (display_debug_ranges): Likewise.
271         (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
272         when the .debug_info section could not be loaded/parsed.
273         (process_debug_info): Display the length of the compilation unit
274         in hex, so that it corresponds with the offsets that will follow.
275         Tell the user if the length was 32-bit or 64-bit.
276         If a DIE abbreviation could not be found, tell the user the offset
277         of the DIE.
278         (free_debug_memory): Do not attempt to free any entries in the
279         debug_information array if num_debug_info_entries is set to
280         DEBUG_INFO_UNAVAILABLE.
281
282 2008-01-10  Andreas Schwab  <schwab@suse.de>
283
284         * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
285
286 2008-01-09  Jakub Zawadzki  <darkjames@darkjames.ath.cx>
287
288         PR binutils/55326
289         * bucomm.c (list_supported_architectures): Free architecture list
290         after use.
291         * windres.c (set_endianess): Likewise.
292         * windmc.c (set_endianess): Likewise.
293
294 2008-01-08  Kai Tietz  <kai.tietz@onevision.com>
295
296         PR binutils/5529
297         * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
298         characters for name tokens.
299
300 2008-01-04  Greg McGary  <greg@mcgary.org>
301
302         * prdbg.c (print_vma): Print as long long, if host supports it.
303
304 2008-01-03  Nick Clifton  <nickc@redhat.com>
305
306         * dwarf.c (read_and_display_attr_value): Prefix values that are
307         displayed in hexadecimal with 0x.
308         For the DW_AT_import attribute display the abbreviation number and
309         tag of the imported DIE.
310         (process_debug_info): Warn about lengths that reserved by the
311         DWARF3 specification.
312         Provide more information when corrupted DIEs are detected.
313         Warn if DIE corruption makes the sibling level negative.
314
315 For older changes see ChangeLog-2007
316 \f
317 Local Variables:
318 mode: change-log
319 left-margin: 8
320 fill-column: 74
321 version-control: never
322 End: