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