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