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