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