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