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