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