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