ec0ddcb01709db2d70301915790b05ccdcc12c6f
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2009-02-23 Cary Coutant <ccoutant@google.com>
2
3 * objdump.c (load_specific_debug_section): New function, from
4 load_debug_section.
5 (load_debug_section): Use load_specific_debug_section.
6 (dump_dwarf_section): Likewise.
7
8 2009-02-23 Cary Coutant <ccoutant@google.com>
9
10 * readelf.c (parse_args): Select all sections explicitly for -w.
11
12 2009-02-09 Kai Tietz <kai.tietz@onevision.com>
13
14 * windres.c (set_endianess): Copy name without leading '-'.
15
16 2009-02-09 Tristan Gingold <gingold@adacore.com>
17
18 * NEWS: Mention feature match between objdump and readelf for dumping
19 dwarf info.
20
21 * doc/binutils.texi (objdump): Document -W/--dwarf improvments to
22 objdump.
23
24 * objdump.c (usage): Update documentation for -W/--dwarf.
25 (enum option_values): Add OPTION_DWARF.
26 (long_options): --dwarf can accept arguments.
27 (dump_dwarf_section): Also check enabled field.
28 (main): Option -W can accept arguments, code moved to
29 dwarf.c and call dwarf_select_sections_all instead.
30 * readelf.c (process_section_headers): Remove do_debug_lines_decoded.
31 (parse_args): Move code to...
32 * dwarf.c (dwarf_select_sections_by_letters,
33 dwarf_select_sections_by_names): : ...here (new functions).
34 (do_debug_lines_decoded): Remove and replaced by ...
35 (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros.
36 (display_debug_lines): Adjust for previous change.
37 (dwarf_select_sections_all): New function.
38 (debug_displays): Add initializer for enabled field.
39 * dwarf.h (do_debug_lines_decoded): Remove.
40 Add prototypes for the new functions.
41 (struct dwarf_section_display): Add enabled field.
42
43 2009-02-06 Nick Clifton <nickc@redhat.com>
44
45 * po/vi.po: Updated Vietnamese translation.
46
47 2009-02-03 Sandip Matte <sandip@rmicorp.com>
48
49 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
50
51 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
52
53 * NEWS: Move --as-needed change to ...
54 * ../ld/NEWS: Here.
55
56 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
57
58 * configure.in: AC_SUBST pdfdir.
59 * Makefile.am: Add install-pdf, install-pdf-am,
60 and install-pdf-recursive targets.
61 * doc/Makefile.am: Define pdf__strip_dir. Add
62 install-pdf and install-pdf-am targets.
63 * po/Make-in: Add install-pdf target.
64 * configure: Regenerate.
65 * Makefile.in: Regenerate.
66 * doc/Makefile.in: Regenerate.
67
68 2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
69
70 PR binutils/9784
71 * NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
72
73 * doc/binutils.texi: Document --prefix=PREFIX and
74 --prefix-strip=LEVEL.
75
76 * objdump.c: Include "filenames.h".
77 (prefix): New.
78 (prefix_strip): Likewise.
79 (prefix_length): Likewise.
80 (usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
81 (option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
82 (long_options): Likewise.
83 (show_line): Handle prefix and prefix_strip.
84 (main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
85
86 * readelf.c (PATH_MAX): Moved to ...
87 * sysdep.h: Here.
88
89 2009-01-31 Alan Modra <amodra@bigpond.net.au>
90
91 * NEWS: Mention --as-needed change.
92
93 2009-01-29 Alan Modra <amodra@bigpond.net.au>
94
95 PR 9798
96 * bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
97 (bfd_get_archive_filename): Constify param.
98 * bucomm.h (bfd_get_archive_filename): Update prototype.
99 * objcopy.c (RETURN_NONFATAL): Delete.
100 (copy_unknown_object): Don't call bfd_get_archive_filename for
101 bfd_nonfatal_message filename, instead just pass bfd.
102 (copy_object): Likewise.
103 (copy_archive, copy_file): Likewise. Expand RETURN_NONFATAL. On
104 bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
105 (setup_bfd_headers): Fix error message.
106
107 2009-01-27 Nick Clifton <nickc@redhat.com>
108
109 PR 9774
110 * objdump.c (disassemble_section): When the target uses signed
111 addresses make sure that we compute signed values.
112
113 2009-01-27 Nick Clifton <nickc@redhat.com>
114
115 * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
116 maintainers.
117
118 2009-01-26 Nick Clifton <nickc@redhat.com>
119
120 PR 9766
121 * dlltool.c (xlate): When strip text after the @ sign, look for
122 the last one not the first one.
123
124 2009-01-16 Alan Modra <amodra@bigpond.net.au>
125
126 * configure.in (commonbfdlib): Delete.
127 * configure: Regenerate.
128
129 2008-01-14 Charles Wilson <cygwin@cwilson.fastmail.fm>
130
131 Cleanup code related to --identify option.
132
133 * binutils/dlltool.c (file scope): Removed globals identify_ms,
134 identify_member_contains_symname_result,
135 identify_dll_name_list_head, and identify_dll_name_list_tail.
136 Renamed existing typedef dll_name_list_type to
137 dll_name_list_node_type.
138 Added new typedefs dll_name_list_type, symname_search_data_type,
139 and identify_data_type.
140 (identify_append_dll_name_to_list): Renamed to...
141 (dll_name_list_append): ...here. Changed signature to accept list
142 argument rather than use global.
143 (identify_count_dll_name_list): Renamed to...
144 (dll_name_list_count): ...here. Changed signature to accept list
145 argument rather than use global.
146 (identify_print_dll_name_list): Renamed to...
147 (dll_name_list_print): ...here. Changed signature to accept list
148 argument rather than use global.
149 (identify_free_dll_name_list): Renamed to...
150 (dll_name_list_free_contents): ...here.
151 (dll_name_list_free): New function.
152 (dll_name_list_create): New function.
153 (identify_process_section_p): Changed signature to accept
154 ms_style_implib argument rather than use global.
155 (identify_member_contains_symname): Expect incoming void * data to
156 be symname_search_data_type.
157 (identify_dll_for_implib): Use new functions dll_name_list_create
158 and dll_name_list_free. Use new types symname_search_data_type
159 and identify_data_type to communicate with search routines.
160 (identify_search_section): Expect incoming void * data to be
161 identify_data_type. Use its contents rather than global
162 variables.
163
164 2009-01-13 Charles Wilson <cygwin@cwilson.fastmail.fm>
165
166 Add --identify-strict option. Handle ms-style implibs:
167
168 * dlltool.c (file scope): Added new globals identify_ms and
169 identify_strict. New typedef dll_name_list_type, and globals
170 identify_dll_name_list_head and identify_dll_name_list_tail. Added
171 new global identify_member_contains_symname_result.
172 (identify_append_dll_name_to_list): New function.
173 (identify_count_dll_name_list): New function.
174 (identify_print_dll_name_list): New function.
175 (identify_free_dll_name_list): New function.
176 (identify_search_archive): Changed signature to take function
177 pointer to operation to apply to each member, and data to pass on
178 to that function.
179 (identify_search_member): Changed signature to accept user data
180 from caller.
181 (identify_member_contains_symname): New function.
182 (identify_dll_for_implib): Rewrite. Now determines whether implib
183 is ms- or binutils- style, before searching sections for
184 dllname. Allows multiple dllnames.
185 (identify_process_section_p): Search alternate section for dllname
186 when implib is ms-style.
187 (identify_search_section): Add additional conditions to excludes
188 candidate sections from consideration.
189 (usage): Added --identify-strict.
190 (long_options): Added --identify-strict.
191 (main): Handle --identify-strict option.
192 * doc/binutils.texi: Document --identify-strict option.
193 * NEWS: Document --identify and --identify-strict options.
194
195 2009-01-13 Alan Modra <amodra@bigpond.net.au>
196
197 PR 7034
198 * doc/binutils.texi (objdump -R): Note effect of -d or -D.
199
200 2009-01-13 Alan Modra <amodra@bigpond.net.au>
201
202 * objdump.c (disassemble_section): Don't assume non-instruction
203 data if object symbol at given address is in different section.
204
205 2009-01-12 Kai Tietz <kai.tietz@onevision.com>
206
207 * dlltool.c (create_for_pep): New.
208 (flush_page): Use create_for_pep instead of using
209 macro DLLTOOL_MX86_64 clause.
210 (generate_idata_ofile): Likewise.
211 (make_one_lib_file): Likewise.
212 (make_head): Likewise.
213 (make_tail): Likewise.
214 (main): Initialize create_for_pep.
215
216 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
217
218 * dlltool.c (use_nul_prefixed_import_tables): New.
219 (make_head): Make prefix leading zero prefix element for
220 idata$4 and idata$5 dependent to new flag.
221 (usage): Add new option --use-nul-prefixed-import-tables.
222 (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
223 (long_options): Add --use-nul-prefixed-import-tables.
224 (main): Likewise.
225 * doc/binutils.texi: Add new option documentation for
226 --use-nul-prefixed-import-tables.
227 * NEWS: Add new option.
228
229 2009-01-06 Kai Tietz <kai.tietz@onevision.com>
230
231 * windres.c (set_endianess): Get architecture name
232 for internal target names like "pe-arm-wince-little".
233 (find_arch_match): New helper.
234 * ChangeLog: Reset it.
235 * ChangeLog-2008: Moved old ChangeLog.
236
237 For older changes see ChangeLog-2008
238 \f
239 Local Variables:
240 mode: change-log
241 left-margin: 8
242 fill-column: 74
243 version-control: never
244 End:
This page took 0.034666 seconds and 4 git commands to generate.