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