* objdump.c (objdump_print_addr): Initialise "sym".
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
d253b654
AM
12008-03-01 Alan Modra <amodra@bigpond.net.au>
2
3 * objdump.c (objdump_print_addr): Initialise "sym".
4
20c0b65d
NC
52008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
6 Nick Clifton <nickc@redhat.com>
7
8 * ar.c (usage): Mention -t command line switch.
9 * doc/binutils.texi (ranlib): Document -t command line switch.
10
32760852
NC
112008-02-26 Nick Clifton <nickc@redhat.com>
12
13 * objdump.c (objdump_print_addr): If displaying file offsets, show
14 the offset even if there are no symbols available.
15 (dump_section): Display nothing if none of the section is going to
16 be dumped. Display the file offset, if requested, of the location
17 from where the dump starts.
18 * doc/binutils.texi (objdump): Mention that dumping via the -s
19 switch is also affected by the -F option.
20
fa0d8a3e
NC
212008-02-26 Nick Clifton <nickc@redhat.com>
22
23 Re-apply this patch which was accidentally deleted:
24 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
25
26 * doc/binutils.texi: Use "Binutils Index" for index name.
27
98ec6e72
NC
282008-02-22 Nick Clifton <nickc@redhat.com>
29
30 * objdump.c (display_file_offsets): New variable.
31 (long_options): Add -F/--file-offsets.
32 (objdump_print_addr_with_sym): If displaying file offsets, print
33 the offset of the given address.
34 (disassemble_bytes): If displaying file offsets, tell the user how
35 many zeroes are skipped and the file offset of the point where
36 dumping resumes.
37 (disassemble_section): Only display the name of the section if
38 data is going to be dumped from it.
39 (main): Handle new option. Produce error messages if the start or
40 stop addresses do not make sense.
41 * doc/binutils.texi: Document the new feature.
42 * NEWS: Mention the new feature.
43
7cefd12b
NC
442008-02-15 Chu Li <chul@cn.fujitsu.com>
45 Nick Clifton <nickc@redhat.com>
c904a764
NC
46
47 PR binutils/5713
48 * strings.c (integer_arg): Delete function.
49 (string_min): Initialise to 4.
50 (main): Use strtoul to parse integer arguments.
51 Move check for an invalid string length to after all the arguments
52 have been parsed.
53 (usage): Use indentation to indicate that -<n> is a another form
54 of the --bytes= command line option.
55
fd64a958
NC
562008-02-12 Nick Clifton <nickc@redhat.com>
57
58 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
59 the argument.
60 (scan_obj_filename): Do not drop the const qualifier when calling
61 mcore_elf_cache_filename.
62 (struct fname_cache): Add const qualifier to filename field.
63
d51c3015
L
642008-02-08 H.J. Lu <hongjiu.lu@intel.com>
65
66 PR binutils/5713
67 * strings.c (main): Set string_min to 4 if it is <= 0.
68
ee832e18
AM
692008-02-07 Alan Modra <amodra@bigpond.net.au>
70
71 * objdump.c (main): Don't pass unadorned NULL to concat.
72
bb8541b9
L
732008-02-04 H.J. Lu <hongjiu.lu@intel.com>
74
75 PR 5715
76 * configure: Regenerated.
77
05c6f050
AN
782008-02-03 Adam Nemet <anemet@caviumnetworks.com>
79
80 * readelf.c (get_machine_flags): Handle Octeon.
81
148b93f2
NC
822008-01-30 Tristan Gingold <gingold@adacore.com>
83
84 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
85 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
86 (get_dynamic_type): Handle IA64-specific tags.
87 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
88 (get_section_type_name): Handle OS-specific sections (and
89 particularly IA64 OpenVMS one).
90 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
91 decode them.
92
2d9472a2
NC
932008-01-29 Nick Clifton <nickc@redhat.com>
94
95 * dwarf.c (print_dwarf_vma): New function. Display the value of a
2e14fae2 96 dwarf_vma type at a specified precision. Use mingw field type
68e08bce 97 specifier if necessary.
2d9472a2
NC
98 (display_debug_loc): Use dwarf_vma type for begin and end values.
99 Use print_dwarf_vma to display their values. Use byte_get_signed
100 in order to correctly detect the -1 escape value.
101 (display_debug_aranges): Likewise.
102 (display_debug_ranges): Likewise.
103
fefffff8
AM
1042008-01-29 Alan Modra <amodra@bigpond.net.au>
105
106 * dwarf.c (display_debug_loc): Correct test for base address
107 entry when 64-bit host dumping 32-bit object.
108
ccdb9c9f
AM
1092008-01-29 Alan Modra <amodra@bigpond.net.au>
110
111 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
112
e36ea2de
NC
1132008-01-28 Nick Clifton <nickc@redhat.com>
114
115 PR binutils/5529
116 * rclex.c (yylex): Also allow the hypen character.
117
2dc4cec1
L
1182008-01-28 H.J. Lu <hongjiu.lu@intel.com>
119
120 * dwarf.c: Include "elf/common.h".
121 (eh_addr_size): Changed to int.
122 (dwarf_regnames_i386): New.
123 (dwarf_regnames_x86_64): Likewise.
124 (dwarf_regnames): Likewise.
125 (dwarf_regnames_count): Likewise.
126 (init_dwarf_regnames): Likewise.
127 (regname): Likewise.
128 (frame_display_row): Properly support different address size.
129 Call regname to get register name.
130 (display_debug_frames): Call regname to get register name.
131 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
132 instead of DW_CFA_def_cfa_reg.
133
134 * dwarf.h (init_dwarf_regnames): New.
135
136 * objdump.c: Include "elf-bfd.h".
137 (dump_dwarf): Call init_dwarf_regnames on ELF input.
138
139 * readelf.c (guess_is_rela): Change argument to int.
140 (parse_args): Remove the undocumented upper case options for
141 -wX.
a65c77b9 142 (process_file_header): Call init_dwarf_regnames.
2dc4cec1 143
f4236fe4
DD
1442008-01-25 DJ Delorie <dj@redhat.com>
145
146 * readelf.c (process_section_headers): Add m16c handler.
147 (is_16bit_abs_reloc): Recognize R_M32C_16.
148
6e3d6dc1
NC
1492008-01-25 Kai Tietz <kai.tietz@onevision.com>
150
151 * prdbg.c: Correct formatter style use.
152 * readelf.c: Likewise.
153 * strings.c: Likewise.
154
5ca3b13d
NC
1552008-01-25 Nick Clifton <nickc@redhat.com>
156
157 * po/ru.po: Updated Russian translation.
158
fabda5a7
L
1592008-01-17 H.J. Lu <hjl.tools@gmail.com>
160
161 * MAINTAINERS: Update my email address.
162
1febe64d
NC
1632008-01-14 Nick Clifton <nickc@redhat.com>
164
165 * dwarf.c (process_debug_info): Include the CU offset and corrupt
166 version value when reporting unrecognised DWARF version numbers.
167 (load_debug_info): Remember a failed attempt to load and parse the
168 .debug_info section and do not repeat such attempts.
169 (display_debug_lines): Check the return value from load_debug_info
170 and return whilst displaying a warning message if the load failed.
171 (display_debug_loc): Likewise.
172 (display_debug_ranges): Likewise.
cc86f28f
NC
173 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
174 when the .debug_info section could not be loaded/parsed.
175 (process_debug_info): Display the length of the compilation unit
176 in hex, so that it corresponds with the offsets that will follow.
177 Tell the user if the length was 32-bit or 64-bit.
178 If a DIE abbreviation could not be found, tell the user the offset
179 of the DIE.
180 (free_debug_memory): Do not attempt to free any entries in the
181 debug_information array if num_debug_info_entries is set to
182 DEBUG_INFO_UNAVAILABLE.
1febe64d 183
e819ade1
AS
1842008-01-10 Andreas Schwab <schwab@suse.de>
185
186 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
187
d25576aa
NC
1882008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
189
190 PR binutils/55326
191 * bucomm.c (list_supported_architectures): Free architecture list
192 after use.
193 * windres.c (set_endianess): Likewise.
194 * windmc.c (set_endianess): Likewise.
195
aeafac0c
KT
1962008-01-08 Kai Tietz <kai.tietz@onevision.com>
197
e36ea2de 198 PR binutils/5529
aeafac0c 199 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
e36ea2de 200 characters for name tokens.
aeafac0c 201
3c75e4f8
GM
2022008-01-04 Greg McGary <greg@mcgary.org>
203
204 * prdbg.c (print_vma): Print as long long, if host supports it.
205
ec4d4525
NC
2062008-01-03 Nick Clifton <nickc@redhat.com>
207
208 * dwarf.c (read_and_display_attr_value): Prefix values that are
209 displayed in hexadecimal with 0x.
210 For the DW_AT_import attribute display the abbreviation number and
211 tag of the imported DIE.
212 (process_debug_info): Warn about lengths that reserved by the
213 DWARF3 specification.
214 Provide more information when corrupted DIEs are detected.
215 Warn if DIE corruption makes the sibling level negative.
216
6c7ac64e 217For older changes see ChangeLog-2007
252b5132
RH
218\f
219Local Variables:
220mode: change-log
221left-margin: 8
222fill-column: 74
223version-control: never
224End:
This page took 0.3566 seconds and 4 git commands to generate.