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