OSDN Git Service

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