PR 9798
[external/binutils.git] / binutils / ChangeLog
1 2009-01-29  Alan Modra  <amodra@bigpond.net.au>
2
3         PR 9798
4         * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
5         (bfd_get_archive_filename): Constify param.
6         * bucomm.h (bfd_get_archive_filename): Update prototype.
7         * objcopy.c (RETURN_NONFATAL): Delete.
8         (copy_unknown_object): Don't call bfd_get_archive_filename for
9         bfd_nonfatal_message filename, instead just pass bfd.
10         (copy_object): Likewise.
11         (copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
12         bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
13         (setup_bfd_headers): Fix error message.
14
15 2009-01-27  Nick Clifton  <nickc@redhat.com>
16
17         PR 9774
18         * objdump.c (disassemble_section): When the target uses signed
19         addresses make sure that we compute signed values.
20
21 2009-01-27  Nick Clifton  <nickc@redhat.com>
22
23         * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
24         maintainers.
25
26 2009-01-26  Nick Clifton  <nickc@redhat.com>
27
28         PR 9766
29         * dlltool.c (xlate): When strip text after the @ sign, look for
30         the last one not the first one.
31
32 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
33
34         * configure.in (commonbfdlib): Delete.
35         * configure: Regenerate.
36
37 2008-01-14  Charles Wilson  <cygwin@cwilson.fastmail.fm>
38
39         Cleanup code related to --identify option.
40
41         * binutils/dlltool.c (file scope): Removed globals identify_ms,
42         identify_member_contains_symname_result,
43         identify_dll_name_list_head, and identify_dll_name_list_tail.
44         Renamed existing typedef dll_name_list_type to
45         dll_name_list_node_type.
46         Added new typedefs dll_name_list_type, symname_search_data_type,
47         and identify_data_type.
48         (identify_append_dll_name_to_list): Renamed to...
49         (dll_name_list_append): ...here.  Changed signature to accept list
50         argument rather than use global.
51         (identify_count_dll_name_list): Renamed to...
52         (dll_name_list_count): ...here.  Changed signature to accept list
53         argument rather than use global.
54         (identify_print_dll_name_list): Renamed to...
55         (dll_name_list_print): ...here.  Changed signature to accept list
56         argument rather than use global.
57         (identify_free_dll_name_list): Renamed to...
58         (dll_name_list_free_contents): ...here.
59         (dll_name_list_free): New function.
60         (dll_name_list_create): New function.
61         (identify_process_section_p): Changed signature to accept
62         ms_style_implib argument rather than use global.
63         (identify_member_contains_symname): Expect incoming void * data to
64         be symname_search_data_type.
65         (identify_dll_for_implib): Use new functions dll_name_list_create
66         and dll_name_list_free.  Use new types symname_search_data_type
67         and identify_data_type to communicate with search routines.
68         (identify_search_section): Expect incoming void * data to be
69         identify_data_type. Use its contents rather than global
70         variables.
71
72 2009-01-13  Charles Wilson  <cygwin@cwilson.fastmail.fm>
73
74         Add --identify-strict option.  Handle ms-style implibs:
75
76         * dlltool.c (file scope): Added new globals identify_ms and
77         identify_strict. New typedef dll_name_list_type, and globals
78         identify_dll_name_list_head and identify_dll_name_list_tail. Added
79         new global identify_member_contains_symname_result.
80         (identify_append_dll_name_to_list): New function.
81         (identify_count_dll_name_list): New function.
82         (identify_print_dll_name_list): New function.
83         (identify_free_dll_name_list): New function.
84         (identify_search_archive): Changed signature to take function
85         pointer to operation to apply to each member, and data to pass on
86         to that function.
87         (identify_search_member): Changed signature to accept user data
88         from caller.
89         (identify_member_contains_symname): New function.
90         (identify_dll_for_implib): Rewrite. Now determines whether implib
91         is ms- or binutils- style, before searching sections for
92         dllname. Allows multiple dllnames. 
93         (identify_process_section_p): Search alternate section for dllname
94         when implib is ms-style.
95         (identify_search_section): Add additional conditions to excludes
96         candidate sections from consideration.
97         (usage): Added --identify-strict.
98         (long_options): Added --identify-strict.
99         (main): Handle --identify-strict option.
100         * doc/binutils.texi: Document --identify-strict option.
101         * NEWS: Document --identify and --identify-strict options.
102
103 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
104
105         PR 7034
106         * doc/binutils.texi (objdump -R): Note effect of -d or -D.
107
108 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
109
110         * objdump.c (disassemble_section): Don't assume non-instruction
111         data if object symbol at given address is in different section.
112
113 2009-01-12  Kai Tietz  <kai.tietz@onevision.com>
114
115         * dlltool.c (create_for_pep): New.
116         (flush_page): Use create_for_pep instead of using
117         macro DLLTOOL_MX86_64 clause.
118         (generate_idata_ofile): Likewise.
119         (make_one_lib_file): Likewise.
120         (make_head): Likewise.
121         (make_tail): Likewise.
122         (main): Initialize create_for_pep.
123
124 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
125
126         * dlltool.c (use_nul_prefixed_import_tables): New.
127         (make_head): Make prefix leading zero prefix element for
128         idata$4 and idata$5 dependent to new flag.
129         (usage): Add new option  --use-nul-prefixed-import-tables.
130         (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
131         (long_options): Add --use-nul-prefixed-import-tables.
132         (main): Likewise.
133         * doc/binutils.texi: Add new option documentation for
134         --use-nul-prefixed-import-tables.
135         * NEWS: Add new option.
136
137 2009-01-06  Kai Tietz  <kai.tietz@onevision.com>
138
139         * windres.c (set_endianess): Get architecture name
140         for internal target names like "pe-arm-wince-little".
141         (find_arch_match): New helper.
142         * ChangeLog: Reset it.
143         * ChangeLog-2008: Moved old ChangeLog.
144
145 For older changes see ChangeLog-2008
146 \f
147 Local Variables:
148 mode: change-log
149 left-margin: 8
150 fill-column: 74
151 version-control: never
152 End: