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