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