* objdump.c (disassemble_section): If the computed next offset is
[binutils-gdb.git] / binutils / ChangeLog
1 2009-03-05 Nick Clifton <nickc@redhat.com>
2
3 * objdump.c (disassemble_section): If the computed next offset is
4 not beyond the current offset then just continue to the end.
5
6 2009-03-04 Tristan Gingold <gingold@adacore.com>
7
8 * MAINTAINERS: Add myself as VMS maintainer.
9
10 2009-03-03 Nick Clifton <nickc@redhat.com>
11
12 * readelf.c: Update formatting.
13
14 2009-03-03 Alan Modra <amodra@bigpond.net.au>
15
16 * Makefile.am: Run "make dep-am".
17 * Makefile.in: Regenerate.
18
19 2009-03-03 Alan Modra <amodra@bigpond.net.au>
20
21 * objdump.c (disassemble_section): Mask address before sign extending.
22
23 2009-03-02 Sebastian Biallas <sb@biallas.net>
24
25 * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
26 (parse_ieee_bb): Set the filename if it has not already been
27 discovered.
28
29 2009-03-02 Cary Coutant <ccoutant@google.com>
30
31 * readelf.c (adjust_relative_path): New function.
32 (struct archive_info): New type.
33 (setup_archive): New function.
34 (release_archive): New function.
35 (setup_nested_archive): New function.
36 (get_archive_member_name): New function.
37 (get_archive_member_name_at): New function.
38 (make_qualified_name): New function.
39 (process_archive): Factor out code for reading archive index and
40 long filename table to setup_archive. Add support for thin archives.
41
42 2009-03-02 Nick Clifton <nickc@redhat.com>
43
44 * po/sk.po: Updated Slovak translation.
45
46 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
47
48 * configure: Regenerate.
49
50 2009-02-23 Cary Coutant <ccoutant@google.com>
51
52 * objdump.c (load_specific_debug_section): New function, from
53 load_debug_section.
54 (load_debug_section): Use load_specific_debug_section.
55 (dump_dwarf_section): Likewise.
56
57 2009-02-23 Cary Coutant <ccoutant@google.com>
58
59 * readelf.c (parse_args): Select all sections explicitly for -w.
60
61 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
62
63 * windres.c (set_endianess): Copy name without leading '-'.
64
65 2009-02-09 Tristan Gingold <gingold@adacore.com>
66
67 * NEWS: Mention feature match between objdump and readelf for dumping
68 dwarf info.
69
70 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
71 objdump.
72
73 * objdump.c (usage): Update documentation for -W/--dwarf.
74 (enum option_values): Add OPTION_DWARF.
75 (long_options): --dwarf can accept arguments.
76 (dump_dwarf_section): Also check enabled field.
77 (main): Option -W can accept arguments, code moved to
78 dwarf.c and call dwarf_select_sections_all instead.
79 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
80 (parse_args): Move code to...
81 * dwarf.c (dwarf_select_sections_by_letters,
82 dwarf_select_sections_by_names): : ...here (new functions).
83 (do_debug_lines_decoded): Remove and replaced by ...
84 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
85 (display_debug_lines): Adjust for previous change.
86 (dwarf_select_sections_all): New function.
87 (debug_displays): Add initializer for enabled field.
88 * dwarf.h (do_debug_lines_decoded): Remove.
89 Add prototypes for the new functions.
90 (struct dwarf_section_display): Add enabled field.
91
92 2009-02-06 Nick Clifton <nickc@redhat.com>
93
94 * po/vi.po: Updated Vietnamese translation.
95
96 2009-02-03 Sandip Matte <sandip@rmicorp.com>
97
98 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
99
100 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
101
102 * NEWS: Move --as-needed change to ...
103 * ../ld/NEWS: Here.
104
105 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
106
107 * configure.in: AC_SUBST pdfdir.
108 * Makefile.am: Add install-pdf, install-pdf-am,
109 and install-pdf-recursive targets.
110 * doc/Makefile.am: Define pdf__strip_dir. Add
111 install-pdf and install-pdf-am targets.
112 * po/Make-in: Add install-pdf target.
113 * configure: Regenerate.
114 * Makefile.in: Regenerate.
115 * doc/Makefile.in: Regenerate.
116
117 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
118
119 PR binutils/9784
120 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
121
122 * doc/binutils.texi: Document --prefix=PREFIX and
123 --prefix-strip=LEVEL.
124
125 * objdump.c: Include "filenames.h".
126 (prefix): New.
127 (prefix_strip): Likewise.
128 (prefix_length): Likewise.
129 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
130 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
131 (long_options): Likewise.
132 (show_line): Handle prefix and prefix_strip.
133 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
134
135 * readelf.c (PATH_MAX): Moved to ...
136 * sysdep.h: Here.
137
138 2009-01-31 Alan Modra <amodra@bigpond.net.au>
139
140 * NEWS: Mention --as-needed change.
141
142 2009-01-29 Alan Modra <amodra@bigpond.net.au>
143
144 PR 9798
145 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
146 (bfd_get_archive_filename): Constify param.
147 * bucomm.h (bfd_get_archive_filename): Update prototype.
148 * objcopy.c (RETURN_NONFATAL): Delete.
149 (copy_unknown_object): Don't call bfd_get_archive_filename for
150 bfd_nonfatal_message filename, instead just pass bfd.
151 (copy_object): Likewise.
152 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
153 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
154 (setup_bfd_headers): Fix error message.
155
156 2009-01-27 Nick Clifton <nickc@redhat.com>
157
158 PR 9774
159 * objdump.c (disassemble_section): When the target uses signed
160 addresses make sure that we compute signed values.
161
162 2009-01-27 Nick Clifton <nickc@redhat.com>
163
164 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
165 maintainers.
166
167 2009-01-26 Nick Clifton <nickc@redhat.com>
168
169 PR 9766
170 * dlltool.c (xlate): When strip text after the @ sign, look for
171 the last one not the first one.
172
173 2009-01-16 Alan Modra <amodra@bigpond.net.au>
174
175 * configure.in (commonbfdlib): Delete.
176 * configure: Regenerate.
177
178 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
179
180 Cleanup code related to --identify option.
181
182 * binutils/dlltool.c (file scope): Removed globals identify_ms,
183 identify_member_contains_symname_result,
184 identify_dll_name_list_head, and identify_dll_name_list_tail.
185 Renamed existing typedef dll_name_list_type to
186 dll_name_list_node_type.
187 Added new typedefs dll_name_list_type, symname_search_data_type,
188 and identify_data_type.
189 (identify_append_dll_name_to_list): Renamed to...
190 (dll_name_list_append): ...here. Changed signature to accept list
191 argument rather than use global.
192 (identify_count_dll_name_list): Renamed to...
193 (dll_name_list_count): ...here. Changed signature to accept list
194 argument rather than use global.
195 (identify_print_dll_name_list): Renamed to...
196 (dll_name_list_print): ...here. Changed signature to accept list
197 argument rather than use global.
198 (identify_free_dll_name_list): Renamed to...
199 (dll_name_list_free_contents): ...here.
200 (dll_name_list_free): New function.
201 (dll_name_list_create): New function.
202 (identify_process_section_p): Changed signature to accept
203 ms_style_implib argument rather than use global.
204 (identify_member_contains_symname): Expect incoming void * data to
205 be symname_search_data_type.
206 (identify_dll_for_implib): Use new functions dll_name_list_create
207 and dll_name_list_free. Use new types symname_search_data_type
208 and identify_data_type to communicate with search routines.
209 (identify_search_section): Expect incoming void * data to be
210 identify_data_type. Use its contents rather than global
211 variables.
212
213 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
214
215 Add --identify-strict option. Handle ms-style implibs:
216
217 * dlltool.c (file scope): Added new globals identify_ms and
218 identify_strict. New typedef dll_name_list_type, and globals
219 identify_dll_name_list_head and identify_dll_name_list_tail. Added
220 new global identify_member_contains_symname_result.
221 (identify_append_dll_name_to_list): New function.
222 (identify_count_dll_name_list): New function.
223 (identify_print_dll_name_list): New function.
224 (identify_free_dll_name_list): New function.
225 (identify_search_archive): Changed signature to take function
226 pointer to operation to apply to each member, and data to pass on
227 to that function.
228 (identify_search_member): Changed signature to accept user data
229 from caller.
230 (identify_member_contains_symname): New function.
231 (identify_dll_for_implib): Rewrite. Now determines whether implib
232 is ms- or binutils- style, before searching sections for
233 dllname. Allows multiple dllnames.
234 (identify_process_section_p): Search alternate section for dllname
235 when implib is ms-style.
236 (identify_search_section): Add additional conditions to excludes
237 candidate sections from consideration.
238 (usage): Added --identify-strict.
239 (long_options): Added --identify-strict.
240 (main): Handle --identify-strict option.
241 * doc/binutils.texi: Document --identify-strict option.
242 * NEWS: Document --identify and --identify-strict options.
243
244 2009-01-13 Alan Modra <amodra@bigpond.net.au>
245
246 PR 7034
247 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
248
249 2009-01-13 Alan Modra <amodra@bigpond.net.au>
250
251 * objdump.c (disassemble_section): Don't assume non-instruction
252 data if object symbol at given address is in different section.
253
254 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
255
256 * dlltool.c (create_for_pep): New.
257 (flush_page): Use create_for_pep instead of using
258 macro DLLTOOL_MX86_64 clause.
259 (generate_idata_ofile): Likewise.
260 (make_one_lib_file): Likewise.
261 (make_head): Likewise.
262 (make_tail): Likewise.
263 (main): Initialize create_for_pep.
264
265 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
266
267 * dlltool.c (use_nul_prefixed_import_tables): New.
268 (make_head): Make prefix leading zero prefix element for
269 idata$4 and idata$5 dependent to new flag.
270 (usage): Add new option --use-nul-prefixed-import-tables.
271 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
272 (long_options): Add --use-nul-prefixed-import-tables.
273 (main): Likewise.
274 * doc/binutils.texi: Add new option documentation for
275 --use-nul-prefixed-import-tables.
276 * NEWS: Add new option.
277
278 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
279
280 * windres.c (set_endianess): Get architecture name
281 for internal target names like "pe-arm-wince-little".
282 (find_arch_match): New helper.
283 * ChangeLog: Reset it.
284 * ChangeLog-2008: Moved old ChangeLog.
285
286 For older changes see ChangeLog-2008
287 \f
288 Local Variables:
289 mode: change-log
290 left-margin: 8
291 fill-column: 74
292 version-control: never
293 End: