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