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