OSDN Git Service

bfd/
[pf3gnuchains/pf3gnuchains3x.git] / binutils / ChangeLog
1 2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * objcopy.c (copy_object): Copy pe_opthdr before changing PE
4         parameters.
5
6 2009-04-24  Cary Coutant  <ccoutant@google.com>
7
8         * dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
9         Add missing newlines to HP extensions.
10
11 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
12
13         * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
14         * doc/binutils.texi: Likewise.
15
16 2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
17
18         PR binutils/10074
19         * objcopy.c: Include coff/i386.h and coff/pe.h.
20         (pe_file_alignment): New.
21         (pe_heap_commit): Likewise.
22         (pe_heap_reserve): Likewise.
23         (pe_image_base): Likewise.
24         (pe_section_alignment): Likewise.
25         (pe_stack_commit): Likewise.
26         (pe_stack_reserve): Likewise.
27         (pe_subsystem): Likewise.
28         (pe_major_subsystem_version): Likewise.
29         (pe_minor_subsystem_version): Likewise.
30         (set_pe_subsystem): Likewise.
31         (convert_efi_target): Likewise.
32         (command_line_switch): Add OPTION_FILE_ALIGNMENT,
33         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
34         OPTION_STACK and OPTION_SUBSYSTEM.
35         (copy_options): Likewise.
36         (copy_usage): Add --file-alignment, --heap, --image-base,
37         --section-alignment, --stack and --subsystem.
38         (copy_object): Set up PE parameters.
39         (copy_main): Process Add OPTION_FILE_ALIGNMENT,
40         OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
41         OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
42         PEI target.
43
44         * NEWS: Mention --file-alignment, --heap, --image-base,
45         --section-alignment, --stack and --subsystem command line
46         options for objcopy.
47
48         * doc/binutils.texi: Document --file-alignment, --heap,
49         --image-base, --section-alignment, --stack and --subsystem
50         command line options for objcopy.
51
52 2009-04-15  Anthony Green  <green@moxielogic.com>
53
54         * MAINTAINERS: Add myself as Moxie port maintainer.
55
56 2009-04-14  Dave Korn  <dave.korn.cygwin@gmail.com>
57
58         * objcopy.c (enum long_section_name_handling):  New enum type.
59         (enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
60         (copy_options[]):  Add entry for --long-section-names option.
61         (copy_usage):  Document it.
62         (set_long_section_mode):  New subroutine.
63         (copy_file):  Call it.
64         (copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
65         * doc/binutils.texi:  Update objcopy documentation with details
66         of new option.
67
68 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
69
70         * dlltool.c (set_dll_name_from_def):  Accept new second arg that
71         indicates if we are building DLL or EXE, and use it to add a
72         default suffix to the output filename when none is already present.
73         (def_name):  Indicate we are building an EXE when calling it.
74         (def_library):  Indicate we are building a DLL when calling it.
75
76 2009-04-01  Jari Aalto  <jari.aalto@cante.net>
77
78         PR 9972
79         * doc/binutils.texi (strings): Document the -V alias for the
80         --version option.
81         * strings.c (usage): Likewise.
82
83 2009-03-31  Nick Clifton  <nickc@redhat.com>
84
85         PR 9992
86         * configure.in: Import Solaris specific largefile test from
87         bfd/configure.in.
88         * configure: Regenerate.
89
90 2009-03-30  Richard Sandiford  <rdsandiford@googlemail.com>
91
92         * MAINTAINERS: Add self.
93
94 2009-03-27  Nick Clifton  <nickc@redhat.com>
95
96         * dwarf.c (display_debug_ranges): Add the base address to the
97         displayed values for 'Begin' and 'End'. 
98
99 2009-03-25  Ryan Mansfield  <rmansfield@qnx.com>
100
101         * readelf.c (process_file_header): Don't report a corrupt string
102         table index if it is zero.
103
104 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
105
106         * dwarf.c (dwarf_regnames): Moved before frame_need_space.
107         (dwarf_regnames_count): Likewise.
108         (frame_need_space): Return int.
109         (display_debug_frames): Check invalid registers.
110
111 2009-03-19  H.J. Lu  <hongjiu.lu@intel.com>
112
113         * readelf.c (debug_apply_relocations): Check relocations
114         against STT_SECTION symbol.
115
116 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
117
118         * readelf.c (debug_apply_relocations): Allow relocations
119         against function symbols.
120
121 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
122
123         * sysdep.h: Include alloca-conf.h instead of config.h and remove
124         existing #if's handling alloca.
125         * Makefile.am: Run "make dep-am".
126         * Makefile.in: Regenerate.
127
128 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
129
130         * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
131         * configure.in: Likewise.
132         * configure: Regenerate.
133
134 2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>
135
136         PR binutils/9945
137         * objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
138
139 2009-03-11  Chris Demetriou  <cgd@google.com>
140
141         * ar.c (deterministic): New global variable.
142         (main): Recognize new 'D' option, which enables 'deterministic mode'.
143         (usage): Document new 'D' option.
144         (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
145         flags if deterministic mode was requested.
146         * doc/binutils.texi (ar): Document deterministic mode ('D' option).
147
148 2009-03-09  H.J. Lu  <hongjiu.lu@intel.com>
149
150         PR binutils/9933
151         * objcopy.c (filter_symbols): Properly handle common symbols
152         in relocatable file.
153
154 2009-03-06  Nick Clifton  <nickc@redhat.com>
155
156         * po/es.po: Updated Spanish translation.
157
158 2009-03-05  Nick Clifton  <nickc@redhat.com>
159
160         * objdump.c (disassemble_section): If the computed next offset is
161         not beyond the current offset then just continue to the end.
162
163 2009-03-04  Tristan Gingold  <gingold@adacore.com>
164
165         * MAINTAINERS: Add myself as VMS maintainer.
166
167 2009-03-03  Nick Clifton  <nickc@redhat.com>
168
169         * readelf.c: Update formatting.
170
171 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
172
173         * Makefile.am: Run "make dep-am".
174         * Makefile.in: Regenerate.
175
176 2009-03-03  Alan Modra  <amodra@bigpond.net.au>
177
178         * objdump.c (disassemble_section): Mask address before sign extending.
179
180 2009-03-02  Sebastian Biallas  <sb@biallas.net>
181
182         * ieee.c (parse_ieee_ty): Add support for undocumented 'v' type.
183         (parse_ieee_bb): Set the filename if it has not already been
184         discovered.
185
186 2009-03-02  Cary Coutant  <ccoutant@google.com>
187
188         * readelf.c (adjust_relative_path): New function.
189         (struct archive_info): New type.
190         (setup_archive): New function.
191         (release_archive): New function.
192         (setup_nested_archive): New function.
193         (get_archive_member_name): New function.
194         (get_archive_member_name_at): New function.
195         (make_qualified_name): New function.
196         (process_archive): Factor out code for reading archive index and
197         long filename table to setup_archive.  Add support for thin archives.
198
199 2009-03-02  Nick Clifton  <nickc@redhat.com>
200
201         * po/sk.po: Updated Slovak translation.
202
203 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
204
205         * configure: Regenerate.
206
207 2009-02-23  Cary Coutant <ccoutant@google.com>
208
209         * objdump.c (load_specific_debug_section): New function, from
210         load_debug_section.
211         (load_debug_section): Use load_specific_debug_section.
212         (dump_dwarf_section): Likewise.
213
214 2009-02-23  Cary Coutant <ccoutant@google.com>
215
216         * readelf.c (parse_args): Select all sections explicitly for -w.
217
218 2009-02-09  Kai Tietz  <kai.tietz@onevision.com>
219
220         * windres.c (set_endianess): Copy name without leading '-'.
221
222 2009-02-09  Tristan Gingold  <gingold@adacore.com>
223
224         * NEWS: Mention feature match between objdump and readelf for dumping
225         dwarf info.
226
227         * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
228         objdump.
229
230         * objdump.c (usage): Update documentation for -W/--dwarf.
231         (enum option_values): Add OPTION_DWARF.
232         (long_options): --dwarf can accept arguments.
233         (dump_dwarf_section): Also check enabled field.
234         (main): Option -W can accept arguments, code moved to
235         dwarf.c and call dwarf_select_sections_all instead.
236         * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
237         (parse_args): Move code to...
238         * dwarf.c (dwarf_select_sections_by_letters,
239         dwarf_select_sections_by_names): : ...here (new functions).
240         (do_debug_lines_decoded): Remove and replaced by ...
241         (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
242         (display_debug_lines): Adjust for previous change.
243         (dwarf_select_sections_all): New function.
244         (debug_displays): Add initializer for enabled field.
245         * dwarf.h (do_debug_lines_decoded): Remove.
246         Add prototypes for the new functions.
247         (struct dwarf_section_display): Add enabled field.
248
249 2009-02-06  Nick Clifton  <nickc@redhat.com>
250
251         * po/vi.po: Updated Vietnamese translation.
252
253 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
254
255         * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
256
257 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
258
259         * NEWS: Move --as-needed change to ...
260         * ../ld/NEWS: Here.
261
262 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
263
264         * configure.in: AC_SUBST pdfdir.
265         * Makefile.am: Add install-pdf, install-pdf-am,
266         and install-pdf-recursive targets.
267         * doc/Makefile.am: Define pdf__strip_dir. Add
268         install-pdf and install-pdf-am targets.
269         * po/Make-in: Add install-pdf target.
270         * configure: Regenerate.
271         * Makefile.in: Regenerate.
272         * doc/Makefile.in: Regenerate.
273
274 2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>
275
276         PR binutils/9784
277         * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
278
279         * doc/binutils.texi: Document --prefix=PREFIX and
280         --prefix-strip=LEVEL.
281
282         * objdump.c: Include "filenames.h".
283         (prefix): New.
284         (prefix_strip): Likewise.
285         (prefix_length): Likewise.
286         (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
287         (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
288         (long_options): Likewise.
289         (show_line): Handle prefix and prefix_strip.
290         (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
291
292         * readelf.c (PATH_MAX): Moved to ...
293         * sysdep.h: Here.
294
295 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
296
297         * NEWS: Mention --as-needed change.
298
299 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
300
301         PR 9798
302         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
303         (bfd_get_archive_filename): Constify param.
304         * bucomm.h (bfd_get_archive_filename): Update prototype.
305         * objcopy.c (RETURN_NONFATAL): Delete.
306         (copy_unknown_object): Don't call bfd_get_archive_filename for
307         bfd_nonfatal_message filename, instead just pass bfd.
308         (copy_object): Likewise.
309         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
310         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
311         (setup_bfd_headers): Fix error message.
312
313 2009-01-27  Nick Clifton  <nickc@redhat.com>
314
315         PR 9774
316         * objdump.c (disassemble_section): When the target uses signed
317         addresses make sure that we compute signed values.
318
319 2009-01-27  Nick Clifton  <nickc@redhat.com>
320
321         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
322         maintainers.
323
324 2009-01-26  Nick Clifton  <nickc@redhat.com>
325
326         PR 9766
327         * dlltool.c (xlate): When strip text after the @ sign, look for
328         the last one not the first one.
329
330 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
331
332         * configure.in (commonbfdlib): Delete.
333         * configure: Regenerate.
334
335 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
336
337         Cleanup code related to --identify option.
338
339         * binutils/dlltool.c (file scope): Removed globals identify_ms,
340         identify_member_contains_symname_result,
341         identify_dll_name_list_head, and identify_dll_name_list_tail.
342         Renamed existing typedef dll_name_list_type to
343         dll_name_list_node_type.
344         Added new typedefs dll_name_list_type, symname_search_data_type,
345         and identify_data_type.
346         (identify_append_dll_name_to_list): Renamed to...
347         (dll_name_list_append): ...here.  Changed signature to accept list
348         argument rather than use global.
349         (identify_count_dll_name_list): Renamed to...
350         (dll_name_list_count): ...here.  Changed signature to accept list
351         argument rather than use global.
352         (identify_print_dll_name_list): Renamed to...
353         (dll_name_list_print): ...here.  Changed signature to accept list
354         argument rather than use global.
355         (identify_free_dll_name_list): Renamed to...
356         (dll_name_list_free_contents): ...here.
357         (dll_name_list_free): New function.
358         (dll_name_list_create): New function.
359         (identify_process_section_p): Changed signature to accept
360         ms_style_implib argument rather than use global.
361         (identify_member_contains_symname): Expect incoming void * data to
362         be symname_search_data_type.
363         (identify_dll_for_implib): Use new functions dll_name_list_create
364         and dll_name_list_free.  Use new types symname_search_data_type
365         and identify_data_type to communicate with search routines.
366         (identify_search_section): Expect incoming void * data to be
367         identify_data_type. Use its contents rather than global
368         variables.
369
370 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
371
372         Add --identify-strict option.  Handle ms-style implibs:
373
374         * dlltool.c (file scope): Added new globals identify_ms and
375         identify_strict. New typedef dll_name_list_type, and globals
376         identify_dll_name_list_head and identify_dll_name_list_tail. Added
377         new global identify_member_contains_symname_result.
378         (identify_append_dll_name_to_list): New function.
379         (identify_count_dll_name_list): New function.
380         (identify_print_dll_name_list): New function.
381         (identify_free_dll_name_list): New function.
382         (identify_search_archive): Changed signature to take function
383         pointer to operation to apply to each member, and data to pass on
384         to that function.
385         (identify_search_member): Changed signature to accept user data
386         from caller.
387         (identify_member_contains_symname): New function.
388         (identify_dll_for_implib): Rewrite. Now determines whether implib
389         is ms- or binutils- style, before searching sections for
390         dllname. Allows multiple dllnames.
391         (identify_process_section_p): Search alternate section for dllname
392         when implib is ms-style.
393         (identify_search_section): Add additional conditions to excludes
394         candidate sections from consideration.
395         (usage): Added --identify-strict.
396         (long_options): Added --identify-strict.
397         (main): Handle --identify-strict option.
398         * doc/binutils.texi: Document --identify-strict option.
399         * NEWS: Document --identify and --identify-strict options.
400
401 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
402
403         PR 7034
404         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
405
406 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
407
408         * objdump.c (disassemble_section): Don't assume non-instruction
409         data if object symbol at given address is in different section.
410
411 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
412
413         * dlltool.c (create_for_pep): New.
414         (flush_page): Use create_for_pep instead of using
415         macro DLLTOOL_MX86_64 clause.
416         (generate_idata_ofile): Likewise.
417         (make_one_lib_file): Likewise.
418         (make_head): Likewise.
419         (make_tail): Likewise.
420         (main): Initialize create_for_pep.
421
422 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
423
424         * dlltool.c (use_nul_prefixed_import_tables): New.
425         (make_head): Make prefix leading zero prefix element for
426         idata$4 and idata$5 dependent to new flag.
427         (usage): Add new option  --use-nul-prefixed-import-tables.
428         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
429         (long_options): Add --use-nul-prefixed-import-tables.
430         (main): Likewise.
431         * doc/binutils.texi: Add new option documentation for
432         --use-nul-prefixed-import-tables.
433         * NEWS: Add new option.
434
435 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
436
437         * windres.c (set_endianess): Get architecture name
438         for internal target names like "pe-arm-wince-little".
439         (find_arch_match): New helper.
440         * ChangeLog: Reset it.
441         * ChangeLog-2008: Moved old ChangeLog.
442
443 For older changes see ChangeLog-2008
444 \f
445 Local Variables:
446 mode: change-log
447 left-margin: 8
448 fill-column: 74
449 version-control: never
450 End: