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