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