* ar.c (usage): Mention -t command line switch.
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2008-02-27  Justin Pryzby  <justinpryzby@users.sourceforge.net>
2             Nick Clifton  <nickc@redhat.com>
3
4         * ar.c (usage): Mention -t command line switch.
5         * doc/binutils.texi (ranlib): Document -t command line switch.
6
7 2008-02-26  Nick Clifton  <nickc@redhat.com>
8
9         * objdump.c (objdump_print_addr): If displaying file offsets, show
10         the offset even if there are no symbols available.
11         (dump_section): Display nothing if none of the section is going to
12         be dumped.  Display the file offset, if requested, of the location
13         from where the dump starts.
14         * doc/binutils.texi (objdump): Mention that dumping via the -s
15         switch is also affected by the -F option.
16
17 2008-02-26  Nick Clifton  <nickc@redhat.com>
18
19         Re-apply this patch which was accidentally deleted:
20         2006-05-16  Carlos O'Donell  <carlos@codesourcery.com>
21
22         * doc/binutils.texi: Use "Binutils Index" for index name.
23
24 2008-02-22  Nick Clifton  <nickc@redhat.com>
25
26         * objdump.c (display_file_offsets): New variable.
27         (long_options): Add -F/--file-offsets.
28         (objdump_print_addr_with_sym): If displaying file offsets, print
29         the offset of the given address.
30         (disassemble_bytes): If displaying file offsets, tell the user how
31         many zeroes are skipped and the file offset of the point where
32         dumping resumes.
33         (disassemble_section): Only display the name of the section if
34         data is going to be dumped from it.
35         (main): Handle new option.  Produce error messages if the start or
36         stop addresses do not make sense.
37         * doc/binutils.texi: Document the new feature.
38         * NEWS: Mention the new feature.
39
40 2008-02-15  Chu Li  <chul@cn.fujitsu.com>
41             Nick Clifton  <nickc@redhat.com>
42
43         PR binutils/5713
44         * strings.c (integer_arg): Delete function.
45         (string_min): Initialise to 4.
46         (main): Use strtoul to parse integer arguments.
47         Move check for an invalid string length to after all the arguments
48         have been parsed.
49         (usage): Use indentation to indicate that -<n> is a another form
50         of the --bytes= command line option.
51
52 2008-02-12  Nick Clifton  <nickc@redhat.com>
53
54         * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
55         the argument.
56         (scan_obj_filename): Do not drop the const qualifier when calling
57         mcore_elf_cache_filename.
58         (struct fname_cache): Add const qualifier to filename field.
59
60 2008-02-08  H.J. Lu  <hongjiu.lu@intel.com>
61
62         PR binutils/5713
63         * strings.c (main): Set string_min to 4 if it is <= 0.
64
65 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
66
67         * objdump.c (main): Don't pass unadorned NULL to concat.
68
69 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
70
71         PR 5715
72         * configure: Regenerated.
73
74 2008-02-03  Adam Nemet  <anemet@caviumnetworks.com>
75
76         * readelf.c (get_machine_flags): Handle Octeon.
77
78 2008-01-30  Tristan Gingold  <gingold@adacore.com>
79
80         * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
81         (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
82         (get_dynamic_type): Handle IA64-specific tags.
83         (get_ia64_section_type_name): Handle OpenVMS-specific sections.
84         (get_section_type_name): Handle OS-specific sections (and
85         particularly IA64 OpenVMS one).
86         (get_elf_section_flags): Makes flags static.  Add entries for IA64 and
87         decode them.
88
89 2008-01-29  Nick Clifton  <nickc@redhat.com>
90
91         * dwarf.c (print_dwarf_vma): New function.  Display the value of a
92         dwarf_vma type at a specified precision.  Use mingw field type
93         specifier if necessary.
94         (display_debug_loc): Use dwarf_vma type for begin and end values.
95         Use print_dwarf_vma to display their values.  Use byte_get_signed
96         in order to correctly detect the -1 escape value.
97         (display_debug_aranges): Likewise.
98         (display_debug_ranges): Likewise.
99
100 2008-01-29  Alan Modra  <amodra@bigpond.net.au>
101
102         * dwarf.c (display_debug_loc): Correct test for base address
103         entry when 64-bit host dumping 32-bit object.
104
105 2008-01-29  Alan Modra  <amodra@bigpond.net.au>
106
107         * MAINTAINERS: Remove myself as ix86 maintainer.  Add for SPU.
108
109 2008-01-28  Nick Clifton  <nickc@redhat.com>
110
111         PR binutils/5529
112         * rclex.c (yylex): Also allow the hypen character.
113
114 2008-01-28  H.J. Lu  <hongjiu.lu@intel.com>
115
116         * dwarf.c: Include "elf/common.h".
117         (eh_addr_size): Changed to int.
118         (dwarf_regnames_i386): New.
119         (dwarf_regnames_x86_64): Likewise.
120         (dwarf_regnames): Likewise.
121         (dwarf_regnames_count): Likewise.
122         (init_dwarf_regnames): Likewise.
123         (regname): Likewise.
124         (frame_display_row): Properly support different address size.
125         Call regname to get register name.
126         (display_debug_frames): Call regname to get register name.
127         Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
128         instead of DW_CFA_def_cfa_reg.
129
130         * dwarf.h (init_dwarf_regnames): New.
131
132         * objdump.c: Include "elf-bfd.h".
133         (dump_dwarf): Call init_dwarf_regnames on ELF input.
134
135         * readelf.c (guess_is_rela): Change argument to int.
136         (parse_args): Remove the undocumented upper case options for
137         -wX.
138         (process_file_header): Call init_dwarf_regnames.
139
140 2008-01-25  DJ Delorie  <dj@redhat.com>
141
142         * readelf.c (process_section_headers): Add m16c handler.
143         (is_16bit_abs_reloc): Recognize R_M32C_16.
144
145 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
146
147         * prdbg.c: Correct formatter style use.
148         * readelf.c: Likewise.
149         * strings.c: Likewise.
150
151 2008-01-25  Nick Clifton  <nickc@redhat.com>
152
153         * po/ru.po: Updated Russian translation.
154
155 2008-01-17  H.J. Lu  <hjl.tools@gmail.com>
156
157         * MAINTAINERS: Update my email address.
158
159 2008-01-14  Nick Clifton  <nickc@redhat.com>
160
161         * dwarf.c (process_debug_info): Include the CU offset and corrupt
162         version value when reporting unrecognised DWARF version numbers.
163         (load_debug_info): Remember a failed attempt to load and parse the
164         .debug_info section and do not repeat such attempts.
165         (display_debug_lines): Check the return value from load_debug_info
166         and return whilst displaying a warning message if the load failed.
167         (display_debug_loc): Likewise.
168         (display_debug_ranges): Likewise.
169         (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
170         when the .debug_info section could not be loaded/parsed.
171         (process_debug_info): Display the length of the compilation unit
172         in hex, so that it corresponds with the offsets that will follow.
173         Tell the user if the length was 32-bit or 64-bit.
174         If a DIE abbreviation could not be found, tell the user the offset
175         of the DIE.
176         (free_debug_memory): Do not attempt to free any entries in the
177         debug_information array if num_debug_info_entries is set to
178         DEBUG_INFO_UNAVAILABLE.
179
180 2008-01-10  Andreas Schwab  <schwab@suse.de>
181
182         * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
183
184 2008-01-09  Jakub Zawadzki  <darkjames@darkjames.ath.cx>
185
186         PR binutils/55326
187         * bucomm.c (list_supported_architectures): Free architecture list
188         after use.
189         * windres.c (set_endianess): Likewise.
190         * windmc.c (set_endianess): Likewise.
191
192 2008-01-08  Kai Tietz  <kai.tietz@onevision.com>
193
194         PR binutils/5529
195         * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
196         characters for name tokens.
197
198 2008-01-04  Greg McGary  <greg@mcgary.org>
199
200         * prdbg.c (print_vma): Print as long long, if host supports it.
201
202 2008-01-03  Nick Clifton  <nickc@redhat.com>
203
204         * dwarf.c (read_and_display_attr_value): Prefix values that are
205         displayed in hexadecimal with 0x.
206         For the DW_AT_import attribute display the abbreviation number and
207         tag of the imported DIE.
208         (process_debug_info): Warn about lengths that reserved by the
209         DWARF3 specification.
210         Provide more information when corrupted DIEs are detected.
211         Warn if DIE corruption makes the sibling level negative.
212
213 For older changes see ChangeLog-2007
214 \f
215 Local Variables:
216 mode: change-log
217 left-margin: 8
218 fill-column: 74
219 version-control: never
220 End: