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