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