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