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